mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-15 20:08:08 +00:00
suite: move fuzz_hardness.c to suite/fuzz/
This commit is contained in:
parent
cdd677f3f4
commit
7bb3508ccb
3
.gitignore
vendored
3
.gitignore
vendored
@ -88,5 +88,8 @@ xcode/Capstone.xcodeproj/project.xcworkspace/xcuserdata
|
||||
# suite/
|
||||
test_arm_regression
|
||||
test_arm_regression.o
|
||||
fuzz_harness
|
||||
fuzz_harness.o
|
||||
|
||||
|
||||
*.s
|
||||
|
10
suite/fuzz/Makefile
Normal file
10
suite/fuzz/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
LIBNAME = capstone
|
||||
|
||||
fuzz_harness: fuzz_harness.o
|
||||
${CC} $< -O3 -Wall -l$(LIBNAME) -o $@
|
||||
|
||||
%.o: %.c
|
||||
${CC} -c -I../../include/capstone $< -o $@
|
||||
|
||||
clean:
|
||||
rm -rf *.o fuzz_harness
|
2
suite/fuzz/README
Normal file
2
suite/fuzz/README
Normal file
@ -0,0 +1,2 @@
|
||||
This directory contains a fuzz testing harness for Capstone.
|
||||
Run "make" to compile this code.
|
@ -64,7 +64,7 @@ endif
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
SOURCES = test_basic.c test_detail.c test_skipdata.c test_iter.c test_customized_mnem.c fuzz_harness.c
|
||||
SOURCES = test_basic.c test_detail.c test_skipdata.c test_iter.c test_customized_mnem.c
|
||||
ifneq (,$(findstring arm,$(CAPSTONE_ARCHS)))
|
||||
SOURCES += test_arm.c
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user