cmplog check_binary
MODIFY
src/afl-fuzz.c
src/afl-fuzz.c
@@ -204,7 +204,6 @@ int main(int argc, char** argv) {
cmplog_mode = 1;
cmplog_binary = ck_strdup(optarg);
- // TODO check cmplog_binary validity
break;
}
@@ -868,6 +867,8 @@ int main(int argc, char** argv) {
if (!out_file) setup_stdio_file();
+ if (cmplog_binary)
+ check_binary(cmplog_binary);
check_binary(argv[optind]);
start_time = get_cur_time();

cmplog check_binary