mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 18:18:07 +00:00
fix
This commit is contained in:
@ -183,7 +183,7 @@ static u8 _is_sancov;
|
|||||||
|
|
||||||
/* Debug? */
|
/* Debug? */
|
||||||
|
|
||||||
static u32 __afl_debug;
|
/*static*/ u32 __afl_debug;
|
||||||
|
|
||||||
/* Already initialized markers */
|
/* Already initialized markers */
|
||||||
|
|
||||||
|
@ -298,7 +298,8 @@ __attribute__((weak)) int main(int argc, char **argv) {
|
|||||||
"option\n"
|
"option\n"
|
||||||
"===================================================================\n",
|
"===================================================================\n",
|
||||||
argv[0], argv[0]);
|
argv[0], argv[0]);
|
||||||
if (strncmp(argv[1], "-h", 2) == 0 || strcmp(argv[1], "--help") == 0) {
|
if (argc == 2 && strncmp(argv[1], "-h", 2) == 0 ||
|
||||||
|
strcmp(argv[1], "--help") == 0) {
|
||||||
|
|
||||||
exit(0);
|
exit(0);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user