gopalshankar / address-sanitizer

Automatically exported from code.google.com/p/address-sanitizer
0 stars 0 forks source link

Add optional support for dynamic runtime #276

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
GCC allows both static and dynamic ASan runtime (dynamic is default) but LLVM 
currently only allows static version. This rules out a rather important 
use-case of sanitized shared library and unsanitized executable (see e.g. 
https://groups.google.com/forum/#!topic/address-sanitizer/XJXOrSvN8vg).

Original issue reported on code.google.com by tetra2...@gmail.com on 19 Mar 2014 at 7:40

GoogleCodeExporter commented 9 years ago
Proposed patches available at
* http://llvm-reviews.chandlerc.com/D3042
* http://llvm-reviews.chandlerc.com/D3043

Original comment by tetra2...@gmail.com on 19 Mar 2014 at 7:41

GoogleCodeExporter commented 9 years ago

Original comment by konstant...@gmail.com on 19 Mar 2014 at 7:46

GoogleCodeExporter commented 9 years ago
Is this done? 

Original comment by konstant...@gmail.com on 14 May 2014 at 1:55

GoogleCodeExporter commented 9 years ago
Yes.

Original comment by tetra2...@gmail.com on 14 May 2014 at 2:44

GoogleCodeExporter commented 9 years ago
Could you please check if 
https://code.google.com/p/address-sanitizer/wiki/AsanAsDso 
needs an update? 

Original comment by konstant...@gmail.com on 14 May 2014 at 2:51

GoogleCodeExporter commented 9 years ago
Should be fine, I updated it after we submitted COMPILER_RT_BUILD_SHARED_ASAN.

Original comment by tetra2...@gmail.com on 14 May 2014 at 3:55