clang sanitizers (memory, address, etc)

David Chisnall theraven at FreeBSD.org
Thu Oct 24 09:44:54 UTC 2013


On 24 Oct 2013, at 08:41, squid at peralex.com wrote:

> On 2013-10-23 15:10, David Chisnall wrote:
>> 
>> I had a chat with some of the *san people (mostly from Google Moscow) quite recently.  They've refactored most of the code so it should be fairly obvious where the platform-specific bigs are.  In most cases, it's just some interposition on malloc() and friends, which should be relatively easy to port.
>> 
>> I'd love for us to have this stuff in the base system, and even versions of the base libraries (and programs) compiled to use them.
>> 
> 
> Thanks, I'll have a look. Where can I find the sanitizer runtime library
> code?

The sanitizer runtimes are all part of compiler-rt:

http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/

David



More information about the freebsd-toolchain mailing list