Thanks Kcc and Yuri,

Running on Linux.

I have been using clang, I will try gcc and LD_PRELOAD.

Thanks,

mjoc


On Wednesday, 5 February 2014 14:25:34 UTC, Yuri Gribov wrote:
>
> >> Is there anyway to build a shared object with asan support and load 
> this 
> >> in a non-asan executable? 
>
> Which platform are we talking about? 
>
> > For your case, you may try to build asan run time as a shared library 
> and 
> > LD_PRELOAD it into your process. 
> > But this is really tricky and I don't recommend this unless you are 
> > desperate. 
>
> FYI this works out-of-the-box with GCC ASan (which allows dynamic ASan 
> runtime). 
>
> -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/groups/opt_out.

Reply via email to