fix a constant in regress/ro_mem_test.c

This commit is contained in:
Nguyen Anh Quynh 2015-08-29 10:33:00 +08:00
parent 810054ca6d
commit 6d71b970d3

View file

@ -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",
address, size, value);
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",
address, size, value);
return false;