Home
last modified time | relevance | path

Searched refs:fuzzer (Results 1 – 25 of 220) sorted by relevance

123456789

/third_party/libpsl/fuzz/
Drun-clang.sh28 ./${fuzzer} -merge=1 ${fuzzer}.in ${fuzzer}.new
29 rm -rf ${fuzzer}.new
38 fuzzer=$1
42 case $fuzzer in
44 cfile="libpsl_"$(echo $fuzzer|cut -d'_' -f3-)".c"
47 cfile="libpsl_"$(echo $fuzzer|cut -d'_' -f3-)".c"
50 cfile="libpsl_"$(echo $fuzzer|cut -d'_' -f3-)".c"
53 cfile=${fuzzer}.c
59 ${cfile} -o ${fuzzer} \
68 mkdir -p ${fuzzer}.new
[all …]
Dget_ossfuzz_corpora23 fuzzer=$1
27 mkdir -p ${fuzzer}.new
28 cp -p ${fuzzer}.in/* ${fuzzer}.new
29 … -m rsync gs://${project}-corpus.clusterfuzz-external.appspot.com/libFuzzer/${fuzzer} ${fuzzer}.new
32 BUILD_ONLY=1 ./run-clang.sh ${fuzzer}
35 ./${fuzzer} -merge=1 ${fuzzer}.in ${fuzzer}.new
38 rm -f ${fuzzer}.new/*
39 mv ${fuzzer}.in/* ${fuzzer}.new
42 ./${fuzzer} -merge=1 ${fuzzer}.in ${fuzzer}.new
Drun-afl.sh45 if test -d ${fuzzer}.in; then
46 mkdir -p ${fuzzer}.min
47 for i in `ls ${fuzzer}.in`; do
48 fin="${fuzzer}.in/$i"
49 fmin="${fuzzer}.min/$i"
51 afl-tmin -i $fin -o $fmin -- ./${fuzzer}
56 TMPOUT=${fuzzer}.$$.out
59 if test -f ${fuzzer}.dict; then
60 afl-fuzz -i ${fuzzer}.min -o ${TMPOUT} -x ${fuzzer}.dict -- ./${fuzzer}
62 afl-fuzz -i ${fuzzer}.min -o ${TMPOUT} -- ./${fuzzer}
/third_party/skia/third_party/externals/tint/fuzzers/
Dtint_all_transforms_fuzzer.cc28 fuzzers::CommonFuzzer fuzzer(InputFormat::kWGSL, OutputFormat::kSpv); in LLVMFuzzerTestOneInput() local
29 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
30 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
32 fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
40 fuzzers::CommonFuzzer fuzzer(InputFormat::kWGSL, OutputFormat::kHLSL); in LLVMFuzzerTestOneInput() local
41 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
42 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
44 fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
53 fuzzers::CommonFuzzer fuzzer(InputFormat::kWGSL, OutputFormat::kMSL); in LLVMFuzzerTestOneInput() local
54 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
[all …]
Dtint_black_box_fuzz_target.cc132 tint::fuzzers::CommonFuzzer fuzzer(tint::fuzzers::InputFormat::kWGSL, in main() local
134 return fuzzer.Run(data.data(), data.size()); in main()
139 tint::fuzzers::CommonFuzzer fuzzer(tint::fuzzers::InputFormat::kWGSL, in main() local
141 fuzzer.SetOptionsMsl(options); in main()
142 return fuzzer.Run(data.data(), data.size()); in main()
147 tint::fuzzers::CommonFuzzer fuzzer(tint::fuzzers::InputFormat::kWGSL, in main() local
149 fuzzer.SetOptionsSpirv(options); in main()
150 return fuzzer.Run(data.data(), data.size()); in main()
153 tint::fuzzers::CommonFuzzer fuzzer(tint::fuzzers::InputFormat::kWGSL, in main() local
155 return fuzzer.Run(data.data(), data.size()); in main()
Dtint_renamer_fuzzer.cc26 fuzzers::CommonFuzzer fuzzer(InputFormat::kWGSL, OutputFormat::kWGSL); in LLVMFuzzerTestOneInput() local
27 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
28 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
30 return fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
Dtint_single_entry_point_fuzzer.cc26 fuzzers::CommonFuzzer fuzzer(InputFormat::kWGSL, OutputFormat::kWGSL); in LLVMFuzzerTestOneInput() local
27 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
28 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
30 return fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
Dtint_binding_remapper_fuzzer.cc26 fuzzers::CommonFuzzer fuzzer(InputFormat::kWGSL, OutputFormat::kWGSL); in LLVMFuzzerTestOneInput() local
27 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
28 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
30 return fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
Dtint_first_index_offset_fuzzer.cc26 fuzzers::CommonFuzzer fuzzer(InputFormat::kWGSL, OutputFormat::kWGSL); in LLVMFuzzerTestOneInput() local
27 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
28 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
30 return fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
Dtint_spv_reader_msl_writer_fuzzer.cc27 tint::fuzzers::ReaderWriterFuzzer fuzzer(InputFormat::kSpv, in LLVMFuzzerTestOneInput() local
29 fuzzer.SetOptionsMsl(options); in LLVMFuzzerTestOneInput()
30 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
31 return fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
Dtint_vertex_pulling_fuzzer.cc26 tint::fuzzers::CommonFuzzer fuzzer(InputFormat::kWGSL, OutputFormat::kWGSL); in LLVMFuzzerTestOneInput() local
27 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
28 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
30 return fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
Dtint_spv_reader_spv_writer_fuzzer.cc27 tint::fuzzers::ReaderWriterFuzzer fuzzer(InputFormat::kSpv, in LLVMFuzzerTestOneInput() local
29 fuzzer.SetOptionsSpirv(options); in LLVMFuzzerTestOneInput()
30 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
31 return fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
Dtint_wgsl_reader_msl_writer_fuzzer.cc27 tint::fuzzers::ReaderWriterFuzzer fuzzer(InputFormat::kWGSL, in LLVMFuzzerTestOneInput() local
29 fuzzer.SetOptionsMsl(options); in LLVMFuzzerTestOneInput()
30 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
31 return fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
Dtint_wgsl_reader_spv_writer_fuzzer.cc27 tint::fuzzers::ReaderWriterFuzzer fuzzer(InputFormat::kWGSL, in LLVMFuzzerTestOneInput() local
29 fuzzer.SetOptionsSpirv(options); in LLVMFuzzerTestOneInput()
30 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
31 return fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
Dtint_robustness_fuzzer.cc26 tint::fuzzers::CommonFuzzer fuzzer(InputFormat::kWGSL, OutputFormat::kWGSL); in LLVMFuzzerTestOneInput() local
27 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
28 fuzzer.SetDumpInput(GetCliParams().dump_input); in LLVMFuzzerTestOneInput()
30 return fuzzer.Run(data, size); in LLVMFuzzerTestOneInput()
/third_party/harfbuzz/test/fuzzing/
DMakefile.am20 run-shape-fuzzer-tests.py \
21 run-subset-fuzzer-tests.py \
22 run-draw-fuzzer-tests.py \
28 hb-shape-fuzzer \
29 hb-subset-fuzzer \
30 hb-set-fuzzer \
31 hb-draw-fuzzer \
41 hb-fuzzer.hh \
42 hb-shape-fuzzer.cc \
50 hb-fuzzer.hh \
[all …]
Dmeson.build2 'hb-shape-fuzzer.cc',
3 'hb-subset-fuzzer.cc',
4 'hb-set-fuzzer.cc',
5 'hb-draw-fuzzer.cc',
35 test('shape_fuzzer', find_program('run-shape-fuzzer-tests.py'),
46 test('subset_fuzzer', find_program('run-subset-fuzzer-tests.py'),
58 test('draw_fuzzer', find_program('run-draw-fuzzer-tests.py'),
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
DMakefile.am20 run-shape-fuzzer-tests.py \
21 run-subset-fuzzer-tests.py \
22 run-draw-fuzzer-tests.py \
28 hb-shape-fuzzer \
29 hb-subset-fuzzer \
30 hb-set-fuzzer \
31 hb-draw-fuzzer \
41 hb-fuzzer.hh \
42 hb-shape-fuzzer.cc \
50 hb-fuzzer.hh \
[all …]
Dmeson.build2 'hb-shape-fuzzer.cc',
3 'hb-subset-fuzzer.cc',
4 'hb-set-fuzzer.cc',
5 'hb-draw-fuzzer.cc',
35 test('shape_fuzzer', find_program('run-shape-fuzzer-tests.py'),
46 test('subset_fuzzer', find_program('run-subset-fuzzer-tests.py'),
58 test('draw_fuzzer', find_program('run-draw-fuzzer-tests.py'),
/third_party/flutter/skia/third_party/externals/harfbuzz/test/fuzzing/
DCMakeLists.txt8 #add_executable (hb-shape-fuzzer # it should be run only after ragel execution
12 add_executable (hb-shape-fuzzer ${hb_shape_fuzzer_SOURCES})
13 target_link_libraries (hb-shape-fuzzer harfbuzz)
15 add_executable (hb-subset-fuzzer ${hb_subset_fuzzer_SOURCES})
16 target_link_libraries (hb-subset-fuzzer harfbuzz-subset)
18 target_compile_definitions(hb-shape-fuzzer PUBLIC ${FUZZING_CPPFLAGS})
19 target_compile_definitions(hb-subset-fuzzer PUBLIC ${FUZZING_CPPFLAGS})
21 add_test (NAME hb-shape-fuzzer
22 COMMAND "${PYTHON_EXECUTABLE}" run-shape-fuzzer-tests.py $<TARGET_FILE:hb-shape-fuzzer>
24 add_test (NAME hb-subset-fuzzer
[all …]
DMakefile.am20 run-shape-fuzzer-tests.py \
21 run-subset-fuzzer-tests.py \
27 hb-shape-fuzzer \
28 hb-subset-fuzzer \
38 hb-fuzzer.hh \
39 hb-shape-fuzzer.cc \
47 hb-fuzzer.hh \
48 hb-subset-fuzzer.cc \
58 … srcdir="$(srcdir)" builddir="$(builddir)" LIBTOOL="$(LIBTOOL)" $(srcdir)/run-shape-fuzzer-tests.py
59 …srcdir="$(srcdir)" builddir="$(builddir)" LIBTOOL="$(LIBTOOL)" $(srcdir)/run-subset-fuzzer-tests.py
/third_party/skia/third_party/externals/libwebp/
D.gitignore47 tests/fuzzer/advanced_api_fuzzer
48 tests/fuzzer/animation_api_fuzzer
49 tests/fuzzer/animdecoder_fuzzer
50 tests/fuzzer/animencoder_fuzzer
51 tests/fuzzer/demux_api_fuzzer
52 tests/fuzzer/enc_dec_fuzzer
53 tests/fuzzer/mux_demux_api_fuzzer
54 tests/fuzzer/simple_api_fuzzer
/third_party/skia/fuzz/
DREADME.md3 randomly, focusing on specific APIs). For example, we have a codec fuzzer which takes a mutated
4 png/jpeg or similar file and attempts to turn it into an `SkImage`. We also have a canvas fuzzer
9 that contains all fuzzers and is a convenient way to reproduce fuzzer-reported bugs. There are also
10 single fuzzer executables containing exactly one fuzzer, which are convenient to build with
28 When enabling a fuzzer in OSS-Fuzz, we typically need to follow these steps:
29 1. *Add a seed corpus to `gs://skia-fuzzer/oss-fuzz/` (in the
30 …[skia-public project](https://console.cloud.google.com/storage/browser/skia-fuzzer?project=skia-pu…
37 to build the desired fuzzer target and move it into $OUT. If there is a seed corpus, move
38 it into $OUT and make sure it is the same name as the fuzzer executable with `_seed_corpus.zip`
53 <https://oss-fuzz.com/fuzzer-stats> is useful to see metrics on how our fuzzers are running. It
[all …]
/third_party/json/test/
DMakefile12 FUZZER_ENGINE = src/fuzzer-driver_afl.cpp
17 $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(FUZZER_ENGINE) src/fuzzer-parse_json.cpp -o $@
20 $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(FUZZER_ENGINE) src/fuzzer-parse_bson.cpp -o $@
23 $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(FUZZER_ENGINE) src/fuzzer-parse_cbor.cpp -o $@
26 $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(FUZZER_ENGINE) src/fuzzer-parse_msgpack.cpp -o $@
29 $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(FUZZER_ENGINE) src/fuzzer-parse_ubjson.cpp -o $@
/third_party/skia/third_party/externals/dawn/infra/config/global/
Dmain.star197 def get_default_properties(os, clang, debug, cpu, fuzzer):
218 if fuzzer:
233 def add_ci_builder(name, os, clang, debug, cpu, fuzzer):
246 properties_ci = get_default_properties(os, clang, debug, cpu, fuzzer)
248 if fuzzer:
251 if not fuzzer:
265 def add_try_builder(name, os, clang, debug, cpu, fuzzer):
278 properties_try = get_default_properties(os, clang, debug, cpu, fuzzer)
292 def dawn_standalone_builder(name, clang, debug, cpu, fuzzer = False):
305 add_ci_builder(name, os, clang, debug, cpu, fuzzer)
[all …]

123456789