diff options
author | Kostya Serebryany <kcc@google.com> | 2017-12-01 22:12:04 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2017-12-01 22:12:04 +0000 |
commit | 1fe1bd128c218a113d2f16f3260122cadd949b91 (patch) | |
tree | a185fddd71409cfea8da91b76e8d9c8d0d76eb74 /docs | |
parent | 55c1b415d451f34c805e617cb161497c22367b73 (diff) |
[libFuzzer] add a flag -malloc_limit_mb
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319590 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LibFuzzer.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/LibFuzzer.rst b/docs/LibFuzzer.rst index a2198f2b5a8..7a105e5ed12 100644 --- a/docs/LibFuzzer.rst +++ b/docs/LibFuzzer.rst @@ -246,6 +246,10 @@ The most important command line options are: the process is treated as a failure case. The limit is checked in a separate thread every second. If running w/o ASAN/MSAN, you may use 'ulimit -v' instead. +``-malloc_limit_mb`` + If non-zero, the fuzzer will exit if the target tries to allocate this + number of Mb with one malloc call. + If zero (default) same limit as rss_limit_mb is applied. ``-timeout_exitcode`` Exit code (default 77) used if libFuzzer reports a timeout. ``-error_exitcode`` |