summaryrefslogtreecommitdiff
path: root/lib/fuzzing/fuzz_dcerpc_parse_binding.c
Commit message (Collapse)AuthorAgeFilesLines
* fuzz: fix multiple comment headersDouglas Bagnall2021-07-051-1/+1
| | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* fuzz: add a LLVMFuzzerInitialize() to all fuzzersDouglas Bagnall2021-03-161-0/+6
| | | | | | | | | | | | To compile the AFL binaries, we need every fuzzer to have a consistent set of functions. Some fuzzers require the initialize function, so all the rest must have an empty one. AFL binaires are handy for testing the fuzz results in a less magical environment than libfuzzer/honggfuzz give you. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
* fuzz_dcerpc_parse_binding: don't leakDouglas Bagnall2020-10-201-1/+3
| | | | | | | | | | | Also, by not tallocing at all in the too-long case, we can short circuit quicker. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Oct 20 02:26:40 UTC 2020 on sn-devel-184
* fuzz: add fuzz_dcerpc_parse_bindingDouglas Bagnall2020-10-161-0/+68
We parse a binding and do a few tricks with it, including turning it into a tower and back. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>