History

add clang libFuzzer support

lieff committed 8 years ago

Commit f3b33b01 parent 0b82f032 files · +43 −22Browse files

Showing the changes to scripts (1 of 2 files). Show all

Unified · Split

scripts/fuzz_libfuzzer.sh+7−0
@@ -0,0 +1,7 @@
1+_FILENAME=${0##*/}
2+CUR_DIR=${0/${_FILENAME}}
3+CUR_DIR=$(cd $(dirname ${CUR_DIR}); pwd)/$(basename ${CUR_DIR})/
4+
5+pushd $CUR_DIR/..
6+
7+clang-5.0 -g -fsanitize=address,undefined -fsanitize-coverage=trace-pc-guard -DFUZZ -DLIBFUZZER -o minimp3_libfuzz minimp3_test.c -lFuzzer -lstdc++ -lm

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t