add test for multiple basic block hooks

This commit is contained in:
Ryan Hileman
2016-01-21 20:58:21 -08:00
parent 93052f6566
commit 33180b5afa
2 changed files with 114 additions and 1 deletions

View File

@ -5,7 +5,7 @@ CFLAGS += -lcmocka -lunicorn
CFLAGS += -I ../../include
ALL_TESTS = test_sanity test_x86 test_mem_map test_mem_high test_mem_map_ptr \
test_tb_x86
test_tb_x86 test_multihook
.PHONY: all
all: ${ALL_TESTS}
@ -23,6 +23,7 @@ test: ${ALL_TESTS}
./test_mem_map_ptr
./test_mem_high
./test_tb_x86
./test_multihook
test_sanity: test_sanity.c
test_x86: test_x86.c
@ -30,6 +31,7 @@ test_mem_map: test_mem_map.c
test_mem_map_ptr: test_mem_map_ptr.c
test_mem_high: test_mem_high.c
test_tb_x86: test_tb_x86.c
test_multihook: test_multihook.c
${ALL_TESTS}:
${CC} ${CFLAGS} -o $@ $^