mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-26 06:32:54 +01:00
b92deba353
This function may fail due to allocation failures. Use the
NALLOC_FUZZ_VERSION environment variable to detect the engine. This was
added in:
9c9a9883cc
Change-Id: Ia5b6fd9458ffa1f810152a10ab49a48c75d17687
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