[PATCH] D33859: [LSan] Detect dynamic loader by its base address.

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 2 18:37:50 PDT 2017


alekseyshl created this revision.
Herald added a subscriber: kubamracek.

Whenever possible (Linux + glibc 2.16+), detect dynamic loader module by
its base address, not by the module name matching. The current name
matching approach fails on some configurations.


https://reviews.llvm.org/D33859

Files:
  lib/lsan/lsan_common.cc
  lib/lsan/lsan_common_linux.cc
  lib/sanitizer_common/sanitizer_linux.cc
  lib/sanitizer_common/sanitizer_platform.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33859.101304.patch
Type: text/x-patch
Size: 3773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170603/584274d1/attachment.bin>


More information about the llvm-commits mailing list