This is an archive of the discontinued LLVM Phabricator instance.

[LSan] Detect dynamic loader by its base address.
ClosedPublic

Authored by alekseyshl on Jun 2 2017, 6:37 PM.

Details

Summary

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.

Event Timeline

alekseyshl created this revision.Jun 2 2017, 6:37 PM
eugenis accepted this revision.Jun 2 2017, 6:41 PM
This revision is now accepted and ready to land.Jun 2 2017, 6:41 PM
This revision was automatically updated to reflect the committed changes.