regress: fix all the calls to uc_hook_add() following recent change on this API

This commit is contained in:
Nguyen Anh Quynh
2016-04-03 23:32:14 +08:00
parent bb1236a850
commit 1486ccce70
3 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ loop:
}
uc_hook_add(uc, &trace, UC_HOOK_MEM_WRITE | UC_HOOK_MEM_READ, (void *)hook_mem_rw, NULL);
uc_hook_add(uc, &trace, UC_HOOK_MEM_WRITE | UC_HOOK_MEM_READ, (void *)hook_mem_rw, NULL, 1, 0);
uc_reg_write(uc, UC_X86_REG_EAX, &EAX);
uc_reg_write(uc, UC_X86_REG_ESP, &ESP);