>Do you mean Android? ARM Linux should be 100% similar to x86 Linux. 
Yes, I mean Android. I am using Asan enabled GCC android toolchain now.

>GCC arranges library order for you when you link with 
>-fsanitize=address. 
Does this mean when I use Asan enabled GCC android toolchain, pass 
-fsanitize=address
to the LD_FLAGS,  the GCC can arranges lib order for me? Or not because of 
Android have something special?


在 2014年7月29日星期二UTC+8下午2时22分02秒,Yuri Gribov写道:
>
> On Tue, Jul 29, 2014 at 4:58 AM, ji wang <[email protected] 
> <javascript:>> 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.

Reply via email to