Add fuzzing support to build system
authorMichael Hanselmann <public@hansmi.ch>
Wed, 3 Apr 2019 22:23:07 +0000 (00:23 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 7 Aug 2019 06:07:28 +0000 (06:07 +0000)
commitdd5f8732d8b2ac6cd86e5d7dc8a9498d2b951a43
tree543610a4c04c3a6be9094e1ea3573cee7f52284d
parentaab17124785b6e4c004368b69bee28fb6cad55c3
Add fuzzing support to build system

LibFuzzer, Honggfuzz and other programs implement simple interfaces for
fuzzing appropriately prepared code. Samba contains quite a lot of
parsing code, often a good target for fuzzing.

With this change the build system is amended to support building fuzzing
binaries (added in later changes).

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
buildtools/wafsamba/samba_autoconf.py
buildtools/wafsamba/wscript
lib/fuzzing/README.md [new file with mode: 0644]
lib/fuzzing/fuzzing.c [new file with mode: 0644]
lib/fuzzing/fuzzing.h [new file with mode: 0644]
lib/fuzzing/wscript_build [new file with mode: 0644]
wscript_build