Commit Graph
39 Commits
Author SHA1 Message Date
Nigel Tao b840c80040 Make the status type a const char*, not a struct 2018-08-12 16:05:14 +10:00
Nigel Tao 2a32a86a6c Make the status type a struct, not an int32_t 2018-08-11 13:27:29 +10:00
Nigel Tao fd43e777bc Have check_wuffs_version return a status code 2018-08-05 22:29:54 +10:00
Jimmy Casey 3c50ada2c6 Fixed Spelling. 2018-07-26 17:12:19 +00:00
Nigel Tao 951d79fa00 Reorder decode_frame args 2018-07-22 17:27:29 +10:00
Nigel Tao 9514b12c7f Spin decode_frame_config out of decode_frame 2018-07-21 21:45:33 +10:00
Nigel Tao bc82e51371 Rename wuffs-unsupported-snapshot.h 2018-07-21 09:20:10 +10:00
Nigel Tao 1c75f7b748 Redo {frame,image,pixel}_config and pixel_buffer 2018-07-21 09:15:33 +10:00
Nigel Tao dcda30b96a Rename decode_config to decode_image_config 2018-07-15 19:48:30 +10:00
Nigel Tao a0bafff465 Ship as a "single file C library" 2018-07-14 08:59:36 +10:00
Nigel Tao 25a106903f Have include guards start with WUFFS_INCLUDE_GUARD 2018-06-16 08:10:22 +10:00
Nigel Tao 26ce04ab64 have image_buffer.set_from_slice return an error 2018-06-11 10:42:29 +10:00
Nigel Tao 3d035df908 Add a std/gif decode_frame work_buffer arg 2018-06-11 08:55:28 +10:00
Nigel Tao 50a955317a Remove the WUFFS_FOO__STATUS_ETC names 2018-06-10 22:05:06 +10:00
Nigel Tao d770e879ab Remove the wuffs_foo__status types 2018-06-10 21:40:43 +10:00
Nigel Tao 43bb14e886 Redo the encoding of error codes 2018-06-10 21:22:41 +10:00
Nigel Tao df96e48341 Rename some #ifndef WUFFS_BASE_HEADER_H guards 2018-06-10 09:37:30 +10:00
Nigel Tao 6d510bcfcb Spin out a std/lzw package 2018-06-02 14:15:09 +10:00
Nigel Tao 5b08ad2ba6 Change the order of check_wuffs_version args
This puts the self_ptr, self_len args next to each other.
2018-05-29 21:59:50 +10:00
Nigel Tao 87ab36f8c4 Have check_wuffs_version take the sizeof receiver
Also rename foo__initialize to foo__check_wuffs_version.
2018-05-29 14:20:27 +10:00
Nigel Tao 5badfef313 Remove unused base.io_writer arg 2018-05-29 08:41:42 +10:00
Nigel Tao 2301c763c3 Add a base.image_buffer arg to decode_frame 2018-05-18 09:42:24 +10:00
Nigel Tao ca66d68527 Call wuffs_base__image_buffer__set_from_slice 2018-05-17 20:49:23 +10:00
Nigel Tao 37ca5e8504 Remove fuzz' .cc files
They are no longer needed, as OSS-Fuzz has been updated:
https://github.com/google/oss-fuzz/commit/97db7e9
2018-05-03 11:40:37 +10:00
Nigel Tao db308f1045 Make the fuzz harness print status messages 2018-05-03 09:03:48 +10:00
Nigel Tao 2a97a1ad29 Edit fuzz' .c files to be C, not C++ 2018-05-03 08:15:29 +10:00
Nigel Tao 5ad9055572 Copy fuzz' .cc files as .c files 2018-05-03 08:10:25 +10:00
Nigel Tao 8827e222b1 Add wuffs_base__io_buffer__{reader,writer} funcs 2018-04-27 20:54:44 +10:00
Nigel Tao 035b138cb1 Spin out a std/adler32 package 2018-04-27 17:20:10 +10:00
Nigel Tao b6cc2d5e2d Add fuzz/c/std/seed_corpora.txt 2018-04-22 13:02:22 +10:00
Nigel Tao 97aab37462 Rename buf1, reader1, etc to io_buffer, io_reader
Also remove the unused Buf1, Buf2 and Usize tokens.
2018-04-05 20:49:48 +10:00
Nigel Tao 82a48796c8 Add pixel_format, image_buffer, etc. definitions 2018-04-05 17:09:33 +10:00
Nigel Tao d1399fac19 Rename test/testdata to test/data 2018-03-16 10:48:33 +11:00
Nigel Tao e93a750ccf Remove intentional OSS-Fuzz segfault
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6474
2018-02-21 16:17:31 +11:00
Nigel Tao fbdc648b1a Update note on OSS-Fuzz' Wuffs configuration 2018-02-21 12:19:16 +11:00
Nigel Tao af647eb719 Add a fuzzing README 2018-02-18 09:56:56 +11:00
Nigel Tao ee846ca7ff Rename foo.cc to foo_fuzzer.cc 2018-02-17 15:54:49 +11:00
Nigel Tao b182db372a Make fuzzers C++ programs, not C
Using https://github.com/google/oss-fuzz on .c files says:

clang-7.0: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated [-Wdeprecated]
2018-02-17 15:41:21 +11:00
Nigel Tao b23c235067 Add fuzz tests 2018-02-17 14:14:38 +11:00