pub fn frame_ptr() -> raw_ptr 
Expand description

Memory address of beginning of current call frame.

Returns

  • [raw_ptr] - The location in memory of the start of the call frame.

Examples

use std::registers::frame_ptr;

fn foo() {
    let fp = frame_ptr();
    assert(!fp.is_null());
}