aboutsummaryrefslogtreecommitdiff
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
parent5fa19f28012e7f3ccb4fdc04d9a33d9d35bed2c9 (diff)
downloadafl++-5b2cb426beb7af233b54d46c23750b96e69590a5.tar.gz
code cleanup and documented secret cmdline option
-rw-r--r--TODO6
-rw-r--r--afl-fuzz.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/TODO b/TODO
index 87c7c379..d89524c2 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,8 @@
Roadmap 2.53d:
==============
- - indent all the code
+ - indent all the code: clang-format -style=Google
+
+ - README.md
- better defaults:
* laf-intel activated, needs deactiatation
@@ -19,7 +21,7 @@ gcc_plugin:
- laf-intel
- neverZero
-unit testing / large testcase campaign
+unit testing / or large testcase campaign
Roadmap 2.54d:
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);