Skip to content

Commit cf61db1

Browse files
authored
Merge pull request #785 from pabuhler/fuzzer-args
ignore "--" argument in fuzzer
2 parents 091b489 + d734e00 commit cf61db1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

fuzzer/fuzzer.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -705,10 +705,6 @@ int LLVMFuzzerInitialize(int *argc, char ***argv)
705705
g_no_mmap = true;
706706
}
707707
#endif
708-
else if (strncmp("--", _argv[i], 2) == 0) {
709-
printf("Invalid argument: %s\n", _argv[i]);
710-
exit(0);
711-
}
712708
}
713709

714710
if (no_custom_event_handler == false) {

0 commit comments

Comments
 (0)