unicorn/tests/regress/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

CFLAGS += -I../../include
ifeq (MING,$(findstring MING,$(shell uname -s)))
LDFLAGS += ../../unicorn.lib $(shell pkg-config --libs glib-2.0) -lpthread -lm
else
LDFLAGS += ../../libunicorn.a $(shell pkg-config --libs glib-2.0) -lpthread -lm
endif
2015-08-24 14:00:54 +03:00
2015-08-27 01:19:12 +03:00
TESTS = map_crash map_write
TESTS += sigill sigill2
TESTS += block_test
2015-08-28 17:23:26 +03:00
TESTS += ro_mem_test nr_mem_test
TESTS += timeout_segfault
2015-09-01 15:05:33 +03:00
TESTS += rep_movsb
TESTS += mem_unmap
TESTS += mem_double_unmap
TESTS += mem_protect
TESTS += mem_exec
TESTS += mips_kseg0_1
TESTS += eflags_nosync
TESTS += 00opcode_uc_crash
TESTS += eflags_noset
TESTS += mem_map_large
TESTS += invalid_read_in_cpu_tb_exec
TESTS += invalid_write_in_cpu_tb_exec_x86_64
TESTS += x86_16_segfault
TESTS += mips_invalid_read_of_size_4_when_tracing
TESTS += invalid_read_in_tb_flush_x86_64
TESTS += sparc_jump_to_zero
TESTS += mips_delay_slot_code_hook
TESTS += mem_nofree
2015-12-12 01:48:46 +03:00
TESTS += rw_hookstack
TESTS += threaded_emu_start
TESTS += emu_stop_in_hook_overrun
TESTS += mips_branch_likely_issue
TESTS += hook_extrainvoke
2015-08-24 14:00:54 +03:00
all: $(TESTS)
clean:
rm -f $(TESTS)
2015-09-04 14:56:35 +03:00
%: %.c
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
2015-08-24 14:00:54 +03:00
.PHONY: all clean