run_eval.sh: use values a default
This commit is contained in:
parent
892d4f85ce
commit
9531dc1ac0
12
run_eval.sh
12
run_eval.sh
@ -1,11 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Configuration
|
||||
export CORES=64 # Number of physical cores
|
||||
export RUNTIME=86400 # 24 hours in seconds
|
||||
export TARGET_REPLICA_NUMBER=12
|
||||
export RANDOM_REPLICA_NUMBER=3
|
||||
export MULTIJOB_REPLICA_NUMBER=3
|
||||
export CORES=${CORES:-64} # Number of physical cores
|
||||
export RUNTIME=${RUNTIME:-86400} # 24 hours in seconds
|
||||
export TARGET_REPLICA_NUMBER=${TARGET_REPLICA_NUMBER:-12}
|
||||
export RANDOM_REPLICA_NUMBER=${RANDOM_REPLICA_NUMBER:-3}
|
||||
export MULTIJOB_REPLICA_NUMBER=${MULTIJOB_REPLICA_NUMBER:-3}
|
||||
|
||||
if [[ -z "$INSIDE_DEVSHELL" ]]; then
|
||||
echo "This script should be run inside a nix-shell. Run 'nix develop' or 'nix-shell' first."
|
||||
@ -17,7 +17,7 @@ cd "$SCRIPT_DIR"
|
||||
|
||||
cd LibAFL/fuzzers/FRET/benchmark
|
||||
|
||||
export BENCHDIR="eval_$(date -I)"
|
||||
export BENCHDIR="${BENCHDIR:-eval_$(date -I)}"
|
||||
# prepare all fuzzer configurations
|
||||
snakemake --keep-incomplete --cores $CORES all_bins
|
||||
# Run the eval examples from the paper (eval_bytes = Fig. 3, eval_int = Fig. 4, eval_full = Fig. 5, waters_multi = Fig. 6)
|
||||
|
Loading…
x
Reference in New Issue
Block a user