diff options
| author | Kostya Serebryany <kcc@google.com> | 2016-05-06 23:38:07 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2016-05-06 23:38:07 +0000 |
| commit | 8b8f7a3cda6f33b19fb7880c35652e0be9d26104 (patch) | |
| tree | 576c736549c4602f010fb50e518535be04f910dc /llvm/docs/LibFuzzer.rst | |
| parent | b2e2e21b20ae00a47e931bdb66d2980453e2d717 (diff) | |
| download | bcm5719-llvm-8b8f7a3cda6f33b19fb7880c35652e0be9d26104.tar.gz bcm5719-llvm-8b8f7a3cda6f33b19fb7880c35652e0be9d26104.zip | |
[libFuzzer] enhance -rss_limit_mb and enable by default. Now it will print the OOM reproducer.
llvm-svn: 268821
Diffstat (limited to 'llvm/docs/LibFuzzer.rst')
| -rw-r--r-- | llvm/docs/LibFuzzer.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/docs/LibFuzzer.rst b/llvm/docs/LibFuzzer.rst index d2d02e89939..fb6a10dc6ea 100644 --- a/llvm/docs/LibFuzzer.rst +++ b/llvm/docs/LibFuzzer.rst @@ -201,6 +201,12 @@ The most important command line options are: ``-timeout`` Timeout in seconds, default 1200. If an input takes longer than this timeout, the process is treated as a failure case. +``-rss_limit_mb`` + Memory usage limit in Mb, default 2048. Use 0 to disable the limit. + If an input requires more than this amount of RSS memory to execute, + 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. ``-timeout_exitcode`` Exit code (default 77) to emit when terminating due to timeout, when ``-abort_on_timeout`` is not set. |

