diff options
author | van Hauser <vh@thc.org> | 2020-05-26 15:57:15 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-05-26 15:57:15 +0200 |
commit | 9dd0b7c6de72100ceaf99bba3b0705f952b36de0 (patch) | |
tree | 2e34711cdc6e463c849432262892459aa59f156b /llvm_mode/README.persistent_mode.md | |
parent | 1cae68dde32abf9c7fe83cb9a91890deba973834 (diff) | |
download | afl++-9dd0b7c6de72100ceaf99bba3b0705f952b36de0.tar.gz |
make examples better
Diffstat (limited to 'llvm_mode/README.persistent_mode.md')
-rw-r--r-- | llvm_mode/README.persistent_mode.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm_mode/README.persistent_mode.md b/llvm_mode/README.persistent_mode.md index b092de54..7aae8faa 100644 --- a/llvm_mode/README.persistent_mode.md +++ b/llvm_mode/README.persistent_mode.md @@ -32,8 +32,7 @@ main() { while (__AFL_LOOP(10000)) { int len = __AFL_FUZZ_TESTCASE_LEN; - - if (len < 8) return 0; // check for a required/useful minimum input length + if (len < 8) continue; // check for a required/useful minimum input length /* Setup function call, e.g. struct target *tmp = libtarget_init() */ /* Call function to be fuzzed, e.g.: */ |