about summary refs log tree commit diff
path: root/afl-fuzz.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-07-18 12:54:19 +0200
committervan Hauser <vh@thc.org>2019-07-18 12:54:19 +0200
commit5b2cb426beb7af233b54d46c23750b96e69590a5 (patch)
tree2b6bd090e929c5e594257d7678ea2ab62987326e /afl-fuzz.c
parent5fa19f28012e7f3ccb4fdc04d9a33d9d35bed2c9 (diff)
downloadafl++-5b2cb426beb7af233b54d46c23750b96e69590a5.tar.gz
code cleanup and documented secret cmdline option
Diffstat (limited to 'afl-fuzz.c')
-rw-r--r--afl-fuzz.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/afl-fuzz.c b/afl-fuzz.c
index 1bf3d11f..87ad814a 100644
--- a/afl-fuzz.c
+++ b/afl-fuzz.c
@@ -640,7 +640,6 @@ int select_algorithm(void) {
   }
 
   double sele = ((double)(random()%10000)*0.0001);
-  //SAYF("select : %f\n",sele);
   j_puppet = 0;
   for (i_puppet = 0; i_puppet < operator_num; i_puppet++) {
       if (unlikely(i_puppet == 0)) {
@@ -4146,7 +4145,6 @@ static void maybe_delete_out_dir(void) {
 
   /* And now, for some finishing touches. */
 
-  //fn = alloc_printf("%s/.cur_input", tmp_dir);
   if (file_extension) {
     fn = alloc_printf("%s/.cur_input.%s", out_dir, file_extension);
   } else {
@@ -11270,6 +11268,7 @@ static void usage(u8* argv0) {
        "Other stuff:\n"
        "  -T text       - text banner to show on the screen\n"
        "  -M / -S id    - distributed mode (see parallel_fuzzing.txt)\n"
+       "  -B bitmap.txt - mutate a specific test case, use the out/fuzz_bitmap file\n"
        "  -C            - crash exploration mode (the peruvian rabbit thing)\n"
        "  -e ext        - File extension for the temporarily generated test case\n\n"
 
@@ -11436,7 +11435,6 @@ static void setup_cmdline_file(char** argv) {
 
 EXP_ST void setup_stdio_file(void) {
 
-  //u8* fn = alloc_printf("%s/.cur_input", tmp_dir);
   u8* fn;
   if (file_extension) {
     fn = alloc_printf("%s/.cur_input.%s", out_dir, file_extension);