add rust bindings for uc_ctl

This commit is contained in:
Kevin Schneider
2023-03-30 13:44:59 +02:00
parent 51a5b68b50
commit 5ff654c77b
3 changed files with 190 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ extern "C" {
pub fn uc_context_alloc(engine: uc_handle, context: *mut uc_context) -> uc_error;
pub fn uc_context_save(engine: uc_handle, context: uc_context) -> uc_error;
pub fn uc_context_restore(engine: uc_handle, context: uc_context) -> uc_error;
pub fn uc_ctl(engine: uc_handle, control: u32, ...) -> uc_error;
}
pub struct UcHook<'a, D: 'a, F: 'a> {