mirror of
https://github.com/samba-team/samba.git
synced 2025-08-05 12:22:11 +03:00
fuzz: add a LLVMFuzzerInitialize() to all fuzzers
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>
This commit is contained in:
committed by
Jeremy Allison
parent
17602fefde
commit
e0dd4d0ac0
@ -329,3 +329,9 @@ int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int LLVMFuzzerInitialize(int *argc, char ***argv)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user