[libFuzzer] extend -rss_limit_mb to crash instantly on a single malloc that exceeds...
authorKostya Serebryany <kcc@google.com>
Wed, 30 Nov 2016 22:39:35 +0000 (22:39 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 30 Nov 2016 22:39:35 +0000 (22:39 +0000)
commit05f7791fbf59e5a19ff79ed1175e7042100da8e8
treeeab47f91a9cf15f815cb14924d9c0c5c32dd324a
parent5cb34077e879c03d460dedad7aaa421bd2bd08a3
[libFuzzer] extend -rss_limit_mb to crash instantly on a single malloc that exceeds the limit

llvm-svn: 288281
llvm/lib/Fuzzer/FuzzerInternal.h
llvm/lib/Fuzzer/FuzzerLoop.cpp
llvm/lib/Fuzzer/test/CMakeLists.txt
llvm/lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp [new file with mode: 0644]
llvm/lib/Fuzzer/test/fuzzer-oom-with-profile.test
llvm/lib/Fuzzer/test/fuzzer-oom.test