libreoffice-online/fuzzer/README
Ashod Nakashian 41ea9d4930 fuzzers: add httpecho fuzzer script
Change-Id: Iab296461ac47d0ee23c23bf3629f7a08f77e238a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-08-17 08:55:12 -04:00

34 lines
744 B
Text

These fuzzers are meant to be built and executed inside lode.git's sanitizers
environment (currently enables both asan and ubsan).
online.git can be built the usual way, just the additional `--enable-fuzzers`
flag is needed to build the fuzzers. It is useful to do this in a separate
build tree, since the fuzzers config doesn't produce a `coolwsd` binary.
Run the fuzzers like this:
- Admin:
----
./admin_fuzzer -max_len=16384 fuzzer/admin-data/
----
- ClientSession:
----
./clientsession_fuzzer -max_len=16384 fuzzer/data/
----
- HttpResponse:
----
./httpresponse_fuzzer -max_len=16384 fuzzer/httpresponse-data/
----
- HttpEcho:
----
./httpecho_fuzzer -max_len=16384 fuzzer/httpecho-data/
OR, better:
./fuzzer/httpecho-fuzz.sh
----