Commit Graph
104 Commits
Author SHA1 Message Date
Nigel Tao 13f9ecec68 Have pixel_swizzler_fuzzer use no-r/w guard pages 2021-03-22 23:20:30 +11:00
Nigel Tao 41bfcabd3a Add fuzz/c/std/pixel_swizzler_fuzzer.c 2021-03-22 14:02:39 +11:00
Nigel Tao 3e5afc3e52 Remove png_fuzzer "smoke alarm test"
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31984
2021-03-13 13:39:35 +11:00
Nigel Tao 49c5692c32 Add png_fuzzer "smoke alarm test" 2021-03-11 11:05:20 +11:00
Nigel Tao 2f78804e62 Use more inclusive language 2021-01-23 19:50:47 +11:00
Nigel Tao 0de64ee8b7 Use WUFFS_BASE__QUIRK_IGNORE_CHECKSUM 2021-01-21 22:49:57 +11:00
Nigel Tao 1ff74749f0 Add fuzz/c/std/png_fuzzer.c 2020-12-28 15:58:05 +11:00
Nigel Tao 1c8f9280fd Add fuzz/c/std/bmp_fuzzer.c 2020-12-15 22:25:21 +11:00
Nigel Tao 4346028a23 Factor out fuzz/c/fuzzlib/fuzzlib_image_decoder.c 2020-12-15 22:21:55 +11:00
Nigel Tao bb7390261a Have gif_fuzzer sometimes use a BGRA_PREMUL dst 2020-12-15 22:07:31 +11:00
Nigel Tao cd4cbc9102 Tweak JSON trailing comment/new-line quirks 2020-09-22 23:03:49 +10:00
Nigel Tao fa50f4de67 Add json QUIRK_ALLOW_TRAILING_COMMENT 2020-09-21 11:24:22 +10:00
Nigel Tao 6c13877688 Drop WUFFS_JSON__QUIRK_ALLOW_BACKSLASH_X_AS_BYTES
We can always add it back later if there's demand for it.
2020-08-30 16:15:35 +10:00
Nigel Tao d690ce7dce Fix cbor_fuzzer for extended-token CBOR tags
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24946
2020-08-16 23:57:21 +10:00
Nigel Tao c7b90256b3 Bump fuzzlib hash size from 32 to 64
Also have json_fuzzer choose at most one of the BACKSLASH_X quirks.
2020-08-10 22:56:47 +10:00
Nigel Tao 28ef6a7862 Add fuzz/c/std/cbor_fuzzer.c 2020-08-10 22:29:08 +10:00
Nigel Tao 9132dd6e2e Fix json_fuzzer for QUIRK_ALLOW_BACKSLASH_X rename 2020-08-06 23:59:29 +10:00
Nigel Tao 702c7b299f Let wuffs_base__utf_8__etc take ptr-to-const-u8 2020-07-22 15:42:54 +10:00
Nigel Tao c510bc0c91 Roll forward 6a85e9a6
6a85e9a6a9 rolled back
a4527c359a "Update seed_corpora.txt".

The oss-fuzz build should be fixed by:
https://github.com/google/oss-fuzz/pull/3763
2020-05-06 14:22:51 +10:00
Nigel Tao 6a85e9a6a9 Roll back a4527c35
a4527c359a is "Update seed_corpora.txt".
This broke the oss-fuzz build:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22035
2020-05-06 10:42:56 +10:00
Muhammad Aldo Firmansyah a4527c359a Update seed_corpora.txt
Add more json corpus from simdjson_fuzz repo
2020-05-01 11:05:32 +07:00
Nigel Tao 496e88b6c5 Remove wuffs_base__token__link_prev 2020-04-09 22:11:08 +10:00
Nigel Tao 2ef3999d6d Remove use of wuffs_base__token__link_prev 2020-04-09 17:24:39 +10:00
Nigel Tao 462f86675d Add an "extended token" concept 2020-04-02 11:20:45 +11:00
Nigel Tao f909c69deb Have fuzz/* global variable names start with g_ 2020-03-26 14:49:43 +11:00
Nigel Tao f3146c2ea9 Add base.token_decoder.workbuf_len 2020-03-26 08:47:42 +11:00
Nigel Tao 3bfed6d812 Rename std/json quirk_replace_invalid_utf_8 2020-03-24 17:44:47 +11:00
Nigel Tao 5695385055 Add fuzz/c/std/json_fuzzer.c quirks 2020-03-24 14:46:05 +11:00
Nigel Tao fdac24a425 Rename FOO_BUFFER_SIZE to FOO_BUFFER_ARRAY_SIZE 2020-03-06 21:53:08 +11:00
Nigel Tao 6892095998 Have C programs handle flags consistently 2020-03-03 11:25:18 +11:00
Nigel Tao b10460f643 Add a fuzz/c --color flag 2020-03-01 14:09:40 +11:00
Nigel Tao 3ab7640bab Add a fuzz_simple implementation to json_fuzzer 2020-03-01 13:49:50 +11:00
Nigel Tao 260995cb05 Have fuzz/c programs define WUFFS_CONFIG__MODULES
Before:
$ time ./build-fuzz.sh fuzz/c/std/json_fuzzer.c
real	0m0.822s
user	0m0.792s
sys	0m0.031s

After:
$ time ./build-fuzz.sh fuzz/c/std/json_fuzzer.c
real	0m0.294s
user	0m0.271s
sys	0m0.024s
2020-03-01 13:11:36 +11:00
Nigel Tao 21682f403f Add fuzz/c/std/json_fuzzer.c 2020-03-01 12:01:42 +11:00
Nigel Tao 2914bae3b2 Re-format C function signatures 2020-02-26 09:40:30 +11:00
Nigel Tao 9cc2c25f3d Have different exit codes for errors vs exceptions 2020-02-23 17:05:49 +11:00
Nigel Tao 1a791217de Add wuffs_base__pixel_blend type 2020-01-14 09:27:04 +11:00
Nigel Tao 5f8d2da74f Rename decode_io_writer methods to transform_io 2020-01-11 10:19:25 +11:00
Nigel Tao 0fa32bd09f Rename warnings to notes 2020-01-05 13:15:00 +11:00
Nigel Tao e6db7f6a40 Make wuffs_base__status a struct 2020-01-05 10:48:20 +11:00
Nigel Tao aa846d2dd7 Remove io_{reader,writer} C types 2019-07-06 17:23:34 +10:00
Nigel Tao d7f434c6e4 Have the GIF decoder check for "not enough data"
Fixes #20
2019-02-23 14:29:16 +11:00
Nigel Tao 53760ce0fd Call initialize instead of check_wuffs_version 2019-02-16 14:18:25 +11:00
Nigel Tao 77c778fb2e Let fuzzers recurse into directories 2019-02-16 11:59:41 +11:00
Nigel Tao 115612eb74 Have fuzzers handle a zero workbuf_len 2019-02-16 09:50:00 +11:00
Nigel Tao bcbad690a4 Add test/data/artificial to seed_corpora.txt 2019-02-16 09:34:40 +11:00
Nigel Tao 0842bc7115 Make the GIF dirty_rect be in the frame_rect
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11823
2019-02-09 13:56:24 +11:00
Nigel Tao fc4abafbe7 Rename decoder_max_incl_workbuf_len constants 2019-02-03 15:44:25 +11:00
Nigel Tao de5b64a846 Rename max_incl_workbuf_len constants 2019-02-02 16:29:54 +11:00
Nigel Tao 5f7c807729 Generate macros for public scalar consts 2019-02-02 16:17:10 +11:00