How-To: Radare2
Cyber Training GuideHow-To: GDB
  • How-To: Radare2
  • Introduction
  • Radare2 Modules
    • Seeking: The s Module
    • Editing Configuration: The e Module
    • Binary Info: The i Module
      • Imports and Exports
      • Checking Security
      • Symbols and Strings
    • Static Analysis: The a Module
      • Cross-References
      • Functions
      • Variables
    • Debugging: The d Module
      • Breakpoints
      • Memory
      • Running the Binary
    • Printing: The p Module
      • Printing Data
      • Searching: The / Module
  • Display Modes
    • Visual Mode
      • Analysis with Visual Mode
      • Visual Panels
    • Graph Mode
  • The Radare2 Suite
    • Rabin2: File Analysis
    • Rafind2: Pattern Matching
Powered by GitBook
On this page

Was this helpful?

  1. Display Modes

Visual Mode

Radare2's User Interface.

PreviousSearching: The / ModuleNextAnalysis with Visual Mode

Last updated 1 year ago

Was this helpful?

Visual mode is a user-friendly alternative to the command line that offers a variety of visualization features. This allows the user to view, debug, and run the binary in a format that is easier to read. This is mostly equivalent to gdb's GEF plugin, but you directly interact with the UI rather than the UI responding to command-line arguments.

Visual mode overrides a few command-line functionalities, so it's important to discuss the Visual mode equivalents.

To enter Visual mode, use V. To quit Visual mode, use q.

Visual Mode Views

There are five views in Visual mode. These are:

  • x: Hexadecimal view

  • a: Disassembly listing

  • d: Debugger View

  • v: Visual colors

  • c: Cursor view

The most useful view is the Debugger view. This view shows us the stack, registers, and disassembly. We can move around the binary via seeking and stepping.

Use the p command to cycle through the views. Use P to cycle through the views in reverse.

Debugger View

To quickly access the debugger view, use Vpp from the command line. This opens the debugger view directly.

The next section will discuss how to navigate Visual Debugger Mode and how to use it to solve challenges.

Radare2 Visual Debugger Mode