[llvm-dev] Using Multiple Sanitizers on one program

Yury Gribov via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 21 05:22:22 PDT 2016


On 03/21/2016 01:48 PM, Nathan Schagen via llvm-dev wrote:
> Hi LLVM people,
>
> Not sure whether this is the best place to ask this.
>
> Given the source of a program, I would like to detect both uninitialized
> reads and out-of-bounds memory accesses. The latter can be done with the
> Address Sanitizer (ASan) and the first using the Memory Sanitizer (MSan).
>
> Is there a way to use both at the same time? The --fsanitize option only
> seems support one of these. What is the reason for this restriction?

Hi Nathan,

This has been raised several times and conclusion is that this is 
unlikely to happen due to design limitations. The only possible 
combination is ASan+UBSan.

> Kind regards,
> Nathan
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>



More information about the llvm-dev mailing list