File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ function run_fuzzer_config {
32
32
exit 1
33
33
fi
34
34
35
- FUZZER_EXE=" $fuzzer_exe " FUZZER_MODE=$mode FUZZER_TEST_COUNT=$test_count FUZZER_LAUNCHER=" $launcher " sbatch --nodes 1 " experiment/$FUZZER_MACHINE /sbatch_fuzzer.sh"
35
+ # Generate a random seed so we explore a novel part of the state space.
36
+ seed=" $(( 16 #$(openssl rand - hex 4 ) * test_count )) "
37
+
38
+ FUZZER_EXE=" $fuzzer_exe " FUZZER_MODE=$mode FUZZER_TEST_COUNT=$test_count FUZZER_SEED=$seed FUZZER_LAUNCHER=" $launcher " sbatch --nodes 1 " experiment/$FUZZER_MACHINE /sbatch_fuzzer.sh"
36
39
}
37
40
38
41
run_fuzzer_config debug_single single
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ fuzzer_flags=(
18
18
-j${FUZZER_THREADS:- 4}
19
19
-n${FUZZER_TEST_COUNT:- 1000}
20
20
-o${FUZZER_OP_COUNT:- 1000}
21
+ -s${FUZZER_SEED:- 0}
21
22
--extra=" $FUZZER_EXTRA_FLAGS "
22
23
)
23
24
You can’t perform that action at this time.
0 commit comments