Commit Graph

2270 Commits

Author SHA1 Message Date
Alex Gaynor cfda53dfe4 [imagemagick] change which rpo is used for the HEIC delegate (#1371) 2018-04-27 12:16:27 -07:00
Alex Gaynor 82ca53f55d Attempt at fixing run_fuzzer for honggfuzz (#1370) 2018-04-27 07:56:18 -07:00
Max Moroz a51ea6df92 [infra] Temporarily disable bad build check with seed corpus. 2018-04-27 07:10:08 -07:00
Oliver Chang 798abca6f4
Update fuzzer_environment.md 2018-04-27 13:53:29 +10:00
Oliver Chang 924a786039
Update run_minijail 2018-04-27 13:46:39 +10:00
Kevin Lubick be6e1e3b06 [skia] Fix build and expand api_fuzzer size (#1363) 2018-04-26 08:06:02 -07:00
Max Moroz 69ffa9bfdf
[infra] Invoke run_fuzzer from bad_build_check for regression testing (fixes #1355). (#1357)
* [infra] Invoke run_fuzzer from bad_build_check for regression testing (fixes #1355).

* Address review comments.
2018-04-26 07:17:44 -07:00
Chris Wolfe 36de5d7b29 [msgpack-c] move seeds to source repo (#1360)
* remove fetching seeds from my corpus, fetch instead from src repo

* conditionally zip up fuzzer seed corpora for any fuzzer passed in

* Simplify build steps

We already know that the fuzzers are being iterated over due to the loop
and globbing. As such, we can use more of the fuzzer name and reduce
repetition. This should allow us to add fuzzers/corpora to the src repo
and no need to change anything about the build script or dockerfile
2018-04-26 07:16:39 -07:00
Chris Wolfe 37ced73db3 [msgpack-c] Get the fuzzers from the source repo, use a for loop for future fuzzers (#1359) 2018-04-25 08:46:19 -07:00
Marek Marczykowski-Górecki e01619962e qubes-os: add app-linux-input-proxy fuzzer (#1340) 2018-04-23 12:25:11 -07:00
jwzawadzki b948d87d16 [wireshark] fix build issue (#1347) (#1350)
Dario Lombardo removed autotools support in https://code.wireshark.org/review/26969,
convert to cmake build system.
2018-04-22 08:35:07 -07:00
Abhishek Arya 55c401a7ea
Fix #540 2018-04-21 23:02:24 -07:00
Abhishek Arya 9bff06cba6
Remove unmaintained fuchsia_fidl project. (#1349) 2018-04-21 22:41:54 -07:00
Nigel Tao 1e4c9ca39e [wuffs] Allow more file extensions in Wuffs' seed corpora (#1348)
The Wuffs project handles multiple file formats, such as GIF and ZLIB
decoders. Prior to this commit, the format name and the file extension
were the same (case-insensitive) string: fuzz-testing the GIF format was
seeded with test files matching "*.gif", and "*.gif" was trivially
derived from the "gif_fuzzer.cc" file name.

For the GZIP file format, the conventional file extension is ".gz", not
".gzip". For the JPEG file format, both ".jpeg" and ".jpg" are widely
used. Building the seed corpus for future Wuffs codecs might require
mapping from the file format name to arbitrary file extensions.

Wuffs' fuzz/c/std/seed_corpora.txt file (added in
https://github.com/google/wuffs/commit/b6cc2d5e) provides that mapping.
This commit updates OSS-Fuzz's projects/wuffs/build.sh to use it.
2018-04-21 21:50:40 -07:00
Max Moroz 4d4f867b54 [infra] Fix RegEx in bad_build_check as "coverage" builds do not have counters, only guards. 2018-04-20 09:54:54 -07:00
Chris Wolfe 36beab3322 add another core committer (#1345) 2018-04-19 19:30:32 -07:00
htuch 5627490d49 envoy: automatically discover fuzz targets. (#1342)
This avoids needing to manually add targets as we grow them in the Envoy
repo.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-04-19 13:48:58 -07:00
Eric Rizzi fcfa1d234b Zip existing `file` testcases to create seed_corpus (#1343) 2018-04-19 13:47:03 -07:00
Garret Rieger d62c965765 [harfbuzz] Add new target hb-subset-get-codepoints-fuzzer. (#1341) 2018-04-17 18:16:33 -07:00
Paul Kehrer fa9bc41bd5 Fix libtiff build (#1339) 2018-04-17 16:21:09 -07:00
Max Moroz b5833a7826 [docs] Deprecate use of max_len, recommend sanity check that returns 0 (cc #1324). 2018-04-17 15:33:27 -07:00
Max Moroz 2519639f73 [infra] Lower down THRESHOLD_FOR_NUMBER_OF_EDGES to 100 (fixes #1333). 2018-04-17 15:28:01 -07:00
Max Moroz 45073322b2 [augeas] Fix fuzz target that was crashing on a startup (fixes #1326). 2018-04-17 14:14:54 -07:00
Max Moroz 4df2262466
[infra] Enable bad build checks once again. (#838)
* [infra] Enable bad build checks once again.

* Minor typo.

* [bad_example] Update build flags for reproducing bad instrumentation scenario.

* [bad_example] split bad/no instrumentation case into two different ones.

* Use new approach for partial instrumentation detection + do that only for libFuzzer.

* Rename bad_example_bad_instrumentation into bad_example_partial_instrumentation.

* Calculate number of broken targets and fail if 10+% are broken.

* Multiprocess madness.

* Always run all checks and store all errors + clean up the code and add comments

* Add special handling for the projects with very small fuzz targets.

* Remove unnecessary semicolon.

* Address review comments.

* Address more review comments, small refactoring.
2018-04-17 09:31:53 -07:00
Paul Kehrer ad80480393 [libtiff] move libtiff build scripts and fuzzers to the libtiff repo (#1317) (#1325) 2018-04-17 07:18:38 -07:00
Kevin Lubick 3861b00525 [skia] Refactor build.sh for easier warning silences (#1322) 2018-04-16 12:58:50 -07:00
Tim Rühsen c49cfdc192 [Wget] Add project (#1314) 2018-04-16 09:59:03 -07:00
Nikos Mavrogiannopoulos af10d7c96b [gnutls] added Ander Juaristi (#1321)
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2018-04-16 08:42:02 -07:00
Kevin Lubick 2762a8ffa2 [skia] Fix build after code refactor (#1320) 2018-04-16 06:55:43 -07:00
Oliver Chang 44b2464a3f
Revert "move libtiff build scripts and fuzzers to the libtiff repo (#1317)" (#1319)
This reverts commit 70b4b39e67.
2018-04-16 12:16:54 +10:00
Paul Kehrer 70b4b39e67 move libtiff build scripts and fuzzers to the libtiff repo (#1317) 2018-04-15 19:10:40 -07:00
Paul Kehrer e30693ca0c add lcms to IM delegate list (#1318) 2018-04-15 19:10:11 -07:00
Max Dymond f74e026685 curl: Download dependencies in Docker using the curl-fuzzer scripts (#1316)
curl-fuzzer would like to use a script to define the dependencies
downloaded as part of oss-fuzz image generation, so that only one
repository needs updating in order to get future fuzzing builds running.
2018-04-15 15:58:27 -07:00
Alex Gaynor aeee0fdc62 Drop -v from graphicsmagick clone (#1315)
Reduces the verbosity, and it was never that useful for debugging anyways.
2018-04-15 10:31:21 -07:00
Chris Wolfe 0a46b4bffe Add msgpack-c (#1313)
Add fuzzer for pack and unpack functions
2018-04-13 08:57:02 -07:00
Jonathan Foote c757771dcc Add LLVM wasm32-wasm isel fuzzer (#1296)
* Add LLVM wasm32-wasm isel fuzzer

* Simplify LLVM wasm32-wasm fuzzer integration
2018-04-12 21:51:04 -07:00
fenner 37c4a2c8e5 Allow passing environment variables to reproducer (#1312) 2018-04-11 10:12:13 -07:00
Paul Kehrer 3dd226d31b libtiff support (#1311)
Add Initial libtiff fuzzer
2018-04-10 17:37:33 -07:00
Paul Kehrer 603b7bb818 add libpng to imagemagick (#1304)
* add libpng to imagemagick

* add HEIC corpus source
2018-04-08 00:20:21 -07:00
Kevin Lubick f677243343 [skia] Reverse condition in SkScan_Hairline (#1297) 2018-04-05 07:18:37 -07:00
Paul Kehrer 7040f91b3c [libexif] add libexif (#1285)
* add libexif

* make the fuzzer parse a bit more

* review feedback, be less confusing with Data and data vars

* added primary contact
2018-04-03 19:51:30 -07:00
Kevin Lubick d8766eea5e [skia] Change api_null_gl_canvas fuzzer to use mock gl context (#1294) 2018-04-03 10:03:38 -07:00
Kevin Lubick e70253d1a3 Add more Skia folks (#1293) 2018-04-03 06:21:06 -07:00
Darío Hereñú eff1614229 Minor proposal (on string #35) (#1289) 2018-04-01 22:28:18 -07:00
Paul Kehrer 83a3e78c06 add xz and libraw to imagemagick delegates (#1287) 2018-04-01 15:15:12 -07:00
jfkthame 9f770fa88b Adding @jfkthame to cc for OTS (#1288) 2018-04-01 15:14:51 -07:00
Kevin Lubick 0dabe535fb [skia] Fix guard causing false positive (#1284) 2018-03-30 10:47:02 -07:00
jonathanmetzman 8a06f71b36 [skia] Add GPU fuzzer that doesn't actually talk to the GPU (api_null_gl_canvas) (#1281)
* Initial commit after submitting harness to skia repo.

* merge patch

* Remove trailing newline.

* Rename fuzzer to api_null_gl_canvas.

* Finish renaming

* Add comment explaining patchelf in build.sh
2018-03-30 10:12:50 -07:00
Kevin Lubick 5f50a7c39b [skia] Add encoder fuzzers (#1283) 2018-03-30 08:24:05 -07:00
fenner a0ed5dafbf Add net-snmp project (#1277)
* Initial infrastructure for net-snmp in the AutoFuzz project

* Add a fuzzer based on what Google sent us

Storing this here until we have a more complete design
for storing fuzzers in the net-snmp source tree.

* calloc PDU so we can use the standard pdu free, to avoid false leaks

* Only turn on debugging when $NETSNMP_DEBUGGING is set in the environment

The debugging is useful to help replicate the problem, but
not useful when simply running the fuzzer, so let the user
choose it by settng $NETSNMP_DEBUGGING in their environment
when running the replication.

* Add agentx_parse_fuzzer

* Build agentx_parse_fuzzer

* Add copyright notice, copy boilerplate from init

* Don't make a copy, just pass the data in directly.

(Also, don't use C++-style comment, the regression test
in the net-snmp codebase will be C.)
2018-03-29 07:13:49 -07:00