Skip to content

Stack Trace Address

Spice
import "std/runtime/stack_trace_address";

ModuleShiftCache struct

What a capture remembers between translations. Nothing here.

Functions

toSymbolTableAddress

Spice
public f<unsigned long> toSymbolTableAddress(ModuleShiftCache& _cache, unsigned long address)

Returns the address to look the symbol of a frame up by, which is the address itself here.

Parameters

Name Type Description
_cache ModuleShiftCache&
address unsigned long

Returns: unsigned long

toSymbolTableAddress

Spice
public f<unsigned long> toSymbolTableAddress(ModuleShiftCache& cache, unsigned long address)

Returns the address to look the symbol of a frame up by: the address in the space of its module's file rather than of the memory the loader put it in. That is the address itself if its module cannot be told.

Parameters

Name Type Description
cache ModuleShiftCache&
address unsigned long

Returns: unsigned long