libreoffice-online/fuzzer/README
Miklos Vajna f4759515be fuzzers: HttpResponse is a superset of HttpStatus
HttpResponse covers http::Response::readData(), HttpStatus covered
http::StatusLine::parse(). The first calls the second, so remove the
second.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I163819ca470b766a7bc4694a9c6cfe4919e17963
2021-04-28 09:02:08 +02:00

26 lines
627 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 `loolwsd` 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/
----