(ctx: *mut c_void, value: *mut u64)
| 350 | } |
| 351 | |
| 352 | pub unsafe extern "C" fn get_timer_countdown(ctx: *mut c_void, value: *mut u64) -> uc_err { |
| 353 | let ctx = &mut *ctx.cast::<Context>(); |
| 354 | let timer = ctx.timer.as_ref().unwrap_unchecked(); |
| 355 | *value = timer.get_countdown(&mut (*ctx.vm).cpu); |
| 356 | UC_ERR_OK |
| 357 | } |
| 358 | |
| 359 | pub unsafe extern "C" fn block_hook_add( |
| 360 | ctx: *mut c_void, |
nothing calls this directly
no outgoing calls
no test coverage detected