aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-02-25 21:58:17 +0100
committerhexcoder- <heiko@hexco.de>2020-02-25 21:58:17 +0100
commit0e1d306b2e35f415a113ed974235621ea245d7d3 (patch)
tree2ca768e2fb1bd7306b804aaac61da8383579d17a
parent70c208ead70ccf963dcb813dcae323c847a90ceb (diff)
downloadafl++-0e1d306b2e35f415a113ed974235621ea245d7d3.tar.gz
beautifying man pages
-rwxr-xr-xafl-whatsup7
-rw-r--r--src/afl-showmap.c11
-rw-r--r--src/afl-tmin.c8
3 files changed, 13 insertions, 13 deletions
diff --git a/afl-whatsup b/afl-whatsup
index 6156ba11..cc45423f 100755
--- a/afl-whatsup
+++ b/afl-whatsup
@@ -18,12 +18,13 @@
# instances of afl-fuzz.
#
-echo "status check tool for afl-fuzz by Michal Zalewski"
+echo "$0 status check tool for afl-fuzz by Michal Zalewski"
echo
test "$1" = "-h" && {
- echo $0
+ echo $0 [-s] output_directory
echo
- echo afl-whatsup has no command line options
+ echo Options:
+ echo -s - skip details and output summary results only
echo
exit 1
}
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 2f6a263f..c8c35525 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -622,11 +622,11 @@ static void usage(u8* argv0) {
SAYF(
"\n%s [ options ] -- /path/to/target_app [ ... ]\n\n"
- "Required parameters:\n\n"
+ "Required parameters:\n"
" -o file - file to write the trace data to\n\n"
- "Execution control settings:\n\n"
+ "Execution control settings:\n"
" -t msec - timeout for each run (none)\n"
" -m megs - memory limit for child process (%d MB)\n"
@@ -636,7 +636,7 @@ static void usage(u8* argv0) {
" (Not necessary, here for consistency with other afl-* "
"tools)\n\n"
- "Other settings:\n\n"
+ "Other settings:\n"
" -i dir - process all files in this directory, -o must be a "
"directory\n"
@@ -647,9 +647,8 @@ static void usage(u8* argv0) {
" -c - allow core dumps\n\n"
"This tool displays raw tuple data captured by AFL instrumentation.\n"
- "For additional help, consult %s/README.md.\n\n" cRST,
-
- argv0, MEM_LIMIT, doc_path);
+ "For additional help, consult %s/README.md.\n"
+ , argv0, MEM_LIMIT, doc_path);
exit(1);
diff --git a/src/afl-tmin.c b/src/afl-tmin.c
index 1b05a6c2..1886fe68 100644
--- a/src/afl-tmin.c
+++ b/src/afl-tmin.c
@@ -955,12 +955,12 @@ static void usage(u8* argv0) {
SAYF(
"\n%s [ options ] -- /path/to/target_app [ ... ]\n\n"
- "Required parameters:\n\n"
+ "Required parameters:\n"
" -i file - input test case to be shrunk by the tool\n"
" -o file - final output location for the minimized data\n\n"
- "Execution control settings:\n\n"
+ "Execution control settings:\n"
" -f file - input file read by the tested program (stdin)\n"
" -t msec - timeout for each run (%d ms)\n"
@@ -968,11 +968,11 @@ static void usage(u8* argv0) {
" -Q - use binary-only instrumentation (QEMU mode)\n"
" -U - use unicorn-based instrumentation (Unicorn mode)\n"
" -W - use qemu-based instrumentation with Wine (Wine "
- "mode)\n\n"
+ "mode)\n"
" (Not necessary, here for consistency with other afl-* "
"tools)\n\n"
- "Minimization settings:\n\n"
+ "Minimization settings:\n"
" -e - solve for edge coverage only, ignore hit counts\n"
" -x - treat non-zero exit codes as crashes\n\n"