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:
Miklos Vajna
2020-05-15 10:05:19 +02:00
parent 3bb8754ef1
commit eacf089363

20
fuzzer/README Normal file
View 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/
----