mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
762956f1a8
This is so the fuzzer can wait for it.
7 lines
301 B
Bash
Executable File
7 lines
301 B
Bash
Executable File
#!/bin/bash -e
|
|
set -x
|
|
mkdir -p fuzz_socket_testcases
|
|
clang -c -Dmain=darkhttpd -g -O2 -fsanitize=fuzzer,address ../darkhttpd.c -o fuzz_darkhttpd.o
|
|
clang++ -g -O2 -fsanitize=fuzzer,address fuzz_socket.cc fuzz_darkhttpd.o -o fuzz_socket
|
|
./fuzz_socket fuzz_socket_testcases -detect_leaks=0 -only_ascii=1
|