MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / current_sp

Function current_sp

codegraph-kernel/src/stack.rs:59–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57/// downward on every target the kernel ships for (x86_64 / aarch64).
58#[inline(always)]
59fn current_sp() -> usize {
60 let marker = 0u8;
61 std::hint::black_box(&marker) as *const u8 as usize
62}
63
64/// Low (deepest) address of the calling thread's stack, from the OS.
65#[cfg(target_os = "linux")]

Callers 4

beginFunction · 0.85
exhaustedFunction · 0.85

Calls

no outgoing calls