This specifically addresses the Mach-O zero page, which we cannot read from.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 5549 Build 5549: arc lint + arc unit
Paths
| Differential D32044
Don't read non-readable address ranges during lsan pointer scanning ClosedPublic Authored by fjricci on Apr 13 2017, 1:50 PM.
Details Summary This specifically addresses the Mach-O zero page, which we cannot read from.
Diff Detail
Event Timelinealekseyshl added inline comments. This revision now requires changes to proceed.Apr 14 2017, 10:25 AM This revision is now accepted and ready to land.Apr 17 2017, 9:31 AM Closed by commit rL300456: Don't read non-readable address ranges during lsan pointer scanning (authored by fjricci). · Explain WhyApr 17 2017, 9:47 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 95202 lib/lsan/lsan_common_mac.cc
lib/sanitizer_common/sanitizer_common.h
lib/sanitizer_common/sanitizer_common.cc
lib/sanitizer_common/sanitizer_linux_libcdep.cc
lib/sanitizer_common/sanitizer_procmaps_common.cc
lib/sanitizer_common/sanitizer_procmaps_mac.cc
lib/sanitizer_common/sanitizer_win.cc
|
bool readable = phdr->p_flags & PF_R; and use it later