use smaller seeds for testing
This commit is contained in:
parent
5b662397be
commit
0d89787728
@ -5,7 +5,7 @@ authors = ["Alwin Berger <alwin.berger@tu-dortmund.de>"]
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
default = ["std", "snapshot_restore", "snapshot_fast", "singlecore", "restarting", "do_hash_notify_state", "config_stg", "fuzz_int", "trace_job_response_times" ]
|
||||
default = ["std", "snapshot_restore", "snapshot_fast", "singlecore", "restarting", "do_hash_notify_state", "config_stg", "fuzz_int", "trace_job_response_times", "shortcut" ]
|
||||
std = []
|
||||
# Exec environemnt basics
|
||||
snapshot_restore = []
|
||||
@ -14,6 +14,7 @@ singlecore = []
|
||||
restarting = ['singlecore']
|
||||
run_until_saturation = []
|
||||
fuzz_int = []
|
||||
shortcut = []
|
||||
# information capture
|
||||
observe_edges = [] # observe cfg edges
|
||||
observe_hitcounts = [ "observe_edges" ] # reduces edge granularity
|
||||
|
@ -548,7 +548,10 @@ let run_client = |state: Option<_>, mut mgr, _core_id| {
|
||||
if let Some(se) = seed {
|
||||
unsafe {
|
||||
let mut rng = StdRng::seed_from_u64(se);
|
||||
for _ in 0..10000 {
|
||||
let bound = 10000;
|
||||
#[cfg(feature = "shortcut")]
|
||||
let bound = 100;
|
||||
for _ in 0..bound {
|
||||
let inp2 = BytesInput::new((0..MAX_INPUT_SIZE).map(|_| rng.gen::<u8>()).collect());
|
||||
let inp = setup_interrupt_inputs(MultipartInput::from([("bytes",inp2)]), &interrupt_config, Some(&mut rng));
|
||||
fuzzer.evaluate_input(&mut state, &mut executor, &mut mgr, inp).unwrap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user