diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-01-06 11:46:23 +0100 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-01-06 11:46:23 +0100 |
commit | b95cd8968d765bf71fffb13e3cdc8d13e24949d1 (patch) | |
tree | cfcd46a3395dd091b8aa48ec665e0df57ccf8b62 /src/afl-common.c | |
parent | 67cbeeb395c7e0aa8820e79c92f5e8e1322f8be0 (diff) | |
parent | e7fc1ef49e8c9d8fa563f321f5e5906ce8fad69d (diff) | |
download | afl++-b95cd8968d765bf71fffb13e3cdc8d13e24949d1.tar.gz |
Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus
Diffstat (limited to 'src/afl-common.c')
-rw-r--r-- | src/afl-common.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/afl-common.c b/src/afl-common.c index ec010c2d..8c2f2b9a 100644 --- a/src/afl-common.c +++ b/src/afl-common.c @@ -9,7 +9,7 @@ Andrea Fioraldi <andreafioraldi@gmail.com> Copyright 2016, 2017 Google Inc. All rights reserved. - Copyright 2019 AFLplusplus Project. All rights reserved. + Copyright 2019-2020 AFLplusplus Project. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -35,7 +35,8 @@ #include <unistd.h> #endif -u8* target_path; /* Path to target binary */ +u8* target_path; /* Path to target binary */ +extern u8 use_stdin; void detect_file_args(char** argv, u8* prog_in) { @@ -78,6 +79,8 @@ void detect_file_args(char** argv, u8* prog_in) { else aa_subst = alloc_printf("%s/%s", cwd, prog_in); + use_stdin = 0; + /* Construct a replacement argv value. */ *aa_loc = 0; |