summaryrefslogtreecommitdiffstats
path: root/fuzzer
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-05-15 10:05:19 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-05-15 10:06:58 +0200
commiteacf089363dbbecfb804c4c68ca27c1682b61b35 (patch)
treee81662342c7ab82175c5eb13ad5d7516639833ad /fuzzer
parentWelcome: include the host + service-root. (diff)
downloadonline-eacf089363dbbecfb804c4c68ca27c1682b61b35.tar.gz
online-eacf089363dbbecfb804c4c68ca27c1682b61b35.zip
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
Diffstat (limited to 'fuzzer')
-rw-r--r--fuzzer/README20
1 files changed, 20 insertions, 0 deletions
diff --git a/fuzzer/README b/fuzzer/README
new file mode 100644
index 0000000000..de16da5cba
--- /dev/null
+++ b/fuzzer/README
@@ -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/
+----