Documentation ¶
Index ¶
Constants ¶
View Source
const ( DW_LNS_copy = 1 DW_LNS_advance_pc = 2 DW_LNS_advance_line = 3 DW_LNS_set_file = 4 DW_LNS_set_column = 5 DW_LNS_negate_stmt = 6 DW_LNS_set_basic_block = 7 DW_LNS_const_add_pc = 8 DW_LNS_fixed_advance_pc = 9 )
Special opcodes
View Source
const ( DW_LINE_end_sequence = 1 DW_LINE_set_address = 2 DW_LINE_define_file = 3 )
Extended opcodes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugLineInfo ¶
type DebugLinePrologue ¶
type DebugLines ¶
type DebugLines []*DebugLineInfo
func Parse ¶
func Parse(data []byte) DebugLines
func (*DebugLines) AllPCsBetween ¶
func (dbl *DebugLines) AllPCsBetween(begin, end uint64, filename string) []uint64
func (*DebugLines) AllPCsForFileLine ¶
func (dbl *DebugLines) AllPCsForFileLine(f string, l int) (pcs []uint64)
Returns all PCs for a given file/line. Useful for loops where the 'for' line could be split amongst 2 PCs.
func (*DebugLines) GetLineInfo ¶
func (d *DebugLines) GetLineInfo(name string) *DebugLineInfo
type StateMachine ¶
type StateMachine struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.