diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-04-27 13:45:54 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-04-27 13:45:54 +0200 |
commit | 51d779256c74cc541da306db5629ed510df5a944 (patch) | |
tree | ec23431d0b9b3dac2a2a8ac8f7201e9da9c58632 /deps/cpp-httplib/test/Makefile.fuzz_test | |
parent | da307fb4c6b5028d50c09dec7265ce8715e035d5 (diff) |
Switched from slow blocking cpp-httplib to libevent2.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'deps/cpp-httplib/test/Makefile.fuzz_test')
-rw-r--r-- | deps/cpp-httplib/test/Makefile.fuzz_test | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/deps/cpp-httplib/test/Makefile.fuzz_test b/deps/cpp-httplib/test/Makefile.fuzz_test deleted file mode 100644 index bc582ed..0000000 --- a/deps/cpp-httplib/test/Makefile.fuzz_test +++ /dev/null @@ -1,36 +0,0 @@ - -#CXX = clang++ -CXXFLAGS += -ggdb -O0 -std=c++11 -DGTEST_USE_OWN_TR1_TUPLE -I.. -I. -Wall -Wextra -Wtype-limits -Wconversion - -OPENSSL_DIR = /usr/local/opt/openssl@1.1 -OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I$(OPENSSL_DIR)/include -L$(OPENSSL_DIR)/lib -lssl -lcrypto - -ZLIB_SUPPORT = -DCPPHTTPLIB_ZLIB_SUPPORT -lz - -BROTLI_DIR = /usr/local/opt/brotli -BROTLI_SUPPORT = -DCPPHTTPLIB_BROTLI_SUPPORT -I$(BROTLI_DIR)/include -L$(BROTLI_DIR)/lib -lbrotlicommon -lbrotlienc -lbrotlidec - -# By default, use standalone_fuzz_target_runner. -# This runner does no fuzzing, but simply executes the inputs -# provided via parameters. -# Run e.g. "make all LIB_FUZZING_ENGINE=/path/to/libFuzzer.a" -# to link the fuzzer(s) against a real fuzzing engine. -# OSS-Fuzz will define its own value for LIB_FUZZING_ENGINE. -LIB_FUZZING_ENGINE ?= standalone_fuzz_target_runner.o - -# Runs server_fuzzer.cc based on value of $(LIB_FUZZING_ENGINE). -# Usage: make fuzz_test LIB_FUZZING_ENGINE=/path/to/libFuzzer -all fuzz_test: server_fuzzer - ./server_fuzzer fuzzing/corpus/* - -# Fuzz target, so that you can choose which $(LIB_FUZZING_ENGINE) to use. -server_fuzzer : fuzzing/server_fuzzer.cc ../httplib.h standalone_fuzz_target_runner.o - $(CXX) $(CXXFLAGS) -o $@ $< $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) $(BROTLI_SUPPORT) $(LIB_FUZZING_ENGINE) -pthread - -# Standalone fuzz runner, which just reads inputs from fuzzing/corpus/ dir and -# feeds it to server_fuzzer. -standalone_fuzz_target_runner.o : fuzzing/standalone_fuzz_target_runner.cpp - $(CXX) $(CXXFLAGS) -c -o $@ $< - -clean: - rm -f server_fuzzer pem *.0 *.o *.1 *.srl *.zip |