summaryrefslogtreecommitdiff
path: root/lib/fuzzing/fuzz_nmblib_parse_packet.c
AgeCommit message (Collapse)AuthorFilesLines
2021-03-16fuzz: add a LLVMFuzzerInitialize() to all fuzzersDouglas Bagnall1-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>
2020-01-15fuzz: add nmblib/parse_packet targetDouglas Bagnall1-0/+56
We want to ensure that parse_packet() can parse a packet without crashing, and that that parsed packet won't cause trouble further down the line. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz> Autobuild-User(master): Gary Lockyer <gary@samba.org> Autobuild-Date(master): Wed Jan 15 21:24:31 UTC 2020 on sn-devel-184