diff options
author | Jack Lloyd <[email protected]> | 2017-08-30 13:41:43 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-30 13:41:43 -0400 |
commit | bb305eff61014d326ae59f0e98a22c5bdf4842fc (patch) | |
tree | 39e4aa92698a73cdbea7658102dea60bd0555352 /src/build-data | |
parent | 931fc0db4ae4a2b63c81bee65186bd181368a5cd (diff) |
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.)
Diffstat (limited to 'src/build-data')
-rw-r--r-- | src/build-data/makefile/gmake_fuzzers.in | 4 |
1 files changed, 2 insertions, 2 deletions
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) |