beautifying man pages
MODIFY
afl-whatsup
afl-whatsup
# 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
}

MODIFY
src/afl-showmap.c
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);

MODIFY
src/afl-tmin.c
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"

beautifying man pages