diff options
author | hexcoder- <heiko@hexco.de> | 2021-02-13 13:31:17 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2021-02-13 13:31:17 +0100 |
commit | 385312c65858695b55607ccd376fb5ea8f83a688 (patch) | |
tree | 6e893ca5b8134719da37eb93f6c7d7b4510cceb2 /src | |
parent | 756206e4d710b954759eaa97c50940825eff39f7 (diff) | |
download | afl++-385312c65858695b55607ccd376fb5ea8f83a688.tar.gz |
fix issue #732 afl-cmin and afl-showmap should support '-f'
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-showmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c index c424cdf3..2e421065 100644 --- a/src/afl-showmap.c +++ b/src/afl-showmap.c @@ -1013,7 +1013,6 @@ int main(int argc, char **argv_orig, char **envp) { if (in_dir) { - if (at_file) { PFATAL("Options -A and -i are mutually exclusive"); } detect_file_args(argv + optind, "", &fsrv->use_stdin); } else { @@ -1169,7 +1168,7 @@ int main(int argc, char **argv_orig, char **envp) { } - stdin_file = + stdin_file = at_file ? strdup(at_file) : alloc_printf("%s/.afl-showmap-temp-%u", use_dir, (u32)getpid()); unlink(stdin_file); atexit(at_exit_handler); |