2020-05-15 03:05:19 -05:00
|
|
|
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
|
2021-11-18 06:08:14 -06:00
|
|
|
build tree, since the fuzzers config doesn't produce a `coolwsd` binary.
|
2020-05-15 03:05:19 -05:00
|
|
|
|
|
|
|
Run the fuzzers like this:
|
|
|
|
|
|
|
|
- Admin:
|
|
|
|
|
|
|
|
----
|
|
|
|
./admin_fuzzer -max_len=16384 fuzzer/admin-data/
|
|
|
|
----
|
|
|
|
|
|
|
|
- ClientSession:
|
|
|
|
|
|
|
|
----
|
|
|
|
./clientsession_fuzzer -max_len=16384 fuzzer/data/
|
|
|
|
----
|
2021-04-22 04:58:28 -05:00
|
|
|
|
2021-04-28 01:35:02 -05:00
|
|
|
- HttpResponse:
|
2021-04-22 04:58:28 -05:00
|
|
|
|
|
|
|
----
|
2021-04-23 07:05:23 -05:00
|
|
|
./httpresponse_fuzzer -max_len=16384 fuzzer/httpresponse-data/
|
2021-04-22 04:58:28 -05:00
|
|
|
----
|
2022-08-05 20:04:37 -05:00
|
|
|
|
|
|
|
- HttpEcho:
|
|
|
|
|
|
|
|
----
|
|
|
|
./httpecho_fuzzer -max_len=16384 fuzzer/httpecho-data/
|
|
|
|
OR, better:
|
|
|
|
./fuzzer/httpecho-fuzz.sh
|
|
|
|
----
|