Versions in this module Expand all Collapse all v1 v1.5.0 Jun 28, 2021 Changes in this version + const DW_LINE_define_file + const DW_LINE_end_sequence + const DW_LINE_set_address + const DW_LINE_set_discriminator + const DW_LNS_advance_line + const DW_LNS_advance_pc + const DW_LNS_const_add_pc + const DW_LNS_copy + const DW_LNS_epilogue_begin + const DW_LNS_fixed_advance_pc + const DW_LNS_negate_stmt + const DW_LNS_prologue_end + const DW_LNS_set_basic_block + const DW_LNS_set_column + const DW_LNS_set_file + const DW_LNS_set_isa + var NoSourceError = errors.New("no source available") + type DebugLineInfo struct + FileNames []*FileEntry + IncludeDirs []string + Instructions []byte + Logf func(string, ...interface{}) + Lookup map[string]*FileEntry + Prologue *DebugLinePrologue + func Parse(compdir string, buf *bytes.Buffer, logfn func(string, ...interface{}), ...) *DebugLineInfo + func (lineInfo *DebugLineInfo) AllPCsBetween(begin, end uint64, excludeFile string, excludeLine int) ([]uint64, error) + func (lineInfo *DebugLineInfo) AllPCsForFileLines(f string, m map[int][]uint64) + func (lineInfo *DebugLineInfo) FirstFile() string + func (lineInfo *DebugLineInfo) FirstStmtForLine(start, end uint64) (pc uint64, file string, line int, ok bool) + func (lineInfo *DebugLineInfo) LineToPC(filename string, lineno int) uint64 + func (lineInfo *DebugLineInfo) LineToPCIn(filename string, lineno int, basePC, startPC, endPC uint64) uint64 + func (lineInfo *DebugLineInfo) PCToLine(basePC, pc uint64) (string, int) + func (lineInfo *DebugLineInfo) PrologueEndPC(start, end uint64) (pc uint64, file string, line int, ok bool) + type DebugLinePrologue struct + InitialIsStmt uint8 + Length uint32 + LineBase int8 + LineRange uint8 + MaxOpPerInstr uint8 + MinInstrLength uint8 + OpcodeBase uint8 + StdOpLengths []uint8 + UnitLength uint32 + Version uint16 + type DebugLines []*DebugLineInfo + func ParseAll(data []byte, logfn func(string, ...interface{}), staticBase uint64, ...) DebugLines + type FileEntry struct + DirIdx uint64 + LastModTime uint64 + Length uint64 + Path string + type Location struct + Address uint64 + Delta int + File string + Line int + type StateMachine struct + func (sm *StateMachine) PCToLine(pc uint64) (string, int, bool)