regress: fix Makefile & ro_mem_test.c
This commit is contained in:
parent
b69180ad5a
commit
6e75340363
@ -4,7 +4,7 @@ LDFLAGS = -L.. -lunicorn
|
|||||||
TESTS = map_crash map_write
|
TESTS = map_crash map_write
|
||||||
TESTS += sigill sigill2
|
TESTS += sigill sigill2
|
||||||
TESTS += block_test
|
TESTS += block_test
|
||||||
TESTS += ro_mem_test nr_mem_test
|
TESTS += ro_mem_test
|
||||||
|
|
||||||
all: $(TESTS)
|
all: $(TESTS)
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ static bool hook_mem_invalid(uch handle, uc_mem_type type,
|
|||||||
printf(">>> Missing memory is being WRITTEN at 0x%"PRIx64 ", data size = %u, data value = 0x%"PRIx64 "\n",
|
printf(">>> Missing memory is being WRITTEN at 0x%"PRIx64 ", data size = %u, data value = 0x%"PRIx64 "\n",
|
||||||
address, size, value);
|
address, size, value);
|
||||||
return false;
|
return false;
|
||||||
case UC_MEM_WRITE_NR:
|
case UC_MEM_WRITE_NW:
|
||||||
printf(">>> RO memory is being WRITTEN at 0x%"PRIx64 ", data size = %u, data value = 0x%"PRIx64 "\n",
|
printf(">>> RO memory is being WRITTEN at 0x%"PRIx64 ", data size = %u, data value = 0x%"PRIx64 "\n",
|
||||||
address, size, value);
|
address, size, value);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user