Merge pull request #802 from MarcoFalke/patch-1

doc: Clarify memory limits in Readme
This commit is contained in:
van Hauser 2021-03-10 22:39:05 +01:00 committed by GitHub
commit cb0fe044dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -546,12 +546,10 @@ If you need to stop and re-start the fuzzing, use the same command line options
mutation mode!) and switch the input directory with a dash (`-`): mutation mode!) and switch the input directory with a dash (`-`):
`afl-fuzz -i - -o output -- bin/target -d @@` `afl-fuzz -i - -o output -- bin/target -d @@`
Note that afl-fuzz enforces memory limits to prevent the system to run out Memory limits are not enforced by afl-fuzz by default and the system may run
of memory. By default this is 50MB for a process. If this is too little for out of memory. You can decrease the memory with the `-m` option, the value is
the target (which you can usually see by afl-fuzz bailing with the message in MB. If this is too small for the target, you can usually see this by
that it could not connect to the forkserver), then you can increase this afl-fuzz bailing with the message that it could not connect to the forkserver.
with the `-m` option, the value is in MB. To disable any memory limits
(beware!) set `-m none` - which is usually required for ASAN compiled targets.
Adding a dictionary is helpful. See the directory [dictionaries/](dictionaries/) if Adding a dictionary is helpful. See the directory [dictionaries/](dictionaries/) if
something is already included for your data format, and tell afl-fuzz to load something is already included for your data format, and tell afl-fuzz to load