Home
last modified time | relevance | path

Searched refs:fuzz (Results 1 – 25 of 1806) sorted by relevance

12345678910>>...73

/third_party/vk-gl-cts/android/cts/main/vk-master-2020-03-01/
Dtransform-feedback.txt429 dEQP-VK.transform_feedback.fuzz.2_level_array.float.vertex
430 dEQP-VK.transform_feedback.fuzz.2_level_array.float.geometry
431 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.vertex
432 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.geometry
433 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.vertex
434 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.geometry
435 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.vertex
436 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.geometry
437 dEQP-VK.transform_feedback.fuzz.2_level_array.int.vertex
438 dEQP-VK.transform_feedback.fuzz.2_level_array.int.geometry
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master-2020-03-01/
Dtransform-feedback.txt429 dEQP-VK.transform_feedback.fuzz.2_level_array.float.vertex
430 dEQP-VK.transform_feedback.fuzz.2_level_array.float.geometry
431 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.vertex
432 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.geometry
433 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.vertex
434 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.geometry
435 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.vertex
436 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.geometry
437 dEQP-VK.transform_feedback.fuzz.2_level_array.int.vertex
438 dEQP-VK.transform_feedback.fuzz.2_level_array.int.geometry
[all …]
/third_party/skia/fuzz/
DFuzzCanvas.cpp77 inline T make_fuzz_t(Fuzz* fuzz) { in make_fuzz_t() argument
79 fuzz->next(&t); in make_fuzz_t()
87 static sk_sp<SkColorFilter> make_fuzz_colorfilter(Fuzz* fuzz, int depth) { in make_fuzz_colorfilter() argument
92 fuzz->nextRange(&colorFilterType, 0, 8); in make_fuzz_colorfilter()
99 fuzz->next(&color); in make_fuzz_colorfilter()
100 fuzz->nextEnum(&mode, SkBlendMode::kLastMode); in make_fuzz_colorfilter()
104 sk_sp<SkColorFilter> outer = make_fuzz_colorfilter(fuzz, depth - 1); in make_fuzz_colorfilter()
108 sk_sp<SkColorFilter> inner = make_fuzz_colorfilter(fuzz, depth - 1); in make_fuzz_colorfilter()
114 fuzz->nextN(array, SK_ARRAY_COUNT(array)); in make_fuzz_colorfilter()
119 fuzz->next(&mul, &add); in make_fuzz_colorfilter()
[all …]
DFuzzDrawFunctions.cpp25 static void init_string(Fuzz* fuzz, char* str, size_t bufSize) { in init_string() argument
27 fuzz->nextRange(&str[i], 0x20, 0x7E); // printable ASCII in init_string()
33 static void init_paint(Fuzz* fuzz, SkPaint* p) { in init_paint() argument
35 fuzz->next(&b); in init_paint()
39 fuzz->nextRange(&tmp_u8, 0, (int)SkBlendMode::kLastMode); in init_paint()
43 fuzz->next(&co); in init_paint()
46 fuzz->next(&b); in init_paint()
49 fuzz->nextRange(&tmp_u8, 0, (int)SkPaint::kLast_Cap); in init_paint()
52 fuzz->nextRange(&tmp_u8, 0, (int)SkPaint::kLast_Join); in init_paint()
56 fuzz->next(&sc); in init_paint()
[all …]
DFuzzCommon.cpp12 static void fuzz_nice_float(Fuzz* fuzz, float* f) { in fuzz_nice_float() argument
14 fuzz->next(&v); in fuzz_nice_float()
20 static void fuzz_nice_float(Fuzz* fuzz, float* f, Args... rest) { in fuzz_nice_float() argument
21 fuzz_nice_float(fuzz, f); in fuzz_nice_float()
22 fuzz_nice_float(fuzz, rest...); in fuzz_nice_float()
25 static void fuzz_nice_rect(Fuzz* fuzz, SkRect* r) { in fuzz_nice_rect() argument
26 fuzz_nice_float(fuzz, &r->fLeft, &r->fTop, &r->fRight, &r->fBottom); in fuzz_nice_rect()
31 void FuzzNicePath(Fuzz* fuzz, SkPath* path, int maxOps) { in FuzzNicePath() argument
32 if (maxOps <= 0 || fuzz->exhausted() || path->countPoints() > 100000) { in FuzzNicePath()
36 fuzz->nextRange(&fillType, 0, (uint8_t)SkPathFillType::kInverseEvenOdd); in FuzzNicePath()
[all …]
DFuzzPathop.cpp16 DEF_FUZZ(Pathop, fuzz) { in DEF_FUZZ() argument
19 fuzz->nextRange(&choice, 0, 4); in DEF_FUZZ()
23 fuzz->nextRange(&ops, 0, MAX_OPS); in DEF_FUZZ()
25 for (uint8_t i = 0; i < ops && !fuzz->exhausted(); i++) { in DEF_FUZZ()
27 FuzzEvilPath(fuzz, &path, SkPath::Verb::kDone_Verb); in DEF_FUZZ()
29 fuzz->nextRange(&ft, 0, (int)SkPathFillType::kInverseEvenOdd); in DEF_FUZZ()
33 fuzz->nextRange(&op, 0, SkPathOp::kReverseDifference_SkPathOp); in DEF_FUZZ()
43 FuzzEvilPath(fuzz, &path, SkPath::Verb::kDone_Verb); in DEF_FUZZ()
45 fuzz->nextRange(&ft, 0, (int)SkPathFillType::kInverseEvenOdd); in DEF_FUZZ()
50 fuzz->next(&isSame); in DEF_FUZZ()
[all …]
DFuzzParsePath.cpp38 static void add_white(Fuzz* fuzz, SkString* atom) { in add_white() argument
46 fuzz->nextRange(&reps, 0, 2); in add_white()
49 fuzz->nextRange(&index, 0, (int) SK_ARRAY_COUNT(gWhiteSpace) - 1); in add_white()
56 static void add_some_white(Fuzz* fuzz, SkString* atom) { in add_some_white() argument
58 add_white(fuzz, atom); in add_some_white()
62 static void add_comma(Fuzz* fuzz, SkString* atom) { in add_comma() argument
67 add_white(fuzz, atom); in add_comma()
69 fuzz->next(&b); in add_comma()
73 add_some_white(fuzz, atom); in add_comma()
76 SkString MakeRandomParsePathPiece(Fuzz* fuzz) { in MakeRandomParsePathPiece() argument
[all …]
DFuzzSkParagraph.cpp116 uint8_t RandomText(T* buffer, Fuzz* fuzz) { in RandomText() argument
118 fuzz->nextRange(&text_length, 0, MAX_TEXT_LENGTH); in RandomText()
119 fuzz->nextN(buffer, text_length); in RandomText()
124 void AddASCIIText(ParagraphBuilder* builder,Fuzz* fuzz) { in AddASCIIText() argument
126 const auto text_length = RandomText(text, fuzz); in AddASCIIText()
130 void AddUnicodeText(ParagraphBuilder* builder,Fuzz* fuzz) { in AddUnicodeText() argument
132 const auto text_length = RandomText(text, fuzz); in AddUnicodeText()
141 void AddZalgoText(ParagraphBuilder* builder, Fuzz* fuzz) { in AddZalgoText() argument
143 const auto text_length = RandomText(text, fuzz); in AddZalgoText()
149 fuzz->next(&mark_count); in AddZalgoText()
[all …]
DFuzzGradients.cpp22 void makeMatrix(Fuzz* fuzz, SkMatrix* m) { in makeMatrix() argument
24 fuzz->nextN(mat, 9); in makeMatrix()
28 void initGradientParams(Fuzz* fuzz, std::vector<SkColor>* colors, in initGradientParams() argument
31 fuzz->nextRange(&count, 0, MAX_COUNT); in initGradientParams()
36 fuzz->nextRange(&m, 0, 2); in initGradientParams()
44 fuzz->next(&c, &s); in initGradientParams()
108 void fuzzLinearGradient(Fuzz* fuzz) { in fuzzLinearGradient() argument
110 fuzz->next(&pts[0].fX, &pts[0].fY, &pts[1].fX, &pts[1].fY); in fuzzLinearGradient()
112 fuzz->next(&useLocalMatrix, &useGlobalMatrix); in fuzzLinearGradient()
117 initGradientParams(fuzz, &colors, &pos, &mode); in fuzzLinearGradient()
[all …]
DFuzzCreateDDL.cpp39 static SkSurfaceProps gen_fuzzed_surface_props(Fuzz* fuzz) { in gen_fuzzed_surface_props() argument
41 fuzz->nextEnum(&pixel, kBGR_V_SkPixelGeometry); in gen_fuzzed_surface_props()
45 static SkPaint gen_fuzzed_skpaint(Fuzz* fuzz) { in gen_fuzzed_skpaint() argument
47 fuzz->nextRange(&R, -1, 2); in gen_fuzzed_skpaint()
48 fuzz->nextRange(&G, -1, 2); in gen_fuzzed_skpaint()
49 fuzz->nextRange(&B, -1, 2); in gen_fuzzed_skpaint()
50 fuzz->nextRange(&Alpha, 0, 1); in gen_fuzzed_skpaint()
55 static SkImageInfo gen_fuzzed_imageinfo(Fuzz* fuzz, SkColorType surfaceType) { in gen_fuzzed_imageinfo() argument
57 fuzz->nextRange(&width, 1, kMaxWidth); in gen_fuzzed_imageinfo()
58 fuzz->nextRange(&height, 1, kMaxHeight); in gen_fuzzed_imageinfo()
[all …]
DFuzzEncoders.cpp26 static SkBitmap make_fuzzed_bitmap(Fuzz* fuzz) { in make_fuzzed_bitmap() argument
29 fuzz->nextRange(&w, 1, MAX_WIDTH); in make_fuzzed_bitmap()
30 fuzz->nextRange(&h, 1, MAX_HEIGHT); in make_fuzzed_bitmap()
35 fuzz->nextN((SkPMColor*)bm.getPixels(), n); in make_fuzzed_bitmap()
39 DEF_FUZZ(PNGEncoder, fuzz) { in DEF_FUZZ() argument
40 auto bm = make_fuzzed_bitmap(fuzz); in DEF_FUZZ()
43 fuzz->nextRange(&opts.fZLibLevel, 0, 9); in DEF_FUZZ()
49 DEF_FUZZ(JPEGEncoder, fuzz) { in DEF_FUZZ() argument
50 auto bm = make_fuzzed_bitmap(fuzz); in DEF_FUZZ()
53 fuzz->nextRange(&opts.fQuality, 0, 100); in DEF_FUZZ()
[all …]
DREADME.md8 These fuzzers are packaged in two different ways (see //BUILD.gn). There is a `fuzz` executable
13 See [../site/dev/testing/fuzz.md] for more information on building and running fuzzers using the
14 `fuzz` executable.
17 We fuzz Skia using [OSS-Fuzz](https://github.com/google/oss-fuzz), which in turn uses fuzzing
18 engines such as libfuzzer, afl-fuzz, hong-fuzz, and others to fuzz Skia. OSS-fuzz will automatically
19 [file and close bugs](https://bugs.chromium.org/p/oss-fuzz/issues/list?q=label:Proj-skia) when
22 There is a [Skia folder](https://github.com/google/oss-fuzz/tree/master/projects/skia)
25 [This](https://google.github.io/oss-fuzz/getting-started/new-project-guide/#testing-locally)
29 1. *Add a seed corpus to `gs://skia-fuzzer/oss-fuzz/` (in the
34 …2. *Update [the Dockerfile](https://github.com/google/oss-fuzz/blob/master/projects/skia/Dockerfil…
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/
Dtransform-feedback.txt2000 dEQP-VK.transform_feedback.fuzz.2_level_array.float.vertex
2001 dEQP-VK.transform_feedback.fuzz.2_level_array.float.geometry
2002 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.vertex
2003 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.geometry
2004 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.vertex
2005 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.geometry
2006 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.vertex
2007 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.geometry
2008 dEQP-VK.transform_feedback.fuzz.2_level_array.int.vertex
2009 dEQP-VK.transform_feedback.fuzz.2_level_array.int.geometry
[all …]
/third_party/vk-gl-cts/external/vulkancts/mustpass/master/vk-default/
Dtransform-feedback.txt2000 dEQP-VK.transform_feedback.fuzz.2_level_array.float.vertex
2001 dEQP-VK.transform_feedback.fuzz.2_level_array.float.geometry
2002 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.vertex
2003 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.geometry
2004 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.vertex
2005 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.geometry
2006 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.vertex
2007 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.geometry
2008 dEQP-VK.transform_feedback.fuzz.2_level_array.int.vertex
2009 dEQP-VK.transform_feedback.fuzz.2_level_array.int.geometry
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master/
Dtransform-feedback.txt2000 dEQP-VK.transform_feedback.fuzz.2_level_array.float.vertex
2001 dEQP-VK.transform_feedback.fuzz.2_level_array.float.geometry
2002 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.vertex
2003 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.geometry
2004 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.vertex
2005 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.geometry
2006 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.vertex
2007 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.geometry
2008 dEQP-VK.transform_feedback.fuzz.2_level_array.int.vertex
2009 dEQP-VK.transform_feedback.fuzz.2_level_array.int.geometry
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/
DBUILD.gn873 # The spirv-fuzz library is only built when in a Chromium checkout
877 sources = [ "source/fuzz/protobufs/spvtoolsfuzz.proto" ]
884 "source/fuzz/added_function_reducer.cpp",
885 "source/fuzz/added_function_reducer.h",
886 "source/fuzz/available_instructions.cpp",
887 "source/fuzz/available_instructions.h",
888 "source/fuzz/call_graph.cpp",
889 "source/fuzz/call_graph.h",
890 "source/fuzz/comparator_deep_blocks_first.h",
891 "source/fuzz/counter_overflow_id_source.cpp",
[all …]
/third_party/skia/third_party/externals/spirv-tools/
DBUILD.gn873 # The spirv-fuzz library is only built when in a Chromium checkout
877 sources = [ "source/fuzz/protobufs/spvtoolsfuzz.proto" ]
884 "source/fuzz/added_function_reducer.cpp",
885 "source/fuzz/added_function_reducer.h",
886 "source/fuzz/available_instructions.cpp",
887 "source/fuzz/available_instructions.h",
888 "source/fuzz/call_graph.cpp",
889 "source/fuzz/call_graph.h",
890 "source/fuzz/comparator_deep_blocks_first.h",
891 "source/fuzz/counter_overflow_id_source.cpp",
[all …]
/third_party/json/
DMakefile73 rm -fr fuzz-testing
74 mkdir -p fuzz-testing fuzz-testing/testcases fuzz-testing/out
76 mv tests/parse_afl_fuzzer fuzz-testing/fuzzer
77 find tests/data/json_tests -size -5k -name *json | xargs -I{} cp "{}" fuzz-testing/testcases
81 rm -fr fuzz-testing
82 mkdir -p fuzz-testing fuzz-testing/testcases fuzz-testing/out
84 mv tests/parse_bson_fuzzer fuzz-testing/fuzzer
85 find tests/data -size -5k -name *.bson | xargs -I{} cp "{}" fuzz-testing/testcases
89 rm -fr fuzz-testing
90 mkdir -p fuzz-testing fuzz-testing/testcases fuzz-testing/out
[all …]
/third_party/e2fsprogs/
Dinstall.sh19 patch -p1 < $1/0001-e2fsprogs-set-hugefile-from-4T-to-1T-in-hugefile-tes.patch --fuzz=0 --no-backup…
20 patch -p1 < $1/0002-libss-add-newer-libreadline.so.8-to-dlopen-path.patch --fuzz=0 --no-backup-if-m…
21 patch -p1 < $1/0003-tests-update-expect-files-for-f_mmp_garbage.patch --fuzz=0 --no-backup-if-misma…
22 patch -p1 < $1/0004-tests-update-expect-files-for-f_large_dir-and-f_larg.patch --fuzz=0 --no-backup…
23 patch -p1 < $1/0005-resize2fs-resize2fs-disk-hardlinks-will-be-error.patch --fuzz=0 --no-backup-if-…
24 patch -p1 < $1/0006-e2fsck-exit-journal-recovery-when-find-EIO-ENOMEM-er.patch --fuzz=0 --no-backup…
25 patch -p1 < $1/0007-e2fsck-exit-journal-recovery-when-jounral-superblock.patch --fuzz=0 --no-backup…
26 patch -p1 < $1/0008-e2fsck-add-env-param-E2FS_UNRELIABLE_IO-to-fi.patch --fuzz=0 --no-backup-if-mis…
27 patch -p1 < $1/0009-e2mmpstatus.8.in-detele-filesystem-can-be-UUID-or-LA.patch --fuzz=0 --no-backup…
28 patch -p1 < $1/0010-tests-update-expect-file-for-u_direct_io.patch --fuzz=0 --no-backup-if-mismatch
[all …]
/third_party/libinput/tools/
Dlibinput-measure-fuzz.py162 self.absinfo[libevdev.EV_ABS.ABS_X].fuzz
163 or self.absinfo[libevdev.EV_ABS.ABS_MT_POSITION_X].fuzz
166 self.absinfo[libevdev.EV_ABS.ABS_Y].fuzz
167 or self.absinfo[libevdev.EV_ABS.ABS_MT_POSITION_Y].fuzz
176 def print_fuzz(what, fuzz): argument
178 if fuzz is None:
180 elif fuzz == (0, 0):
183 print("x={} y={}".format(*fuzz))
186 def handle_existing_entry(device, fuzz): argument
258 parts[3] = str(fuzz)
[all …]
/third_party/libxml2/
Dbackport-schemas-Fix-null-pointer-deref-in-xmlSchemaCheckCOSS.patch13 result/schemas/oss-fuzz-51295_0_0.err | 2 ++
14 test/schemas/oss-fuzz-51295_0.xml | 1 +
15 test/schemas/oss-fuzz-51295_0.xsd | 4 ++++
18 create mode 100644 result/schemas/oss-fuzz-51295_0_0.err
19 create mode 100644 test/schemas/oss-fuzz-51295_0.xml
20 create mode 100644 test/schemas/oss-fuzz-51295_0.xsd
22 diff --git a/result/schemas/oss-fuzz-51295_0_0.err b/result/schemas/oss-fuzz-51295_0_0.err
26 +++ b/result/schemas/oss-fuzz-51295_0_0.err
28 +./test/schemas/oss-fuzz-51295_0.xsd:2: element element: Schemas parser error : element decl. 'e': …
29 +./test/schemas/oss-fuzz-51295_0.xsd:2: element element: Schemas parser error : element decl. 'e': …
[all …]
/third_party/libinput/doc/user/
Dtouchpad-jitter.rst16 libinput uses the kernel ``fuzz`` value to determine the size of the
26 libinput provides the debugging tool ``libinput measure fuzz`` to help edit or
27 test a fuzz value. This tool is interactive and provides a udev hwdb entry
28 that matches the device. To check if a fuzz is currently present, simply run
34 $ sudo libinput measure fuzz
40 In the above output, the axis fuzz is set to 16. To set a specific fuzz, run
41 with the ``--fuzz=<value>`` argument.
46 $ sudo libinput measure fuzz --fuzz=8
59 Below is the outline of what a user needs to do to override a device's fuzz
60 value in case the ``libinput measure fuzz`` tool fails.
[all …]
/third_party/vk-gl-cts/external/vulkancts/mustpass/main/vk-default/
Dtransform-feedback.txt7515 dEQP-VK.transform_feedback.fuzz.2_level_array.float.vertex
7516 dEQP-VK.transform_feedback.fuzz.2_level_array.float.geometry
7517 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.vertex
7518 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.geometry
7519 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.vertex
7520 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.geometry
7521 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.vertex
7522 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.geometry
7523 dEQP-VK.transform_feedback.fuzz.2_level_array.int.vertex
7524 dEQP-VK.transform_feedback.fuzz.2_level_array.int.geometry
[all …]
/third_party/vk-gl-cts/android/cts/main/vk-master/
Dtransform-feedback.txt7515 dEQP-VK.transform_feedback.fuzz.2_level_array.float.vertex
7516 dEQP-VK.transform_feedback.fuzz.2_level_array.float.geometry
7517 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.vertex
7518 dEQP-VK.transform_feedback.fuzz.2_level_array.vec2.geometry
7519 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.vertex
7520 dEQP-VK.transform_feedback.fuzz.2_level_array.vec3.geometry
7521 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.vertex
7522 dEQP-VK.transform_feedback.fuzz.2_level_array.vec4.geometry
7523 dEQP-VK.transform_feedback.fuzz.2_level_array.int.vertex
7524 dEQP-VK.transform_feedback.fuzz.2_level_array.int.geometry
[all …]
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/
Dspirv_fuzz_mutator.cc31 const std::vector<spvtools::fuzz::fuzzerutil::ModuleSupplier>& donors, in SpirvFuzzMutator()
33 spvtools::fuzz::RepeatedPassStrategy repeated_pass_strategy, in SpirvFuzzMutator()
43 target_env, spvtools::fuzz::fuzzerutil::kSilentMessageConsumer, in SpirvFuzzMutator()
48 std::make_unique<spvtools::fuzz::TransformationContext>( in SpirvFuzzMutator()
49 std::make_unique<spvtools::fuzz::FactManager>(ir_context.get()), in SpirvFuzzMutator()
52 auto fuzzer_context = std::make_unique<spvtools::fuzz::FuzzerContext>( in SpirvFuzzMutator()
53 std::make_unique<spvtools::fuzz::PseudoRandomGenerator>(seed), in SpirvFuzzMutator()
54 spvtools::fuzz::FuzzerContext::GetMinFreshId(ir_context.get()), false); in SpirvFuzzMutator()
55 fuzzer_ = std::make_unique<spvtools::fuzz::Fuzzer>( in SpirvFuzzMutator()
67 case spvtools::fuzz::Fuzzer::Status::kComplete: in Mutate()
[all …]

12345678910>>...73