mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-01 16:04:55 +00:00
libfuzzer: add initial documentation
So that one does not have to search back the commit messages to get the commandlines to run these. Change-Id: I3acfc0fa5b38577f22f6248a8ae0705e6af68940
This commit is contained in:
20
fuzzer/README
Normal file
20
fuzzer/README
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
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/
|
||||||
|
----
|
Reference in New Issue
Block a user