arm64: fix the access to tcg_op_defs[] in arm64 backend (issue #387)
This commit is contained in:
@@ -201,9 +201,14 @@ static void hook_mem32(uc_engine *uc,
|
||||
//uint32_t tmp[1];
|
||||
|
||||
ctype = '?';
|
||||
if (type == 16) ctype = 'R';
|
||||
if (type == 17) ctype = 'W';
|
||||
printf("hook_mem32(%c): Address: 0x%"PRIx64", Size: %d, Value:0x%"PRIx64"\n", ctype, address, size, value);
|
||||
if (type == UC_MEM_READ) {
|
||||
ctype = 'R';
|
||||
printf("hook_mem32(%c): Address: 0x%"PRIx64", Size: %d \n", ctype, address, size);
|
||||
}
|
||||
if (type == UC_MEM_WRITE) {
|
||||
ctype = 'W';
|
||||
printf("hook_mem32(%c): Address: 0x%"PRIx64", Size: %d, Value:0x%"PRIx64"\n", ctype, address, size, value);
|
||||
}
|
||||
|
||||
// if (!uc_mem_read(uc, 0x6000003a, tmp, 4))
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user