MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / get_timer_countdown

Function get_timer_countdown

icicle-cortexm/src/unicorn_api.rs:352–357  ·  view source on GitHub ↗
(ctx: *mut c_void, value: *mut u64)

Source from the content-addressed store, hash-verified

350}
351
352pub 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
359pub unsafe extern "C" fn block_hook_add(
360 ctx: *mut c_void,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected