git subrepo pull (merge) --force deps/libchdr
[pcsx_rearmed.git] / deps / libchdr / deps / zstd-1.5.5 / tests / fuzz / seq_prod_fuzz_example / README.md
1 # Fuzzing a Custom Sequence Producer Plugin
2 This directory contains example code for using a custom sequence producer in the zstd fuzzers.
3
4 You can build and run the code in this directory using these commands:
5 ```
6 $ make corpora
7 $ make -C seq_prod_fuzz_example/
8 $ python3 ./fuzz.py build all --enable-fuzzer --enable-asan --enable-ubsan --cc clang --cxx clang++ --custom-seq-prod=seq_prod_fuzz_example/example_seq_prod.o
9 $ python3 ./fuzz.py libfuzzer simple_round_trip
10 ```
11
12 See `../fuzz_third_party_seq_prod.h` and `../README.md` for more information on zstd fuzzing.