srlabs / ziggy

A multi-fuzzer management utility for all of your Rust fuzzing needs 🧑‍🎤
Apache License 2.0
59 stars 6 forks source link

Allow setting a custom memory limit during coverage report generation #20

Open stze opened 1 year ago

stze commented 1 year ago

Allow setting -rss_limit_mb via the CLI

louismerlin commented 1 year ago

For honggfuzz:

 --rlimit_rss VALUE
    Per process RLIMIT_RSS in MiB (default: 0 [no limit]). It will also set *SAN's soft_rss_limit_mb if used

For AFL++:

  -m megs       - memory limit for child process (0 MB, 0 = no limit [default])

Should be simple to add, I only need to make sure to do the conversion between MB and MiB.