freetype/src
Werner Lemberg bcf618b256 [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.
2015-11-02 06:50:49 +01:00
..
autofit Comments. 2015-10-30 08:07:56 +01:00
base Formatting. 2015-10-31 19:08:27 +01:00
bdf Comments. 2015-10-30 08:07:56 +01:00
bzip2 [bzip2, gzip] Avoid access of unitialized memory (#46109). 2015-10-04 07:39:22 +02:00
cache Formatting. 2015-10-31 19:08:27 +01:00
cff Comments. 2015-10-30 08:07:56 +01:00
cid Comments. 2015-10-30 08:07:56 +01:00
gxvalid Comments. 2015-10-30 08:07:56 +01:00
gzip * src/gzip/ftgzip.c (FT_Stream_OpenGzip): Use real stream size. 2015-10-09 09:38:32 +02:00
lzw [bzip2, gzip, lzw] Harmonize function signatures with prototype. 2015-09-26 15:19:54 +02:00
otvalid Comments. 2015-10-30 08:07:56 +01:00
pcf Comments. 2015-10-30 08:07:56 +01:00
pfr Comments. 2015-10-30 08:07:56 +01:00
psaux [psaux] Fix tracing of negative numbers. 2015-10-19 23:00:28 +02:00
pshinter [pshinter] Avoid harmless overflow (#45984). 2015-09-29 11:22:15 +02:00
psnames Comments. 2015-10-30 08:07:56 +01:00
raster [raster] Minor style fix. 2015-09-29 12:38:11 +02:00
sfnt Formatting. 2015-10-31 19:08:27 +01:00
smooth [smooth] Faster alternative line renderer. 2015-10-06 22:39:54 -04:00
tools [ftfuzzer] Add support for multiple files (patch #8779). 2015-11-02 06:50:49 +01:00
truetype Comments. 2015-10-30 08:07:56 +01:00
type1 Comments. 2015-10-30 08:07:56 +01:00
type42 Comments. 2015-10-30 08:07:56 +01:00
winfonts Comments. 2015-10-30 08:07:56 +01:00
Jamfile Make Jam support work again. 2015-06-21 19:12:12 +02:00