viralcode / address-sanitizer

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

asan false positives caused by dlcose #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. application dlopens foo.so
2. asan registers all globals from foo.so
3. application closes foo.so
4. application mmaps some memory to the location where foo.so was before
5. application starts using this mmaped memory, but asan still thinks there are 
globals. 
6. BOOM

I'll create a unit test and then a fix. 

Original issue reported on code.google.com by konstant...@gmail.com on 15 Dec 2011 at 6:51

GoogleCodeExporter commented 9 years ago
This is now fixed in LLVM trunk (146688). 

Original comment by konstant...@gmail.com on 15 Dec 2011 at 10:07