Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
oss_fuzz/ | 03-May-2024 | - | 1,256 | 801 | ||
Fuzz.cpp | D | 03-May-2024 | 1 KiB | 43 | 27 | |
Fuzz.h | D | 03-May-2024 | 4.2 KiB | 143 | 89 | |
FuzzCanvas.cpp | D | 03-May-2024 | 62.4 KiB | 1,687 | 1,584 | |
FuzzCommon.cpp | D | 03-May-2024 | 10.8 KiB | 339 | 304 | |
FuzzCommon.h | D | 03-May-2024 | 729 | 30 | 13 | |
FuzzCreateDDL.cpp | D | 03-May-2024 | 7.9 KiB | 234 | 195 | |
FuzzDDLThreading.cpp | D | 03-May-2024 | 10.6 KiB | 280 | 227 | |
FuzzDrawFunctions.cpp | D | 03-May-2024 | 8.5 KiB | 328 | 274 | |
FuzzEncoders.cpp | D | 03-May-2024 | 3.5 KiB | 119 | 91 | |
FuzzGradients.cpp | D | 03-May-2024 | 7.7 KiB | 277 | 229 | |
FuzzMain.cpp | D | 03-May-2024 | 29.4 KiB | 811 | 674 | |
FuzzParsePath.cpp | D | 03-May-2024 | 3.4 KiB | 129 | 106 | |
FuzzPath.cpp | D | 03-May-2024 | 414 | 18 | 6 | |
FuzzPathMeasure.cpp | D | 03-May-2024 | 1.2 KiB | 39 | 29 | |
FuzzPathop.cpp | D | 03-May-2024 | 5.5 KiB | 203 | 167 | |
FuzzPolyUtils.cpp | D | 03-May-2024 | 1.3 KiB | 45 | 30 | |
FuzzRRect.cpp | D | 03-May-2024 | 418 | 18 | 6 | |
FuzzRegionOp.cpp | D | 03-May-2024 | 623 | 20 | 7 | |
FuzzSkParagraph.cpp | D | 03-May-2024 | 9.2 KiB | 283 | 212 | |
FuzzTriangulation.cpp | D | 03-May-2024 | 1 KiB | 34 | 17 | |
README.md | D | 03-May-2024 | 798 | 13 | 10 | |
coverage | D | 03-May-2024 | 2.8 KiB | 84 | 44 |
README.md
1We fuzz Skia using oss-fuzz, which in turn uses fuzzing engines such as libfuzzer, afl-fuzz, 2hong-fuzz and others. 3 4We define a `fuzzer` to be a targeted bit of code that takes a randomized input and executes code 5in a specific area. For example, we have a codec fuzzer which takes a mutated png/jpeg or similar 6file and attempts to turn it into an `SkImage`. We also have a canvas fuzzer which takes in a random 7set of bytes and turns them into calls on `SkCanvas`. 8 9See [../site/dev/testing/fuzz.md] for more information on building and running fuzzers. 10 11See also: 12 - [Creating a binary fuzzer](https://docs.google.com/document/d/1QDX0o8yDdmhbjoudNsXc66iuRXRF5XNNqGnzDzX7c2I/edit) 13 - [Creating an API fuzzer](https://docs.google.com/document/d/1e3ikXO7SwoBsbsi1MF06vydXRlXvYalVORaiUuOXk2Y/edit)