libreoffice-online/fuzzer
Ashod Nakashian 44f4e59b6b wsd: RequestDetails takes the service root as argument
This avoids depending on LOOLWSD's statics, which
makes adding unit-tests much more difficult due to
the high number of dependencies LOOLWSD pulls.

Adds a number of unit-tests for RequestDetails.

Change-Id: I9f1d56f80a633505c7ff548ec0e33ffe61f59f53
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95290
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-06-02 17:28:40 +02: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 with read-only documents + uno command without param 2020-02-27 17:59:59 +01:00
Admin.cpp Add an initial libfuzzer based fuzzer for the admin console 2020-04-02 12:11:24 +02:00
ClientSession.cpp wsd: RequestDetails takes the service root as argument 2020-06-02 17:28:40 +02: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/
----