Skip to content

Commit a6b86d2

Browse files
committed
run.sh
1 parent a0dcaef commit a6b86d2

File tree

2 files changed

+28
-11
lines changed

2 files changed

+28
-11
lines changed

run.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
# Check if both arguments are provided
4+
if [ $# -ne 2 ]; then
5+
echo "Usage: $0 <experiment_name> <fuzzers>"
6+
exit 1
7+
fi
8+
9+
EXPERIMENT_NAME=$1
10+
FUZZERS=$2
11+
12+
PYTHONPATH=. python3 experiment/run_experiment.py \
13+
--experiment-config experiment-config.yaml \
14+
--benchmarks freetype2_ftfuzzer bloaty_fuzz_target \
15+
--experiment-name "$EXPERIMENT_NAME" \
16+
--fuzzers "$FUZZERS"

service/experiment-config.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22
# Unless you are a fuzzbench maintainer running this service, this
33
# will not work with your setup.
44

5-
trials: 20
5+
trials: 10
66
max_total_time: 82800 # 23 hours, the default time for preemptible experiments.
7-
cloud_project: fuzzbench
8-
docker_registry: gcr.io/fuzzbench
9-
cloud_compute_zone: us-central1-c
10-
experiment_filestore: gs://fuzzbench-data
11-
report_filestore: gs://www.fuzzbench.com/reports
12-
cloud_sql_instance_connection_name: "fuzzbench:us-central1:postgres-experiment-db=tcp:5432"
13-
worker_pool_name: "projects/fuzzbench/locations/us-central1/workerPools/buildpool-e2-std-32" # Mem 128 GB
14-
preemptible_runners: true
7+
# cloud_project: fuzzbench
8+
#docker_registry: gcr.io/fuzzbench
9+
#cloud_compute_zone: us-central1-c
10+
experiment_filestore: /tmp/experiment-data
11+
report_filestore: /tmp/report-data
12+
#cloud_sql_instance_connection_name: "fuzzbench:us-central1:postgres-experiment-db=tcp:5432"
13+
#worker_pool_name: "projects/fuzzbench/locations/us-central1/workerPools/buildpool-e2-std-32" # Mem 128 GB
14+
#preemptible_runners: true
1515

1616
# This experiment should generate a report that is combined with other public
1717
# "production" experiments.
18-
merge_with_nonprivate: true
18+
#merge_with_nonprivate: true
1919

2020
# This experiment should be merged with other reports in later experiments.
21-
private: false
21+
#private: false
22+
local_experiment: true

0 commit comments

Comments
 (0)