mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 03:43:57 +00:00
90eb8f2e72
- Allow to register handler separately for invalid memory access - Add new memory events for hooking: - UC_MEM_READ_INVALID, UC_MEM_WRITE_INVALID, UC_MEM_FETCH_INVALID - UC_HOOK_MEM_READ_PROT, UC_HOOK_MEM_WRITE_PROT, UC_HOOK_MEM_FETCH_PROT - Rename UC_ERR_EXEC_PROT to UC_ERR_FETCH_PROT - Change API uc_hook_add() so event type @type can be combined from hooking types
22 lines
415 B
Makefile
22 lines
415 B
Makefile
CFLAGS += -I../include
|
|
LDFLAGS += ../../libunicorn.a $(shell pkg-config --libs glib-2.0) -lpthread -lm
|
|
|
|
TESTS = map_crash map_write
|
|
TESTS += sigill sigill2
|
|
TESTS += block_test
|
|
TESTS += ro_mem_test nr_mem_test
|
|
TESTS += timeout_segfault
|
|
TESTS += rep_movsb
|
|
TESTS += mem_unmap
|
|
TESTS += mem_protect
|
|
TESTS += mem_exec
|
|
|
|
all: $(TESTS)
|
|
|
|
clean:
|
|
rm -f $(TESTS)
|
|
|
|
%: %.c
|
|
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
|
|
|
.PHONY: all clean
|