[PATCH] D69576: [sanitizer_common] Create max_allocation_size_mb flag.
Matt Morehouse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 29 11:23:15 PDT 2019
morehouse created this revision.
morehouse added reviewers: kcc, eugenis.
Herald added projects: Sanitizers, LLVM.
Herald added a subscriber: Sanitizers.
The flag allows the user to specify a maximum allocation size that the
sanitizers will honor. Any larger allocations will return nullptr or
crash depending on allocator_may_return_null.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69576
Files:
compiler-rt/lib/asan/asan_allocator.cpp
compiler-rt/lib/lsan/lsan_allocator.cpp
compiler-rt/lib/msan/msan_allocator.cpp
compiler-rt/lib/sanitizer_common/sanitizer_flags.inc
compiler-rt/lib/tsan/rtl/tsan_mman.cpp
compiler-rt/test/sanitizer_common/TestCases/max_allocation_size.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69576.226943.patch
Type: text/x-patch
Size: 12985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191029/3cbb8e5e/attachment.bin>
More information about the llvm-commits
mailing list