• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Tests
2
3This is a collection of tests for the libwebp libraries, currently covering
4fuzzing through the APIs. Additional test vector coverage can be found at:
5https://chromium.googlesource.com/webm/libwebp-test-data
6
7## Building
8
9### Fuzzers
10
11Follow the [build instructions](../doc/building.md) for libwebp, optionally
12adding build flags for various sanitizers (e.g., -fsanitize=address).
13
14`-DWEBP_BUILD_FUZZTEST=ON` can then be used to compile the fuzzer targets:
15
16```shell
17$ cmake -B ./build -S . -DWEBP_BUILD_FUZZTEST=ON
18$ make -C build
19```
20