mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
Simple fuzzer
This commit is contained in:
parent
0736381925
commit
7313047fd1
2 changed files with 32 additions and 0 deletions
9
hosts/fuzz/Makefile
Normal file
9
hosts/fuzz/Makefile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
TOPDIR=../..
|
||||
all:
|
||||
afl-clang-fast -g3 -fsanitize=address,undefined -Wall -DUVM32_MEMORY_SIZE=8388608 -I${TOPDIR}/uvm32 -I${TOPDIR}/common -o host-fuzz ${TOPDIR}/uvm32/uvm32.c fuzz.c
|
||||
afl-fuzz -i${TOPDIR}/precompiled -oo ./host-fuzz
|
||||
|
||||
clean:
|
||||
rm -rf host-fuzz o host-fuzz.dSYM
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue