> I think those interceptors means that we define the same name functions as > libc, like memset, and preload it before libc, so the instrumented code call > the asan memset not the libc memset.
Right. > So the preload decides whether call asan memset or not, and Gcc Asan only > preload the libasan.so for the instrumented lib not using LD_PRELOAD for the > entire process, so a little confused, am I wrong? No, LD_PRELOAD setting is "global" i.e. it affects executable and all loaded libraries. -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.
