Commit Graph

16 Commits

Author SHA1 Message Date
Navidem 849db9fb6a
Copy around options (#7560) 2022-04-12 13:48:27 -05:00
Navidem 87129f6972
Setting leak options for JBIG2 fuzzer (#7551) 2022-04-11 19:03:18 -05:00
Navidem 1414080bf7
Separate JBIG2 fuzzer (#7523)
* Separate JBIG2 fuzzer

* fix copyright string
2022-04-07 11:45:37 +10:00
Navidem b3b6f748cc
Fuzz JBIG2 code by checking on each object in PDF file (#7508) 2022-04-04 17:54:35 -07:00
Navidem b4dcddf1ee
Check for non-null baseStream (#7476) 2022-03-30 02:14:32 +00:00
Navidem c13fa231dc
Fuzzing for JBIG2 streams (#7475) 2022-03-30 12:57:32 +11:00
Julien Voisin 04a13fdefc
Improve the xpdf pdf fuzzer (#7241)
- Do not fail silently on compilation issues
- Use a static version of freetype
- Render the PDF on a bitmap, to exercise more code paths.
  - I'm planning on adding more outputs (maybe in new fuzzers) for Postscript for example
- Exercise more metadata gathering functions
- Use a stream instead of a file, to speed the fuzzer up
- Allocate the PDFDoc on the stack instead of the heap
- Don't install recommended packages

Co-authored-by: Autofuzz team <security-tps@google.com>
2022-02-05 21:54:41 +00:00
Julien Voisin aecae8b1b1
Improve xpdf's PDF fuzzer (#7187)
- Check the certificate when downloading the source code archive
- Don't use Qt, since it's only used for the xpdf GUI
- Be less verbose when unpacking the xpdf source code
- Install libpng, freetype and zlib to increase coverage
- Explicitly disable multithreading
- Exercise more codepaths

Co-authored-by: Autofuzz team <security-tps@google.com>
2022-01-26 16:47:59 +00:00
jonathanmetzman 03d18372d5
Reland [Ubuntu upgrade] Fix projects so they don't break with upgrade (#6313)
This reverts commit 878c32419c.

Related: #6180
2021-08-26 09:53:49 -07:00
Oliver Chang 878c32419c
Revert "[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)" (#6306)
This reverts commit 5549d804b3.
2021-08-26 15:42:34 +10:00
jonathanmetzman 5549d804b3
[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)
Fix projects so they don't break with upgrade.
These fixes are likely not backwards compatible and will fail on
Ubuntu 16.04.
Related: #6180
2021-08-25 22:14:52 -07:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
DavidKorczynski 1d2ada9309
Disabled leak check in xpdf. (#3992) 2020-06-16 07:07:37 -07:00
DavidKorczynski bd4b131ced
[xdfp] one more fuzzer (#3981)
* Added new fuzzer to xpdf.

* Updated sanitizers.

* Limit sanitizer to address as this is the only one that allows us to fuzz the pdf core parser.

* Disable logging and go further into the API.
2020-06-13 08:13:26 -07:00
DavidKorczynski ae45c47eec
Updated the docker and build of xpdf to work with updated xpdf download page. Now xpdf download page has a latest link. (#3938) 2020-06-05 13:57:57 -07:00
DavidKorczynski 6f973ac806
Added xpdf project. (#3565)
* Added xpdf project.

* Tried linking with cxx.

* Since the executables build are not needed for the fuzzer build to succeed we can ignore the case where some test-apps are not build on the oss-fuzz platform.

* Ignore errors that dont impact the fuzzers.

* Updated the project file with language field.
2020-04-02 08:04:22 -07:00