mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
dd5f8732d8
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>
8 lines
141 B
Python
8 lines
141 B
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA_SUBSYSTEM('fuzzing',
|
|
source='fuzzing.c',
|
|
deps='talloc',
|
|
enabled=bld.env.enable_libfuzzer,
|
|
)
|