Versions in this module Expand all Collapse all v0 v0.1.3 Oct 6, 2025 Changes in this version type StackFrame + func (frame *StackFrame) IsNull() bool v0.1.2 Sep 28, 2025 v0.1.1 Sep 28, 2025 Changes in this version + const EXECUTE + const PRIVATE + const READ + const SHARED + const WRITE + type ElfContext struct + File *elf.File + Pathname string + Symbols []Symbol + func NewElfContext(pathname string) (ElfContext, error) + func (ctx *ElfContext) GetSection(idx elf.SectionIndex) *elf.Section + func (ctx *ElfContext) GetSymbol(offset uint64) (*Symbol, error) + type MappedRegion struct + Device string + End uint64 + Inode uint64 + IsFile bool + Offset uint64 + Pathname string + Permissions Permissions + Start uint64 + func (region *MappedRegion) IsExecutable() bool + func (region *MappedRegion) IsExecutableFile() bool + func (region *MappedRegion) Size() uint64 + func (region *MappedRegion) String() string + type Permissions uint32 + func (perm Permissions) String() string + type ProcessContext struct + Elfs map[string]ElfContext + Pid int + Regions []MappedRegion + func NewProcessContext(pid int) (ProcessContext, error) + func (ctx *ProcessContext) GetStackTrace(stack []uint64) []StackFrame + func (ctx *ProcessContext) ResolveFrame(ip uint64) StackFrame + func (ctx *ProcessContext) String() string + type StackFrame struct + Error error + InstructionPointer uint64 + Offset uint64 + Region *MappedRegion + Symbol *Symbol + func (frame *StackFrame) Describe(idx int) string + type Symbol struct + FileOffset uint64