Skip to content

Commit

Permalink
run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tokatoka committed Nov 20, 2024
1 parent a0dcaef commit a6b86d2
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 11 deletions.
16 changes: 16 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

# Check if both arguments are provided
if [ $# -ne 2 ]; then
echo "Usage: $0 <experiment_name> <fuzzers>"
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"
23 changes: 12 additions & 11 deletions service/experiment-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a6b86d2

Please sign in to comment.