All apps/radare2

radare2

radare2

A reverse-engineering framework and command-line toolset.

Runs as r2|macOS, Linux, Windows|radare.org

Command form

ai-draft · 2 tasks · 12 fields

Open a binary or file in radare2, optionally analysing it, running commands first, or quitting right after. Debugger, project and plugin-listing options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui radare2
Open a file in radare2Example values, fixed in this page — nothing here reaches a terminal
Basic
File*
file
Analyze all code (aaa)
-A
TasksEach one presets the form for one job
Open and analyze
fileanalyze
Run a command and quit
filerun_cmdquiet
ParametersOnly these flags are editable in the form
File
path · positional 0
Analyze all code (aaa)
boolean
-A
Architecture
Forces asm.arch.
string
-ax86armmipsppc
Bits
enum
-b163264
Base address
string
-B
Command to run first
string · repeatable
-c
Config variable (key=value)
string · repeatable
-e
Script to run after load
path
-i
Start address
string
-s
Load raw file without analysis
boolean
-n
Quiet, quit after commands
boolean
-q
Open in write mode
Edits made in the session are written to the file.
boolean
-w
SourcesEvery flag above is checked against these
man
-A run 'aaa' command before prompt or patch to analyze all referenced code. -a arch force asm.arch (x86, ppc, arm, mips, bf, java, ...) -b bits force asm.bits (16, 32, 64) -B baddr Specify the base address to be used when loading a new binary. -c cmd Execute the given command before giving prompt -e k=v Set configuration eval variable key=value. For example…
manual6.1.8+ds-1

manpages.debian.org

Before it fills your prompt, Otty checks the installed r2 against its version. A form that does not match your version is not offered.