Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / MALWARE REVERSE / ANALYSIS / DYNAMIC

Delve

aarzilli/gdlv: GUI frontend for Delve

ilmari-h/dlvtui: TUI Go debugger, frontend for Delve. WIP

Golang debugger.

sudo apt install delve
CommandPurposeNotes
rRun / restart programRestarts target execution
cContinue executionRuns until next breakpoint/event
stepoutExit current functionUseful for escaping Go runtime internals
stepStep into next source instructionOften unstable in optimized Go binaries
niNext machine instructionMost reliable stepping method in optimized Go
nextStep over source lineFrequently breaks in optimized Go
regsShow CPU registersDisplays RIP/PC/SP/etc
localsShow local variablesCurrent frame locals
argsShow function argumentsCurrent function arguments
goroutinesList goroutinesShows active Go goroutines
goroutineSwitch active goroutineFocus execution context
threadsList OS threadsLower-level thread view
threadSwitch active threadChange current OS thread
bpList breakpointsShows all active breakpoints
disassDisassemble current function/locationCore command for optimized Go reversing