mirror of
https://github.com/LibreOffice/online.git
synced 2025-07-29 12:01:08 +00:00

Also decrease the poll timeout to 0, otherwise testing each input would now take 5 sec, rather than ~3 ms. Change-Id: I1a4f347e5ec08a62d40131bfec3c504a19727323 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95437 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
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/ ----