add missing interrupt hook for Go bindings

This commit is contained in:
Ryan Hileman
2015-08-30 15:53:06 -07:00
parent f83ddf5ad4
commit ac1fc4d631
3 changed files with 13 additions and 0 deletions

View File

@@ -17,6 +17,10 @@ void hookMemAccess_cgo(uch handle, uc_mem_type type, uint64_t addr, int size, in
hookMemAccess(handle, type, addr, size, value, user);
}
void hookInterrupt_cgo(uch handle, uint32_t intno, void *user) {
hookInterrupt(handle, intno, user);
}
uint32_t hookX86In_cgo(uch handle, uint32_t port, uint32_t size, void *user) {
return hookX86In(handle, port, size, user);
}