Table of Contents


Concepts

Debuggers, decompilers and disassemblers are a wide topic. The amount of options, their roles and preferences is quite huge so here I gather my knowledge about them.

Debugger vs decompiler vs disassembler

ToolPurposeExample
DebuggerRuns a program step-by-step and lets you inspect its stateGDB, LLDB, WinDbg
DecompilerTries to convert compiled/machine code back into a higher-level languageGhidra, IDA, RetDec
DisassemblerConverts machine code into assembly instructionsobjdump, Ghidra, IDA
Additionally, there are also “Assembly Editors” which can edit assembly code. For the sake of clarity, I will include them under “Disassembler” mark.

Static vs dynamic analysis

Static analysis is used when you want to understand a program’s capabilities without executing it, such as finding suspicious code or functions. Dynamic analysis is used when behavior is unknown or hidden, because it shows what the program actually does while running. Analysts often combine both for better results.

Tools

ToolTypeAnalysisLanguagesPlatformUsage
dnSpyDebugger, DisassemblerBothC#, VBWindowsCascade, Support
GDBDebuggerDynamicC, C++Linux
x64dbgDebuggerDynamicC, C++, RustWindowsShoppy
GhidraDebugger, Decompiler, DisassemblerBothVersatileVersatileShoppy
Immortal DebuggerDebugger, DisassemblerDynamicC/C++Windows
ProcmonSystem monitoring, Dynamic analysisDynamic-WindowsFull windows privilege escalation checklist, Shoppy
LLDBDebuggerDynamicVersatileMac
Visual StudioDebuggerDynamicC, C++, C#Windows
IDA ProDebugger, Decompiler, DisassemblerBothVersatileVersatile
Binary NinjaDebugger, Decompiler, DisassemblerBothC, C++, Rust, GoWindows, Linux, Mac
CapstoneDisassemblerStaticAssemblyWindows, Linux, Mac
OllyDbgDebugger, DisassemblerDynamicC, C++Windows
Radare2Debugger, DisassemblerBothC, C++, Rust, GoVersatile
JADXDecompilerStaticJava, KotlinVersatile
FridaDynamic InstrumentationDynamicJava, C, SwiftVersatile
dotPeekDecompilerStaticC#Windows

I sorted those tools by my previous expiriences with them, linking additional notes so you might have a better form of reference.

Even tho IDA Pro and Ghidra are often most popular, from my expirience it it much better to look for the tool that specializes in a given language that the program you want to look into operates in.

Some debuggers can also extend their capabilities with plugins, for example GDB with PEDA (Python Exploit Development Assistance for GDB).
I also included some additional tools that have similar uses, but not quite.