diff options
author | van Hauser <vh@thc.org> | 2020-02-03 21:29:38 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-02-03 21:29:38 +0100 |
commit | 026b68c47b3a6196eb8c2fd55b4b37cea4076cce (patch) | |
tree | b7b5dccefbf9f0d078bb1691a6fafea7ab84c781 /src | |
parent | 1775c8a6ff333c25390d4db3a0c57fd6c49de42a (diff) | |
download | afl++-026b68c47b3a6196eb8c2fd55b4b37cea4076cce.tar.gz |
-A/-i not together
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-showmap.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c index 0aa5c158..0fb0ffe0 100644 --- a/src/afl-showmap.c +++ b/src/afl-showmap.c @@ -892,7 +892,12 @@ int main(int argc, char** argv) { } - if (in_dir) at_file = "@@"; + if (in_dir) { + + if (at_file) PFATAL("Options -A and -i are mutually exclusive"); + at_file = "@@"; + + } detect_file_args(argv + optind, at_file); |