On Wed, Feb 5, 2014 at 4:06 PM, <[email protected]> wrote: > Hi, > > Is there anyway to build a shared object with asan support and load this > in a non-asan executable? >
Short answer -- no. > > The third party executable has support for loading shared objects to > provide extra functionality but it is not built with asan; this results in > an undefined symbol error. > > A similar thread previously addressed this point with regard to python and > the conclusion was to rebuild python with asan. Unfortunately this is not > an option; is there any work around? > Correct. The best option with python is to rebuild python with asan. 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. --kcc > > Thanks, > > Mark > > > > > -- > 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. > -- 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.
