mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-23 05:29:53 +00:00
suite: move fuzz_hardness.c to suite/fuzz/
This commit is contained in:
parent
5000dec375
commit
0dbf1b9636
3
.gitignore
vendored
3
.gitignore
vendored
@ -87,5 +87,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 $< -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.c test_detail.c test_skipdata.c test_iter.c fuzz_harness.c
|
||||
SOURCES = test.c test_detail.c test_skipdata.c test_iter.c
|
||||
ifneq (,$(findstring arm,$(CAPSTONE_ARCHS)))
|
||||
SOURCES += test_arm.c
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user