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

Function backtrace

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

Source from the content-addressed store, hash-verified

379}
380
381pub unsafe extern "C" fn backtrace(ctx: *mut c_void) {
382 let vm = unsafe { &mut *(*ctx.cast::<Context>()).vm };
383 let guest_bt = icicle_vm::debug::backtrace(vm);
384 let host_bt = std::backtrace::Backtrace::force_capture();
385 eprintln!("{host_bt}{guest_bt}");
386}
387
388pub unsafe extern "C" fn push_stack(ctx: *mut c_void) {
389 let vm = unsafe { &mut *(*ctx.cast::<Context>()).vm };

Callers 1

print_crash_or_hangMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected