9afe974848
And remove the httpheader one, which is not useful, since it uses Poco for the actual parsing, it did not find anything. (If we switch away from Poco there in the future, it's easy enough to restore it.) Also fix some problems found by the fuzzer. Signed-off-by: Miklos Vajna <vmiklos@collabora.com> Change-Id: I254247c46ecc78c9c3e75aac4f10c441b0e10fb3 |
||
---|---|---|
.. | ||
admin-data | ||
data | ||
httpresponse-data | ||
httpstatus-data | ||
Admin.cpp | ||
ClientSession.cpp | ||
HttpResponse.cpp | ||
HttpStatus.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/ ---- - HttpStatus: ---- ./httpstatus_fuzzer -max_len=16384 fuzzer/httpstatus-data/ ---- - HttpRessponse: ---- ./httpresponse_fuzzer -max_len=16384 fuzzer/httpresponse-data/ ----