[PATCH] D55874: [asan] Support running without /proc.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 18 18:26:03 PST 2018
eugenis created this revision.
eugenis added reviewers: pcc, vitalybuka.
Herald added a subscriber: kubamracek.
This patch lets ASan run when /proc is not accessible (ex. not mounted
yet). It includes a special test-only flag that emulates this condition
in an unpriviledged process.
https://reviews.llvm.org/D55874
Files:
compiler-rt/lib/asan/asan_linux.cc
compiler-rt/lib/asan/asan_thread.cc
compiler-rt/lib/hwasan/hwasan_thread.cc
compiler-rt/lib/sanitizer_common/sanitizer_flags.inc
compiler-rt/lib/sanitizer_common/sanitizer_linux.cc
compiler-rt/lib/sanitizer_common/sanitizer_linux.h
compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
compiler-rt/lib/sanitizer_common/sanitizer_posix.cc
compiler-rt/lib/sanitizer_common/sanitizer_posix.h
compiler-rt/lib/sanitizer_common/sanitizer_procmaps.h
compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cc
compiler-rt/lib/sanitizer_common/sanitizer_procmaps_common.cc
compiler-rt/lib/sanitizer_common/sanitizer_procmaps_linux.cc
compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cc
compiler-rt/test/asan/TestCases/Posix/no-fd.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55874.178827.patch
Type: text/x-patch
Size: 11665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181219/79db959f/attachment.bin>
More information about the llvm-commits
mailing list