diff --git a/run.sh b/run.sh new file mode 100755 index 000000000..5904f3a7f --- /dev/null +++ b/run.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Check if both arguments are provided +if [ $# -ne 2 ]; then + echo "Usage: $0 " + exit 1 +fi + +EXPERIMENT_NAME=$1 +FUZZERS=$2 + +PYTHONPATH=. python3 experiment/run_experiment.py \ +--experiment-config experiment-config.yaml \ +--benchmarks freetype2_ftfuzzer bloaty_fuzz_target \ +--experiment-name "$EXPERIMENT_NAME" \ +--fuzzers "$FUZZERS" diff --git a/service/experiment-config.yaml b/service/experiment-config.yaml index b9acb09f8..5b2b279b5 100644 --- a/service/experiment-config.yaml +++ b/service/experiment-config.yaml @@ -2,20 +2,21 @@ # Unless you are a fuzzbench maintainer running this service, this # will not work with your setup. -trials: 20 +trials: 10 max_total_time: 82800 # 23 hours, the default time for preemptible experiments. -cloud_project: fuzzbench -docker_registry: gcr.io/fuzzbench -cloud_compute_zone: us-central1-c -experiment_filestore: gs://fuzzbench-data -report_filestore: gs://www.fuzzbench.com/reports -cloud_sql_instance_connection_name: "fuzzbench:us-central1:postgres-experiment-db=tcp:5432" -worker_pool_name: "projects/fuzzbench/locations/us-central1/workerPools/buildpool-e2-std-32" # Mem 128 GB -preemptible_runners: true +# cloud_project: fuzzbench +#docker_registry: gcr.io/fuzzbench +#cloud_compute_zone: us-central1-c +experiment_filestore: /tmp/experiment-data +report_filestore: /tmp/report-data +#cloud_sql_instance_connection_name: "fuzzbench:us-central1:postgres-experiment-db=tcp:5432" +#worker_pool_name: "projects/fuzzbench/locations/us-central1/workerPools/buildpool-e2-std-32" # Mem 128 GB +#preemptible_runners: true # This experiment should generate a report that is combined with other public # "production" experiments. -merge_with_nonprivate: true +#merge_with_nonprivate: true # This experiment should be merged with other reports in later experiments. -private: false +#private: false +local_experiment: true