libwebp/tests
James Zern 0fcb311cfc enc_dec_fuzzer: fix WebPEncode/pic.error_code check
pic.error_code may be set to VP8_ENC_ERROR_BAD_WRITE if the writer fails
due to a memory allocation failure.

Found by Nallocfuzz (https://github.com/catenacyber/nallocfuzz).

Change-Id: I912c9e5f9a37b78832c52d9ab6f0710967fbadac
2023-07-18 16:24:09 -07:00
..
fuzzer enc_dec_fuzzer: fix WebPEncode/pic.error_code check 2023-07-18 16:24:09 -07:00
README.md Markdownify libwebp docs and reorganize them. 2022-02-15 15:31:56 +00:00

Tests

This is a collection of tests for the libwebp libraries, currently covering fuzzing through the APIs. Additional test vector coverage can be found at: https://chromium.googlesource.com/webm/libwebp-test-data

Building

Fuzzers

Follow the build instructions for libwebp, optionally adding build flags for various sanitizers (e.g., -fsanitize=address).

fuzzer/makefile.unix can then be used to compile the fuzzer targets:

$ make -C fuzzer -f makefile.unix