2015-08-24 12:21:57 +00:00
|
|
|
CFLAGS += -I../include
|
2015-09-24 06:18:02 +00:00
|
|
|
LDFLAGS += ../../libunicorn.a $(shell pkg-config --libs glib-2.0) -lpthread -lm
|
2015-08-24 11:00:54 +00:00
|
|
|
|
2015-08-26 22:19:12 +00:00
|
|
|
TESTS = map_crash map_write
|
|
|
|
TESTS += sigill sigill2
|
|
|
|
TESTS += block_test
|
2015-08-28 14:23:26 +00:00
|
|
|
TESTS += ro_mem_test nr_mem_test
|
2015-08-29 19:51:35 +00:00
|
|
|
TESTS += timeout_segfault
|
2015-09-01 12:05:33 +00:00
|
|
|
TESTS += rep_movsb
|
2015-09-04 07:48:24 +00:00
|
|
|
TESTS += mem_unmap
|
2015-10-21 20:25:49 +00:00
|
|
|
TESTS += mem_double_unmap
|
2015-09-04 07:48:24 +00:00
|
|
|
TESTS += mem_protect
|
|
|
|
TESTS += mem_exec
|
2015-10-27 03:25:34 +00:00
|
|
|
TESTS += mips_kseg0_1
|
2015-11-04 07:38:57 +00:00
|
|
|
TESTS += eflags_nosync
|
2015-11-05 12:41:15 +00:00
|
|
|
TESTS += 00opcode_uc_crash
|
2015-11-09 22:49:01 +00:00
|
|
|
TESTS += eflags_noset
|
2015-11-12 06:05:52 +00:00
|
|
|
TESTS += mem_map_large
|
2015-11-15 16:31:06 +00:00
|
|
|
TESTS += invalid_read_in_cpu_tb_exec
|
2015-11-17 07:44:38 +00:00
|
|
|
TESTS += invalid_write_in_cpu_tb_exec_x86_64
|
2015-08-24 11:00:54 +00:00
|
|
|
|
|
|
|
all: $(TESTS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(TESTS)
|
|
|
|
|
2015-09-04 11:56:35 +00:00
|
|
|
%: %.c
|
|
|
|
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
|
|
|
|
2015-08-24 11:00:54 +00:00
|
|
|
.PHONY: all clean
|