mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-05 14:35:45 +00:00
uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change
This commit is contained in:
parent
55a6874a08
commit
a7a1dcc661
18 changed files with 96 additions and 90 deletions
|
|
@ -138,7 +138,7 @@ static void test_i386(void)
|
|||
uc_hook_add(uc, &trace1, UC_HOOK_CODE, hook_code, NULL, 1, 0);
|
||||
|
||||
// handle interrupt ourself
|
||||
uc_hook_add(uc, &trace2, UC_HOOK_INTR, hook_intr, NULL);
|
||||
uc_hook_add(uc, &trace2, UC_HOOK_INTR, hook_intr, NULL, 1, 0);
|
||||
|
||||
printf("\n>>> Start tracing this Linux code\n");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue