-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuc.h
More file actions
27 lines (26 loc) · 1.78 KB
/
Copy pathuc.h
File metadata and controls
27 lines (26 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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);
// uc_ctl macro bindings
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_get_mode_helper(uc_engine *handle, int *mode);
uc_err uc_ctl_get_page_size_helper(uc_engine *handle, uint32_t *ptr);
uc_err uc_ctl_set_page_size_helper(uc_engine *handle, uint32_t page_size);
uc_err uc_ctl_get_arch_helper(uc_engine *handle, int *arch);
uc_err uc_ctl_get_timeout_helper(uc_engine *handle, uint64_t *ptr);
uc_err uc_ctl_exits_enable_helper(uc_engine *handle);
uc_err uc_ctl_exits_disable_helper(uc_engine *handle);
uc_err uc_ctl_get_exits_cnt_helper(uc_engine *handle, size_t *ptr);
uc_err uc_ctl_get_exits_helper(uc_engine *handle, uint64_t *exits, size_t len);
uc_err uc_ctl_set_exits_helper(uc_engine *handle, uint64_t *exits, size_t len);
uc_err uc_ctl_get_cpu_model_helper(uc_engine *handle, int *model);
uc_err uc_ctl_set_cpu_model_helper(uc_engine *handle, int model);
uc_err uc_ctl_remove_cache_helper(uc_engine *handle, uint64_t address, uint64_t end);
uc_err uc_ctl_request_cache_helper(uc_engine *handle, uint64_t address, uc_tb *tb);
uc_err uc_ctl_flush_tb_helper(uc_engine *handle);
uc_err uc_ctl_flush_tlb_helper(uc_engine *handle);
uc_err uc_ctl_tlb_mode_helper(uc_engine *handle, int mode);
uc_err uc_ctl_get_tcg_buffer_size_helper(uc_engine *handle, uint32_t *size);
uc_err uc_ctl_set_tcg_buffer_size_helper(uc_engine *handle, uint32_t size);
uc_err uc_ctl_context_mode_helper(uc_engine *handle, int mode);