libpldm: Add fuzzing for firmware FD responder
This includes a fuzz target fd-fuzz, and infrastructure to run with
either honggfuzz or AFL.
fd-fuzz-input1.dat was crafted from parts of a pldm firmware update
packet capture, as a seed to guide fuzzers.
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Change-Id: I424761a29a22bc964201fd7bd94ddc09a6ac89df
diff --git a/tests/meson.build b/tests/meson.build
index e85e1ba..0c3bc2b 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -18,6 +18,10 @@
subdir('dsp')
+if get_option('abi').contains('testing')
+ subdir('fuzz')
+endif
+
# The 'test' transport APIs will never be marked stable as they are just for
# testing.
if get_option('abi').contains('testing')