Skip to content

Commit

Permalink
Renew public bug-based benchmarks (google#1755)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonggeLiu authored Feb 27, 2023
1 parent dfebdba commit 3825cae
Show file tree
Hide file tree
Showing 135 changed files with 307 additions and 1,522 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,27 @@ jobs:
fail-fast: false
matrix:
benchmark:
- arrow_parquet-arrow-fuzz
- aspell_aspell_fuzzer
- bloaty_fuzz_target
- bloaty_fuzz_target_52948c
- curl_curl_fuzzer_http
- ffmpeg_ffmpeg_demuxer_fuzzer
- file_magic_fuzzer
- freetype2_ftfuzzer
- grok_grk_decompress_fuzzer
- harfbuzz_hb-shape-fuzzer
- harfbuzz_hb-shape-fuzzer_17863b
- jsoncpp_jsoncpp_fuzzer
- lcms_cms_transform_fuzzer
- libjpeg-turbo_libjpeg_turbo_fuzzer
- libpcap_fuzz_both
- libpng_libpng_read_fuzzer
- libxml2_xml
- libxml2_xml_e85b9b
- libxslt_xpath
- mbedtls_fuzz_dtlsclient
- mruby_mruby_fuzzer
- njs_njs_process_script_fuzzer
- mbedtls_fuzz_dtlsclient_7c6b0e
- openh264_decoder_fuzzer
- openssl_x509
- openthread_ot-ip6-send-fuzzer
- php_php-fuzz-parser
- php_php-fuzz-parser_0dbedb
- proj4_proj_crs_to_crs_fuzzer
- quickjs_eval
- re2_fuzzer
- sqlite3_ossfuzz
- stb_stbi_read_fuzzer
Expand Down
35 changes: 0 additions & 35 deletions benchmarks/arrow_parquet-arrow-fuzz/Dockerfile

This file was deleted.

55 changes: 0 additions & 55 deletions benchmarks/arrow_parquet-arrow-fuzz/benchmark.yaml

This file was deleted.

72 changes: 0 additions & 72 deletions benchmarks/arrow_parquet-arrow-fuzz/build.sh

This file was deleted.

Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20665
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20666
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20669
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20670
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20675
Binary file not shown.
1 change: 0 additions & 1 deletion benchmarks/arrow_parquet-arrow-fuzz/testcases/20681

This file was deleted.

Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20682
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20683
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20685
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20686
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20695
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20696
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20697
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20698
Binary file not shown.
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20721
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20733
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20735
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20837
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20849
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20897
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20937
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20940
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/20989
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/21009
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/21010
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/21101
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/21106
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/21147
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/21166
Binary file not shown.
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/21453
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/21567
Binary file not shown.
Binary file removed benchmarks/arrow_parquet-arrow-fuzz/testcases/26064
Binary file not shown.
22 changes: 0 additions & 22 deletions benchmarks/arrow_parquet-arrow-fuzz/thrift.patch

This file was deleted.

48 changes: 0 additions & 48 deletions benchmarks/aspell_aspell_fuzzer/benchmark.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020 Google Inc.
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -16,12 +16,15 @@

FROM gcr.io/oss-fuzz-base/base-builder@sha256:87ca1e9e19235e731fac8de8d1892ebe8d55caf18e7aa131346fc582a2034fdd

RUN apt-get update && \
apt-get install -y \
cmake \
ninja-build \
g++ \
libz-dev

RUN git clone \
https://github.com/GrokImageCompression/grok.git \
grok
RUN git clone https://github.com/GrokImageCompression/grok-test-data.git \
grok-data
https://github.com/google/bloaty.git

WORKDIR grok
WORKDIR bloaty
COPY build.sh $SRC/

30 changes: 30 additions & 0 deletions benchmarks/bloaty_fuzz_target_52948c/benchmark.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# 6440215450877952
commit: 52948c107c8f81045e7f9223ec02706b19cfa882
commit_date: 2022-11-11T17:41:21+00:00
fuzz_target: fuzz_target
project: bloaty
type: bug
unsupported_fuzzers:
- klee
- aflplusplus_cmplog_double
- symcc_aflplusplus_single
- eclipser_aflplusplus
- aflplusplus_qemu_double
- fuzzolic_aflplusplus_z3
- symqemu_aflplusplus
- fuzzolic_aflplusplus_fuzzy
- fuzzolic_aflplusplus_z3dict
11 changes: 6 additions & 5 deletions benchmarks/aspell_aspell_fuzzer/build.sh → ...hmarks/bloaty_fuzz_target_52948c/build.sh
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -eu
# Copyright 2019 Google Inc.
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,7 +15,8 @@
#
################################################################################

# Run the OSS-Fuzz script in the fuzzer project.
pushd $SRC/aspell-fuzz
./ossfuzz.sh
popd
cd $WORK
cmake -G Ninja -DBUILD_TESTING=false $SRC/bloaty
ninja -j$(nproc)
cp fuzz_target $OUT
zip -j $OUT/fuzz_target_seed_corpus.zip $SRC/bloaty/tests/testdata/fuzz_corpus/*
Loading

0 comments on commit 3825cae

Please sign in to comment.