44f4e59b6b
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> |
||
---|---|---|
.. | ||
admin-data | ||
data | ||
Admin.cpp | ||
ClientSession.cpp | ||
README |
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/ ----