From bb305eff61014d326ae59f0e98a22c5bdf4842fc Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Wed, 30 Aug 2017 13:41:43 -0400 Subject: Add support for fuzzing with KLEE For the fuzzers, builds an object and then links in a second step, because we need that to link the fuzzer binaries for LLVM. (Clang will emit bitcode for us, but doesn't want to link it.) --- src/build-data/makefile/gmake_fuzzers.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/build-data') diff --git a/src/build-data/makefile/gmake_fuzzers.in b/src/build-data/makefile/gmake_fuzzers.in index 82fa8b256..62f7cdd29 100644 --- a/src/build-data/makefile/gmake_fuzzers.in +++ b/src/build-data/makefile/gmake_fuzzers.in @@ -2,12 +2,12 @@ # Fuzzer build commands FUZZER_LINK_CMD = %{fuzzer_link_cmd} -FUZZER_LINKS_TO = $(LIB_LINKS_TO) %{fuzzer_libs} +FUZZER_LINKS_TO = %{link_to_botan} $(LIB_LINKS_TO) %{fuzzer_libs} FUZZER_FLAGS = $(CXXFLAGS) $(WARN_FLAGS) %{fuzzer_build_cmds} -FUZZERS=%{fuzzer_objs} +FUZZERS=%{fuzzer_bin} fuzzers: libs $(FUZZERS) -- cgit v1.2.3