Commit Graph

22 Commits

Author SHA1 Message Date
jonathanmetzman dd2dc162c5
Disable dataflow builds for projects that have enabled it. (#7968)
* Disable dataflow builds for projects that have enabled it.

Related: https://github.com/google/oss-fuzz/issues/7963

* fix openjpeg

* fix
2022-07-07 13:27:39 +02:00
Sebastian Rasmussen 781b777e4b
[mupdf] Add Ken to auto_ccs. (#7526)
* [mupdf] Add main_repo to project.yaml.

* [mupdf] Add Ken to auto_ccs.
2022-04-07 13:31:08 +01:00
DavidKorczynski e3478f763c
mupdf: fix build (#6518) 2021-09-24 13:38:27 +01:00
Sebastian Rasmussen a79a3fdb5f
[mupdf] Copy fuzzer glue code to dir outside of git repo (#5504)
This makes it easier to build the fuzzer using a locally checked
out git repo without having to manually copy the fuzzer glue code
into the locally checked out git repo first.
2021-04-02 20:03:51 -07:00
Sebastian Rasmussen 96b6daf5ef
[mupdf] Improve custom allocator (#5505)
Previously the allocator handled small pointer values incorrectly
and prevented multiple executions (unexpectedly used when OSS-fuzz
uses LSAN to look for memory leaks).
2021-03-31 07:28:51 -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
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
Sebastian Rasmussen 503c09ebe1
[mupdf] Add @julians to auto_ccs (#3406) 2020-02-18 11:36:24 -08:00
Max Moroz f068aedd8d
[mupdf] enable dataflow config (#1632). (#3272)
Tested with https://pantheon.corp.google.com/logs/viewer?resource=build%2Fbuild_id%2F9e804198-492a-4762-8551-928c66a8b4e1&project=oss-fuzz&minLogLevel=0&expandAll=false&timestamp=2020-01-21T23:45:43.424000000Z&customFacets=&limitCustomFacetWidth=true&dateRangeEnd=2020-01-21T23:43:14.050Z&interval=PT1H&dateRangeUnbound=backwardInTime&scrollTimestamp=2020-01-21T20:24:16.755968968Z
2020-01-21 16:16:43 -08:00
Sebastian Rasmussen 27240f86f5 [mupdf] Update to latest version of API provided by MuPDF. (#2362)
This reverts commit 7fa021dfbe
because the corresponding API was reverted in the upstream project.
2019-05-01 15:47:53 -04:00
jonathanmetzman 3049c50d48
Migrate projects using -lFuzzingEngine to $LIB_FUZZING_ENGINE (#2325)
Migrate from -lFuzzingEngine to $LIB_FUZZING_ENGINE where possible and not causing breakage
2019-05-01 11:09:55 -04:00
Sebastian Rasmussen 7fa021dfbe [mupdf] Update to latest version of API provided by MuPDF. (#2294) 2019-04-05 12:16:43 -07:00
Sebastian Rasmussen 02c1436e9f [mupdf] Add custom allocator to avoid having fuzzer kill process (#1830) (#1832)
This fixes oss-fuzz #5679 and oss-fuzz #7803 for the mupdf project.
2018-09-24 23:38:08 -07:00
Sebastian Rasmussen ad33fea957 [mupdf] Plug memory leaks in fuzzer itself. (oss-fuzz #5497) (#1778)
If mupdf throws an exception (extremely likely in when fuzzing),
none of the resources such as the rendered pixmap, document or
stream were reclaimed before exiting causing memory leaks. These
leaks were blamed on the software itself, when it actually was
the fuzzer implementation that leaked.

Fix this by always cleaning up all resources.
2018-08-31 06:06:39 -07:00
Sebastian Rasmussen 837ad97be8 [mupdf] Adapt to recent API change, so test compiles again. (#1601) 2018-07-08 11:48:38 -07:00
Sebastian Rasmussen 673c8f9646 [mupdf] Change the name of the library used. (#1409)
The library name in the upstream project has
changed recently, accommodate for that.
2018-05-10 09:43:10 -07:00
Jonathan Rudenberg 61cec32e26 [mupdf] Ensure ctm variable is initialized (#1102) 2018-01-22 08:20:12 -08:00
Jonathan Rudenberg df50061797 [mupdf] Add @sebras to auto_ccs (#1100) 2018-01-21 10:16:13 -08:00
Jonathan Rudenberg 3b6b482b52 [mupdf] Ensure document is always freed (#1094) 2018-01-19 11:05:50 -08:00
Jonathan Rudenberg 984d3b0d92 [mupdf] Fix fuzzer (#1091)
Without the document handlers registered, nothing gets fuzzed!
2018-01-19 13:11:16 +11:00
Abhishek Arya daa994ebe1
Disable failing ubsan config in mupdf (#1085) 2018-01-18 08:39:29 -08:00
Jonathan Rudenberg afa38abb0c [mupdf] Add mupdf fuzzer (#1067)
* Add fuzzer for mupdf

* Address review comments

* Add check to ensure corpus/dict exist

* Silence stderr spam

* Update fuzzer based on review comments

* Enable MemorySanitizer

* Set primary contact
2018-01-18 07:45:09 -08:00