Hi, Yuri
    After I used LD_PRELOAD=libasan.so.1 before the process started, those 
errors at the top post I mentioned gone. A little confused, do we have to 
use LD_PRELOAD to preload libasan.so before the process start even I've 
used Gcc Asan compiled the lib of this process? And why?

在 2014年8月8日星期五UTC+8下午12时32分07秒,Yuri Gribov写道:
>
> > libasan.so.1 is ahead of libc.so, 
> > And I think the other libs couldn't link the libasan.so.1 except this 
> recompiled one, 
> > so the interceptors not work for them. Am I right? 
>
> No, that's not how symbol resolution works on Linux systems. As I 
> mentioned, interception is done globally. You'll probably want to 
> check Drepper's article on this 
> (https://software.intel.com/sites/default/files/m/a/1/e/dsohowto.pdf). 
>
> -Y 
>

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to