From 026b68c47b3a6196eb8c2fd55b4b37cea4076cce Mon Sep 17 00:00:00 2001 From: van Hauser Date: Mon, 3 Feb 2020 21:29:38 +0100 Subject: -A/-i not together --- src/afl-showmap.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit 1.4.1