Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 04e00b8a | 2017-04-07 17:13:38 | [ftfuzzer] Fix clang warnings. * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Add casts. | ||
| ab840e6a | 2017-03-18 08:50:42 | [ftfuzzer] Minor improvement. * src/tools/ftfuzzer/ftfuzzer.cc: Don't set intermediate axis if bitmap strikes are active. | ||
| 3f92048a | 2017-03-15 09:18:22 | [ftfuzzer] Limit number of tested faces and instances. This is inspired by the discussion in and analysis of https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=859 * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Use only up to 20 face indices. Use only up to 20 instance indices. | ||
| f87269c3 | 2017-03-15 08:03:16 | * src/tools/ftfuzzer/ftfuzzer.cc: Improve readability; formatting. | ||
| ca472220 | 2017-01-17 23:45:08 | Typos. | ||
| 563ae780 | 2017-01-04 20:16:34 | Update copyright year. | ||
| 8fb9d22a | 2016-12-30 19:51:37 | [ftfuzzer] Replace `rand' with an xorshift algorithm. * src/tools/ftfuzzer/ftfuzzer.cc: Don't include `stdlib.h'. (Random): Implement and use a 32bit `xorshift' algorithm. | ||
| 6b21d128 | 2016-12-30 10:00:54 | [ftfuzzer] Restrict number of tested bitmap strikes. Malformed fonts often have large values for the number of bitmap strikes, and FreeType doesn't check the validity of all bitmap strikes in advance. Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=353 * src/tools/ftfuzzer/ftfuzzer.cc: Include `stdlib.h' for `rand'. (Random): Small class to provide n randomly selected numbers (without repitition) out of the value set [0,N]. (LLVMFuzzerTestOneInput): Use it to test only up to 10 bitmap strikes. | ||
| ada82971 | 2016-12-22 08:25:42 | [ftfuzzer] Always use Adobe CFF engine. * src/tools/ftfuzzer/ftfuzzer.cc (FT_Global::FT_Global): Implement it. | ||
| 71b617d8 | 2016-09-29 19:53:39 | [ftfuzzer] Speed up. * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Don't check for embedded bitmaps if we have a non-default instance. | ||
| d11e8b6e | 2016-09-25 15:32:04 | * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Fix typo. | ||
| deb26155 | 2016-09-09 22:13:33 | [ftfuzzer] Minor improvements. * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Ignore invalid strikes. Use better values for call to `FT_Set_Char_Size'. | ||
| ee6b4115 | 2016-03-12 23:48:13 | [ftfuzzer] Improve coverage of rasterfuzzer. * src/tools/ftfuzzer/rasterfuzzer.cc (LLVMFuzzerTestOneInput): Use input data for `tags' array also. Trim input data to get more positive hits. | ||
| a8b95622 | 2016-03-01 09:37:12 | [ftfuzzer] Add unit for testing smooth and black rasterizers. * src/tools/ftfuzzer/rasterfuzzer.cc: New file. | ||
| 015c6e08 | 2016-03-01 06:45:52 | Fix clang warnings. * src/autofit/aflatin.c (af_latin_hints_compute_segments): Use FT_UShort for `min_flags' and `max_flags'. Initialize `prev_*' variables. * src/cff/cffobjs.c (cff_face_init) [FT_DEBUG_LEVEL_TRACE]: Fix types of local variables. * src/smooth/ftgrays.c (gray_dump_cells) [FT_DEBUG_LEVEL_TRACE]: Update `printf' format string. * src/tools/ftfuzzer/ftfuzzer.cc (setIntermediateAxis): Add cast. (LLVMFuzzerTestOneInput): Fix loop type. | ||
| 9cc2d467 | 2016-02-05 11:52:50 | Minor. | ||
| 9adeab64 | 2016-01-13 11:54:10 | Update copyright year. | ||
| 7363414b | 2015-11-07 06:32:46 | [ftfuzzer] Add copyright notices; do some formatting. | ||
| 6bda921d | 2015-11-02 06:53:48 | [ftfuzzer] Update README file. | ||
| bcf618b2 | 2015-11-02 06:50:49 | [ftfuzzer] Add support for multiple files (patch #8779). Currently, libFuzzer only supports mutation of a single file. We circumvent this problem by using an uncompressed tar archive as multiple-file input for the fuzzer. This patch enables tests of `FT_Attach_Stream' and AFM/PFM parsing; a constructed tarball should contain a font file as the first element, and files to be attached as further elements. * src/tools/ftfuzzer/ftfuzzer.cc: Include libarchive headers. (archive_read_entry_data, parse_data): New functions. (LLVMFuzzerTestOneInput): Updated. * src/tools/ftfuzzer/ftmutator.cc: New file, providing a custom mutator for libFuzzer that can mutate tarballs in a sensible way. | ||
| 3066f5f5 | 2015-10-21 14:05:41 | Revert erroneously applied commits. | ||
| e6593389 | 2015-10-21 08:04:29 | [sfnt] Avoid unnecessarily large allocation for WOFFs (#46257). * src/sfnt/sfobjs.c (woff_open_font): Use WOFF's `totalSfntSize' only after thorough checks. Add tracing messages. | ||
| 266976b1 | 2015-10-15 22:15:53 | add src/tools/ftfuzzer/README | ||
| 8b76eaf0 | 2015-10-15 18:28:43 | * src/tools/ftfuzzer/ftfuzzer.cc: Handle fixed sizes (#46211). | ||
| bdb56bba | 2015-10-13 11:51:13 | [ftfuzzer] Handle TTCs and MM/GX variations. This patch also contains various other improvements. * src/tools/ftfuzzer/ftfuzzer.cc: Add preprocessor guard to reject pre-C++11 compilers. (FT_Global): New class. Use it to provide a global constructor and destructor for the `FT_Library' object. (setIntermediateAxis): New function to select an (arbitrary) instance. (LLVMFuzzerTestOneInput): Loop over all faces and named instances. Also call `FT_Set_Char_Size'. | ||
| dde84f25 | 2015-10-07 22:18:22 | [ftfuzzer] Add support for LLVM's LibFuzzer. * src/tools/ftfuzzer/ftfuzzer.cc, src/tools/runinput.cc: New files. |