Debuggers & Memory ForensicsCLI Flag: --debugger lldb

REA vs LLDB / GDB Debugger• AI Reverse Engineering Guide

High-performance native debugger supporting hardware breakpoints, watchpoints, and V8 inspector.

AI Overview Direct AnswerREA vs LLDB / GDB Debugger Integration & AI Workflow

In AI-assisted reverse engineering with REA (rea-agents), LLDB / GDB Debugger is bridged via --debugger lldb to allow Claude Code, Cursor, and Windsurf to extract symbol graphs, trace control flow, and decompile binaries headlessly via Model Context Protocol.

Synergy & ComparisonAutonomous AI Acceleration

How REA Enhances LLDB / GDB Debugger with Autonomous AI Agents

Manual LLDB / GDB Debugger Workflow

Traditional reverse engineering in LLDB / GDB Debugger requires manual CFG graph navigation, manual symbol naming, and isolated local scripts without LLM code intelligence.

REA + LLDB / GDB Debugger Agentic Pipeline

AI coding agents (Claude Code, Cursor) invoke LLDB / GDB Debugger headlessly via REA's Model Context Protocol (MCP), generating clean-room specifications and reconstructive code in seconds.

Open SourceOpen Source (Apache 2.0 with LLVM Exceptions)
100% Free
Official Download & Website ↗

Multi-Platform Installation Recipes

macOS (Xcode Command Line)
xcode-select --install
Linux (APT)
sudo apt install lldb -y
Windows (Winget)
winget install LLVM.LLVM
Connect to AI Agents Once Installed
Verify REA detects this tool and enables Claude / Cursor MCP bridges:
rea doctor --debugger lldb

Supported Platforms & Targets

Host Operating Systems:
macOSLinuxWindows
Target Architectures:
x86_64Apple Silicon ARM64Linux ELF

Tool Overview & Role

LLDB and GDB provide direct hardware-assisted process execution control. REA integrates with LLDB/GDB and V8 Inspector sessions to set conditional breakpoints, inspect memory registers, trace function call stacks, and capture process exit states.

REA Bridge Mechanism

Uses REA's native process capture foundation and PTY subsystem. Coordinates debugging sessions with full terminal interaction, signal handling, and execution trace recording.

Key Capabilities

Hardware watchpoints and conditional breakpoint evaluation
Native thread stack unwinding and register inspection
Passive V8 inspector discovery for Node.js and Electron
Process crash state and signal capture

CLI Usage Examples

Execute direct terminal analysis with --debugger lldb:

rea lldb example
rea trace ./binary --debugger lldb --break 'main'
lldb -- ./target -o "b *0x1000" -o "run"