Cast last two uc_hook_add(…) arguments to uint64_t.
This commit is contained in:
parent
5b34660b3f
commit
76ed117df6
@ -25,7 +25,7 @@ int main(int argc, char **argv, char **envp) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
uc_hook hook;
|
uc_hook hook;
|
||||||
uc_hook_add(uc, &hook, UC_HOOK_BLOCK, hook_block, NULL, 1, 0);
|
uc_hook_add(uc, &hook, UC_HOOK_BLOCK, hook_block, NULL, (uint64_t)1, (uint64_t)0);
|
||||||
printf("uc_emu_start(…)\n");
|
printf("uc_emu_start(…)\n");
|
||||||
uc_emu_start(uc, STARTING_ADDRESS, STARTING_ADDRESS + sizeof(BINARY) - 1, 0, 0);
|
uc_emu_start(uc, STARTING_ADDRESS, STARTING_ADDRESS + sizeof(BINARY) - 1, 0, 0);
|
||||||
printf("done\n");
|
printf("done\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user