libwebp/tests
James Zern 8151f388eb move VP8GetCPUInfo declaration to cpu.c
This avoids defining a version in each translation unit when using
__declspec(dllexport) which causes failures due to multiply defined
symbols with clang-cl:

lld-link: error: duplicate symbol: VP8GetCPUInfo
>>> defined at CMakeFiles\webpdecode.dir\Debug\src\dec\alpha_dec.c.obj
>>> defined at CMakeFiles\webpdsp.dir\Debug\src\dsp\dec_sse41.c.obj
...

Bug: webp:607
Change-Id: I6cd1ee75b3db984aa513263a05516e867a64925d
2023-04-27 12:39:13 -07:00
..
fuzzer move VP8GetCPUInfo declaration to cpu.c 2023-04-27 12:39:13 -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