Documentation ¶
Overview ¶
Package debug contains the logic of the 'debug' sub command, this is a lot of code which is fairly distinct from the other sub commands of edb. Because of the amount of files it is placed in its own package for organizational purposes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Breakpoint ¶
type CompletionFn ¶
type DET ¶
type DET struct { Tree EntryNode // Entry per file, per line EntriesPerLoc map[string]map[int64][]*EntryNode // SubPrograms by name SubPrograms map[string]*EntryNode // EntitiesByOffset map[dwarf.Offset]*EntryNode }
DET DWARF Entry table, holds the parsed DWARF entries, used for quick lookups
type FileLineBreakpoint ¶
FileLineBreakpoint breaks when on a specific file or line, no matter the program
func (*FileLineBreakpoint) ShouldBreak ¶
func (fl *FileLineBreakpoint) ShouldBreak(process *mimic.Process) bool
type InstructionBreakpoint ¶
type InstructionBreakpoint struct { Program *ebpf.ProgramSpec ProgramCounter int // contains filtered or unexported fields }
InstructionBreakpoint breaks only on an exact PI + PC combo
func (*InstructionBreakpoint) ShouldBreak ¶
func (ib *InstructionBreakpoint) ShouldBreak(process *mimic.Process) bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.