On Tue, Jul 29, 2014 at 4:58 AM, ji wang <[email protected]> wrote: > Why the asan runtime lib libasan.so.0 is needed before libc.so.6, does linux > have any special env settings?
Like Evgeny mentioned above, you want libasan _before_ libc to be sure that public symbols (malloc, memset, etc.) are properly intercepted by Asan. GCC arranges library order for you when you link with -fsanitize=address. > And on arm platfrom, Do you mean Android? ARM Linux should be 100% similar to x86 Linux. -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.
