Commit Graph

2259 Commits

Author SHA1 Message Date
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
Kevin Lubick 4f7d1e874f [skia] Move api_raster_n32_canvas to mem constraints build (#1280) 2018-03-29 07:05:26 -07:00
Nigel Tao 7f3b7e4576 Fix projects/wuffs build failure (#1278)
Fixes #1272

The wuffs directory layout changed with
https://github.com/google/wuffs/commit/d1399fac
2018-03-29 06:31:17 -07:00
Matt Kwong 6c41b292ac [grpc] Add address sorting submodule to gRPC build.sh (#1276) 2018-03-28 17:34:54 -07:00
Paul Kehrer 6ecb20612a fix libjpeg-turbo build (#1269) 2018-03-25 21:13:03 -07:00
Paul Kehrer 49b99a278d add libjpeg-turbo and freetype to the IM delegate list (#1270) 2018-03-25 21:11:13 -07:00
Paul Kehrer e5da65cbbe add 4 additional delegate libraries for imagemagick (#1268) 2018-03-26 12:33:35 +11:00
Garret Rieger e6540bba96 [harfbuzz] remove harfbuzz/test/subset/data/fonts from corpus, it's mostly duplicates of whats in test/api/fonts and is breaking the build step for harfbuzz. (#1264) 2018-03-23 07:01:33 -07:00
Guido Vranken 690dd9cdfb [bignum-fuzzer] Add OpenSSL/C++ Boost multiprecision target (#1262)
* Add OpenSSL/C++-Boost target

* Add OpenSSL/C++-Boost target

* Add security@golang.org to CCs
2018-03-22 08:01:35 -07:00
Paul Kehrer 4a733d70f6 add libtiff and libde265 to the imagemagick container (#1263)
prep for expanding IM's delegate library fuzzing
2018-03-21 19:53:24 -07:00
Garret Rieger 091d1197d2 [harfbuzz] Update harfbuzz fuzzer config to include new hb-subset-fuzzer target. (#1260) 2018-03-21 11:03:55 -07:00
Kevin Lubick c7a2de6aac [skia] port two more canvas fuzzers (#1261) 2018-03-21 10:35:14 -07:00