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

Minimize Corpus Seed #2064

Open
wants to merge 4 commits 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: 8 additions & 0 deletions benchmarks/freetype2_ftfuzzer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ RUN apt-get update && \

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/ardier_0011/benchmarks/freetype2_ftfuzzer/seeds.tar.gz -O $SRC/seeds.tar.gz && \
mkdir -p $SRC/seeds && \
tar -xvf $SRC/seeds.tar.gz -C $SRC/seeds && \
rm $SRC/seeds.tar.gz

# COPY seeds/ $SRC/seeds
COPY * $SRC/
1 change: 1 addition & 0 deletions benchmarks/freetype2_ftfuzzer/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ 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 seeds/* $OUT/seeds/

tar xf libarchive-3.4.3.tar.xz

Expand Down
2 changes: 1 addition & 1 deletion service/experiment-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# will not work with your setup.

trials: 20
max_total_time: 82800 # 23 hours, the default time for preemptible experiments.
max_total_time: 82800 # 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