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

Function push_stack

icicle-cortexm/src/unicorn_api.rs:388–391  ·  view source on GitHub ↗
(ctx: *mut c_void)

Source from the content-addressed store, hash-verified

386}
387
388pub unsafe extern "C" fn push_stack(ctx: *mut c_void) {
389 let vm = unsafe { &mut *(*ctx.cast::<Context>()).vm };
390 vm.env.as_mut_any().downcast_mut::<FuzzwareEnvironment>().unwrap().push_stack(&mut vm.cpu);
391}
392
393pub unsafe extern "C" fn pop_stack(ctx: *mut c_void) {
394 let vm = unsafe { &mut *(*ctx.cast::<Context>()).vm };

Callers

nothing calls this directly

Calls 2

push_stackMethod · 0.80
as_mut_anyMethod · 0.80

Tested by

no test coverage detected