[PATCH] D15049: [asan] Skip all non-shared objects in FindFirstDSOCallback.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 7 11:15:47 PST 2015


eugenis added a comment.

One idea: it looks like we can rely on the fact that the main executable is the first one in dl_iterate_phdr (is it? what about LD_PRELOAD?). If so, you can walk its dynamic section and look for DT_NEEDED records.


http://reviews.llvm.org/D15049





More information about the llvm-commits mailing list