RIZIN(1) General Commands Manual RIZIN(1)

# [NAME](#NAME)

`rizin` — Advanced commandline hexadecimal editor, disassembler and debugger

# [SYNOPSIS](#SYNOPSIS)

`rizin` \[`-ACdfLMnNqStuvwzX`] \[`-P` `patch`] \[`-p` `prj`] \[`-a` `arch`] \[`-b` `bits`] \[`-i` `file`] \[`-s` `addr`] \[`-B` `baddr`] \[`-m` `maddr`] \[`-c` `cmd`] \[`-e` `k=v`] `file|pid|-|--|=`

# [DESCRIPTION](#DESCRIPTION)

Rizin is a command-line reverse engineering framework designed to analyze and disassemble binary files. It provides various tools and features for analyzing and understanding the structure, behavior, and logic of executable files.

The options are:

`--`

Run rizin without opening any file

`=`

Equivalent of 'rizin malloc://512'

`-`

Read file from stdin

`-=`

Perform R=! command to run all commands remotely

[`-0`](#0)

Print \\x00 after initialization and after every command executed

[`-1`](#1)

Redirect stderr to stdout

[`-2`](#2)

Close stderr file descriptor (silent warning messages)

[`-a`](#a) `arch`

Set the assembly architecture (x86, ppc, arm, mips, bf, java, ...)

[`-A`](#A)

Run 'aaa' command before prompt or patch to analyze all referenced code

[`-b`](#b) `bits`

Set the assembly bitness (16, 32, 64)

[`-B`](#B) `baddr`

Set the base address for Position-Independent Executables (PIE)

[`-c`](#c) `'cmd..'`

Execute the specified Rizin command

[`-C`](#C)

Specify a file in the format "host:port" to run Rizin remotely through HTTP

[`-d`](#d)

Debug the executable 'file' or running process 'pid'

[`-D`](#D) `backend`

Enable debug mode, setting the configuration variable 'cfg.debug=true'

[`-e`](#e) `k=v`

Evaluate the specified configuration variable

[`-f`](#f)

Set block size to be equal to file size

[`-F`](#F) `binplugin`

Force the use of a specific rbin plugin

[`-h`](#h), `-hh`

Show help messages, with -hh showing detailed help

[`-H`](#H) `[var]`

Print information about installation paths and configuration settings. This option is useful for obtaining details about the installation location, directories, and various components of Rizin.

[`-i`](#i) `file`

Run the commands from the script file

[`-I`](#I) `file`

Run script file before the file is loaded

[`-k`](#k) `OS/kern`

Set the assembly operating system

[`-l`](#l) `lib`

Load the specified plugin file

[`-L`](#L)

List supported IO plugins

[`-m`](#m) `addr`

Map file at given address

[`-M`](#M)

Disable demangling

[`-n`](#n), `-nn`

Control loading of RzBin info, with -nn only loading binary structures

[`-N`](#N)

Disables loading user settings from the rizinrc file (check the RZ\_CONFIGHOME value in the rizin -H output).

[`-NN`](#NN)

Disable loading any scripts or plugins

[`-q`](#q)

Quiet mode, suppresses prompt and quits after script execution

[`-qq`](#qq)

Quit before showing the prompt. Right after all the -e -c and -i arguments are evaluated.

[`-p`](#p) `prj`

Set project file

[`-r`](#r) `rz-run`

Specify dbg.profile rz-run profile to use when spawning a program for debugging

[`-R`](#R) `rule`

Specify custom rz-run directives without having to create a rz-run profile

[`-s`](#s) `addr`

Start seeking at this address

[`-T`](#T)

Avoid computing the file hashes

[`-u`](#u)

Set bin.filter=false to load rbin info without filtering names

[`-v`](#v)

Show version information and exit. Use -qv to get just the version number.

[`-V`](#V)

Show rizin library versions

[`-w`](#w)

Open in write mode

[`-x`](#x)

Open the file without the execute flag

[`-X`](#X)

Same as -e bin.usextr=false, do not use extract plugins, useful for dyldcache

[`-z`](#z), `-zz`

Do not load strings or load them even in raw

# [ENVIRONMENT](#ENVIRONMENT)

[`ANSICON`](#ANSICON)

W & H of the buffer and w & h of the window in the form of: "WxH (wxh)"

[`DEBUGINFOD_URLS`](#DEBUGINFOD_URLS)

Use alternative debuginfod server via bin.dbginfo.debuginfod\_urls

[`COLUMNS`](#COLUMNS)

Terminal columns to use

[`RZ_ABORTLEVEL`](#RZ_ABORTLEVEL)

Target log level/severity when to abort (0:DEBUG, 1:VERBOSE, 2:INFO, 3:WARN, 4:ERROR, 5:FATAL)

[`RZ_CURL`](#RZ_CURL)

Whether to use curl (for SSL support)

[`RZ_DEBUG_ASSERT`](#RZ_DEBUG_ASSERT)

Set a breakpoint when hitting an assert

[`RZ_DEBUG_TOOL`](#RZ_DEBUG_TOOL)

Debug tool to use when showing error messages and crash signal

[`RZ_DYLDCACHE_FILTER`](#RZ_DYLDCACHE_FILTER)

dyld cache filter (MacOS dynamic libraries location(s) at runtime)

[`RZ_HTTP_AUTHFILE`](#RZ_HTTP_AUTHFILE)

HTTP Authentification user file

[`RZ_LOGCOLORS`](#RZ_LOGCOLORS)

Should the log output use colors

[`RZ_LOGFILE`](#RZ_LOGFILE)

Logging output filename/path

[`RZ_LOGLEVEL`](#RZ_LOGLEVEL)

Target log level/severity (0:DEBUG, 1:VERBOSE, 2:INFO, 3:WARN, 4:ERROR, 5:FATAL)

[`RZ_LOGSHOWSOURCES`](#RZ_LOGSHOWSOURCES)

Should the log output contain src info (filename:lineno)

[`RZ_PIPE_IN`](#RZ_PIPE_IN)

rzpipe cmd input (file descriptor)

[`RZ_PIPE_OUT`](#RZ_PIPE_OUT)

rzpipe cmd output (file descriptor)

[`RZ_PREFIX`](#RZ_PREFIX)

Default prefix rizin was compiled for

[`RZ_RCFILE`](#RZ_RCFILE)

User config file

[`SFLIBPATH`](#SFLIBPATH)

SFLib syscall library path

# [EXAMPLES](#EXAMPLES)

Start rizin in analysis mode (`-A`) on the /bin/ls executable:

`rizin` `-A` `/bin/ls`

Open the file /bin/ls in write mode, allowing you to make changes to the binary:

`rizin` `-w` `/bin/ls`

Start rizin's debugger (-d) on /bin/ls and pass arguments "-l" and "/tmp" to the program for debugging:

`rizin` `-d` `/bin/ls` `-l` `/tmp`

# [SEE ALSO](#SEE_ALSO)

[rz-asm(1)](/man/os/rizin/rz-asm.1), [rz-ax(1)](/man/os/rizin/rz-ax.1), [rz-bin(1)](/man/os/rizin/rz-bin.1), [rz-diff(1)](/man/os/rizin/rz-diff.1), [rz-find(1)](/man/os/rizin/rz-find.1), [rz-gg(1)](/man/os/rizin/rz-gg.1), [rz-hash(1)](/man/os/rizin/rz-hash.1), [rz-run(1)](/man/os/rizin/rz-run.1), [rz-test(1)](/man/os/rizin/rz-test.1)

# [AUTHORS](#AUTHORS)

pancake &lt;[pancake@nopcode.org](mailto:pancake@nopcode.org)&gt;  
byteninjaa0

December 30, 2025 Linux 4.19.0-gvisor

---

Document: rizin(1) from rizin 0.9.1-r1 (Chainguard OS)
Source: https://github.com/rizinorg/rizin
