diff options
author | van Hauser <vh@thc.org> | 2019-09-04 12:14:35 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2019-09-04 12:14:35 +0200 |
commit | 52bfd1fc3d6c1e6610469dbddad19aacb4e7f848 (patch) | |
tree | b5de5e1cbcdc096a7d57e82aa0edb89d23baa26d /src/afl-gotcpu.c | |
parent | a8d96967c426f031d61dd91287906a28975334fb (diff) | |
download | afl++-52bfd1fc3d6c1e6610469dbddad19aacb4e7f848.tar.gz |
added man pages
Diffstat (limited to 'src/afl-gotcpu.c')
-rw-r--r-- | src/afl-gotcpu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/afl-gotcpu.c b/src/afl-gotcpu.c index a39659bb..85864c6f 100644 --- a/src/afl-gotcpu.c +++ b/src/afl-gotcpu.c @@ -127,6 +127,14 @@ repeat_loop: int main(int argc, char** argv) { + if (argc > 1) { + printf("afl-gotcpu" VERSION " by <lcamtuf@google.com>\n"); + printf("\n%s \n\n", argv[0]); + printf("afl-gotcpu does not have command line options\n"); + printf("afl-gotcpu prints out which CPUs are available\n"); + return -1; + } + #ifdef HAVE_AFFINITY u32 cpu_cnt = sysconf(_SC_NPROCESSORS_ONLN), idle_cpus = 0, maybe_cpus = 0, i; |