code cleanup and documented secret cmdline option

This commit is contained in:
van Hauser
2019-07-18 12:54:19 +02:00
parent 5fa19f2801
commit 5b2cb426be
2 changed files with 5 additions and 5 deletions

6
TODO
View File

@ -1,6 +1,8 @@
Roadmap 2.53d: Roadmap 2.53d:
============== ==============
- indent all the code - indent all the code: clang-format -style=Google
- README.md
- better defaults: - better defaults:
* laf-intel activated, needs deactiatation * laf-intel activated, needs deactiatation
@ -19,7 +21,7 @@ gcc_plugin:
- laf-intel - laf-intel
- neverZero - neverZero
unit testing / large testcase campaign unit testing / or large testcase campaign
Roadmap 2.54d: Roadmap 2.54d:

View File

@ -640,7 +640,6 @@ int select_algorithm(void) {
} }
double sele = ((double)(random()%10000)*0.0001); double sele = ((double)(random()%10000)*0.0001);
//SAYF("select : %f\n",sele);
j_puppet = 0; j_puppet = 0;
for (i_puppet = 0; i_puppet < operator_num; i_puppet++) { for (i_puppet = 0; i_puppet < operator_num; i_puppet++) {
if (unlikely(i_puppet == 0)) { if (unlikely(i_puppet == 0)) {
@ -4146,7 +4145,6 @@ static void maybe_delete_out_dir(void) {
/* And now, for some finishing touches. */ /* And now, for some finishing touches. */
//fn = alloc_printf("%s/.cur_input", tmp_dir);
if (file_extension) { if (file_extension) {
fn = alloc_printf("%s/.cur_input.%s", out_dir, file_extension); fn = alloc_printf("%s/.cur_input.%s", out_dir, file_extension);
} else { } else {
@ -11270,6 +11268,7 @@ static void usage(u8* argv0) {
"Other stuff:\n" "Other stuff:\n"
" -T text - text banner to show on the screen\n" " -T text - text banner to show on the screen\n"
" -M / -S id - distributed mode (see parallel_fuzzing.txt)\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" " -C - crash exploration mode (the peruvian rabbit thing)\n"
" -e ext - File extension for the temporarily generated test case\n\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) { EXP_ST void setup_stdio_file(void) {
//u8* fn = alloc_printf("%s/.cur_input", tmp_dir);
u8* fn; u8* fn;
if (file_extension) { if (file_extension) {
fn = alloc_printf("%s/.cur_input.%s", out_dir, file_extension); fn = alloc_printf("%s/.cur_input.%s", out_dir, file_extension);