Added SetCPUModel go binding
Go cannot use C macros directly, so I followed existing convention and added a helper to uc.c to call the uc_ctl_set_cpu_model macro
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
uc_err uc_reg_read_batch_helper(uc_engine *handle, int *regs, uint64_t *val_out, int count);
|
||||
uc_err uc_reg_write_batch_helper(uc_engine *handle, int *regs, uint64_t *val_in, int count);
|
||||
uc_err uc_ctl_set_cpu_model_helper(uc_engine *handle, int model);
|
||||
|
||||
Reference in New Issue
Block a user