Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minimal changes for experiment #2060

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion benchmarks/freetype2_ftfuzzer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ RUN apt-get update && \
wget

RUN git clone git://git.sv.nongnu.org/freetype/freetype2.git
RUN git clone https://github.com/unicode-org/text-rendering-tests.git TRT

RUN wget https://github.com/libarchive/libarchive/releases/download/v3.4.3/libarchive-3.4.3.tar.xz

RUN wget https://raw.githubusercontent.com/ardier/fuzzbench/minimized-subsumed-mutants-benchmark-with-seeds/benchmarks/freetype2_ftfuzzer_libafl/seeds.tar -O $SRC/seeds.tar && \
mkdir -p $SRC/seeds && \
tar -xvf $SRC/seeds.tar -C $SRC/seeds && \
rm $SRC/seeds.tar


COPY * $SRC/
5 changes: 3 additions & 2 deletions benchmarks/freetype2_ftfuzzer/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@

mkdir $OUT/seeds
# TRT/fonts is the full seed folder, but they're too big
cp TRT/fonts/TestKERNOne.otf $OUT/seeds/
cp TRT/fonts/TestGLYFOne.ttf $OUT/seeds/
# cp TRT/fonts/TestKERNOne.otf $OUT/seeds/
# cp TRT/fonts/TestGLYFOne.ttf $OUT/seeds/
cp seeds/* $OUT/seeds/

tar xf libarchive-3.4.3.tar.xz

Expand Down
4 changes: 2 additions & 2 deletions service/experiment-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Unless you are a fuzzbench maintainer running this service, this
# will not work with your setup.

trials: 20
max_total_time: 82800 # 23 hours, the default time for preemptible experiments.
trials: 3
max_total_time: 10800 # 3 hours, the default time for preemptible experiments.
cloud_project: fuzzbench
docker_registry: gcr.io/fuzzbench
cloud_compute_zone: us-central1-c
Expand Down
1 change: 1 addition & 0 deletions service/gcbrun_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from the last PR comment containing "/gcbrun" and pass it to run_experiment.py
which will run an experiment."""

# dummy comment for experiment
import logging
import os
import sys
Expand Down