We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d4f2da commit 13429d2Copy full SHA for 13429d2
afl-cmin
@@ -403,13 +403,13 @@ BEGIN {
403
retval = system( "AFL_CMIN_ALLOW_ANY=1 \""showmap"\" -m "mem_limit" -t "timeout" -o \""trace_dir"\" -Z "extra_par" -i \""in_dir"\" -- \""target_bin"\" "prog_args_string" </dev/null")
404
}
405
406
- if (retval > 127) {
407
- retval = retval - 128
408
409
+ if (retval) {
+ print "[!]Exit code != 0 received from afl-showmap, terminating..."
+
+ if (!ENVIRON["AFL_KEEP_TRACES"]) {
410
+ system("rm -rf "trace_dir" 2>/dev/null")
411
- printf "[!]Signal %d received, terminating...\n", retval
412
- exit 1
+ exit retval
413
414
415
#######################################################
0 commit comments