libreoffice-online/fuzzer
Miklos Vajna 3c0e7707bd admin fuzzer: fix build
This went wrong in commit 693a2e19e3 (wsd:
SocketPoll::poll accepts chrono duration, 2020-12-14).

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I04780d7a5ef8ba54530df7727f2fe4df59995fb9
2021-01-04 11:45:01 +01:00
..
admin-data admin_fuzzer: fix too large param to mem stats size setter 2020-04-20 15:44:21 +02:00
data wsd: fix crash on renderfont when the doc broker has no tile cache 2020-12-21 10:23:56 +01:00
Admin.cpp
ClientSession.cpp admin fuzzer: fix build 2021-01-04 11:45:01 +01:00
README libfuzzer: add initial documentation 2020-05-15 10:06:58 +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/
----