2015-12-16 01:59:30 +00:00
|
|
|
|
|
|
|
CFLAGS += -I../../include
|
|
|
|
|
|
|
|
ifeq (MING,$(findstring MING,$(shell uname -s)))
|
|
|
|
LDFLAGS += ../../unicorn.lib $(shell pkg-config --libs glib-2.0) -lpthread -lm
|
|
|
|
else
|
2015-09-24 06:18:02 +00:00
|
|
|
LDFLAGS += ../../libunicorn.a $(shell pkg-config --libs glib-2.0) -lpthread -lm
|
2015-12-16 01:59:30 +00:00
|
|
|
endif
|
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-11-29 22:00:34 +00:00
|
|
|
TESTS += x86_16_segfault
|
2015-11-30 22:44:49 +00:00
|
|
|
TESTS += mips_invalid_read_of_size_4_when_tracing
|
2015-12-02 06:15:44 +00:00
|
|
|
TESTS += invalid_read_in_tb_flush_x86_64
|
2015-12-02 20:55:13 +00:00
|
|
|
TESTS += sparc_jump_to_zero
|
2015-12-09 07:06:53 +00:00
|
|
|
TESTS += mips_delay_slot_code_hook
|
2015-12-09 22:08:07 +00:00
|
|
|
TESTS += mem_nofree
|
2015-12-11 22:48:46 +00:00
|
|
|
TESTS += rw_hookstack
|
2015-12-16 02:08:33 +00:00
|
|
|
TESTS += threaded_emu_start
|
2015-12-20 03:59:29 +00:00
|
|
|
TESTS += emu_stop_in_hook_overrun
|
2015-12-20 05:07:54 +00:00
|
|
|
TESTS += mips_branch_likely_issue
|
2015-12-22 10:33:36 +00:00
|
|
|
TESTS += hook_extrainvoke
|
2015-12-24 17:25:35 +00:00
|
|
|
TESTS += sysenter_hook_x86
|
2016-01-11 17:02:45 +00:00
|
|
|
TESTS += emu_clear_errors
|
2016-02-04 18:57:20 +00:00
|
|
|
TESTS += mem_fuzz
|
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
|