From 6582fe8638ab6c37551691a6a0196b22977a6e2e Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 30 Oct 2016 23:39:21 -0400 Subject: Import fuzzer drivers Originally from https://github.com/randombit/botan-fuzzers but merging to the main tree (without the corpus files, since I suspect the corpus files in that repo are not useful anymore) Adds --unsafe-fuzzer-mode which can be used to selectively disable cryptographic checks which get in the way of fuzzer testing. This setting is reflected in build.h and in the version string. Right now it doesn't actually disable anything. --- src/build-data/buildh.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/build-data/buildh.in') diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in index c5912e4ed..41685cfc4 100644 --- a/src/build-data/buildh.in +++ b/src/build-data/buildh.in @@ -21,6 +21,8 @@ #define BOTAN_VERSION_VC_REVISION "%{version_vc_rev}" #define BOTAN_DISTRIBUTION_INFO "%{distribution_info}" +%{unsafe_fuzzer_mode_define} + #define BOTAN_INSTALL_PREFIX R"(%{prefix})" #define BOTAN_INSTALL_HEADER_DIR "%{includedir}/botan-%{version_major}.%{version_minor}" -- cgit v1.2.3