mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-25 13:18:22 +01:00
0fcb311cfc
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 |
||
---|---|---|
.. | ||
fuzzer | ||
README.md |
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