libreoffice-online/fuzzer
Miklos Vajna 8f1621299b wsd: guard against negative counter in loolclient cmd
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: If1b1b515015b8aae01f2d1a6cb6a98426e2b03a8
2021-06-04 14:31:57 +02:00
..
admin-data
data wsd: guard against negative counter in loolclient cmd 2021-06-04 14:31:57 +02:00
httpresponse-data Add a fuzzer for http::Response::readData() 2021-04-23 17:54:36 +02:00
Admin.cpp HttpRequest: add missing config.h include 2021-03-30 12:23:09 +02:00
ClientSession.cpp HttpRequest: add missing config.h include 2021-03-30 12:23:09 +02:00
HttpResponse.cpp Add a fuzzer for http::Response::readData() 2021-04-23 17:54:36 +02:00
README fuzzers: HttpResponse is a superset of HttpStatus 2021-04-28 09:02:08 +02:00

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/
----