MCPcopy Create free account
hub / github.com/carlos-al/user-kernel-syscall-hook / StackFrame

Class StackFrame

infinity_hook/src/stack.rs:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8use windows_kernel_sys::ntoskrnl::RtlCaptureContext;
9
10pub(crate) struct StackFrame {
11 pub(crate) rbp: *mut usize,
12 pub(crate) rsp: *mut usize,
13}
14
15pub(crate) fn stack_trace_64() -> SmallVec<[StackFrame; 10]> {
16 let mut context = unsafe { core::mem::zeroed::<CONTEXT>() };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected