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

Function set_timer_countdown

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

Source from the content-addressed store, hash-verified

343}
344
345pub unsafe extern "C" fn set_timer_countdown(ctx: *mut c_void, value: u64) -> uc_err {
346 let ctx = &mut *ctx.cast::<Context>();
347 let timer = ctx.timer.as_ref().unwrap_unchecked();
348 timer.set_countdown(&mut (*ctx.vm).cpu, value);
349 UC_ERR_OK
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>();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected