1RIZIN(1)                  BSD General Commands Manual                 RIZIN(1)
2

NAME

4     rizin — Advanced commandline hexadecimal editor, disassembler and debug‐
5     ger
6

SYNOPSIS

8     rizin [-a arch] [-b bits] [-B baddr] [-c cmd] [-e k=v] [-i file]
9           [-I prefile] [-k kernel] [-m addr] [-p project] [-P patch]
10           [-r rz-run] [-R rz-run-directives] [-s addr] [-0AdDwntLquvVxX]
11           -|--|=|file
12

DESCRIPTION

14     rizin is a commandline hexadecimal editor.
15
16     This manpage is not updated yet. Feel free to contribute.
17
18     The options are:
19
20     --          Open rizin on an empty file
21
22     -           Equivalent of 'rizin malloc://512'
23
24     -0          Print \x00 after initialization and after every command exe‐
25                 cuted
26
27     -2          Close stderr before starting RzCore
28
29     -a arch     force asm.arch (x86, ppc, arm, mips, bf, java, ...)
30
31     -A          run 'aaa' command before prompt or patch to analyze all ref‐
32                 erenced code. Use -AA to run aaaa
33
34     -b bits     force asm.bits (16, 32, 64)
35
36     -B baddr    Specify the base address to be used when loading a new bi‐
37                 nary. See 'e?bin.baddr'
38
39     -c cmd      Execute the given command before giving prompt
40
41     -d          Start in debugger mode
42
43     -D dbg.backend
44                 Enable debug mode. Set cfg.debug=true
45
46     -e k=v      Set configuration eval variable key=value. For example -e
47                 scr.color=false
48
49     -f          Blocksize = file size
50
51     -i file     Run script file. After the file is loaded
52
53     -I file     Run script file. Before the file is loaded
54
55     -k kernel   Select kernel (asm.os) for syscall resolution
56
57     -l plugfile
58                 Load given plugin file
59
60     -L          List supported IO plugins.
61
62     -m addr     map file at given address
63
64     -M          Disable demangling
65
66     -n          Do not perform any analysis (r_bin). Just load the raw file
67
68     -nn         Only load the rbin structures (elf, mach0, ...)
69
70     -N          Do not load user settings/projects from ~/.rizinrc, ~/.con‐
71                 fig/rizin/rizinrc and the scripts inside .../rizinrc.d/ di‐
72                 rectory.
73
74     -NN         Same as -N but also disables the automatic loading of plugins
75                 on startup time
76
77     -q          Quiet mode (no prompt) and quit after running the commands
78                 specified with -i or -c
79
80     -qq         Quit before showing the prompt. Right after all the -e -c and
81                 -i arguments are evaluated.
82
83     -Q          Same as q, but exiting without freeing RzCore, this produces
84                 leaks at exit time, but saves some precious ms to run the
85                 testsuite in fast mode.
86
87     -p prj      Set project file
88
89     -r rz-run   Specify dbg.profile rz-run profile to use when spawning a
90                 program for debugging
91
92     -R rz-run-directive
93                 Specify custom rz-run directives without having to create a
94                 rz-run profile
95
96     -s addr     Start seeking at this address
97
98     -t          Get binary information using a thread
99
100     -T          Avoid computing the file hashes
101
102     -u          Set bin.filter=false to load rbin info without filtering
103                 names
104
105     -v          Show version information and exit (Use -qv to get just the
106                 version number)
107
108     -V          Show rizin library versions
109
110     -w          Open in write mode
111
112     -h          Show help message
113
114     -H          Show files and environment help
115
116     -x          Open the file map without executable permissions
117
118     -X          Same as -e bin.usextr=false, do not use extract plugins, use‐
119                 ful for dyldcache
120

SHELL

122     Type '?' for help
123

VISUAL

125     To enter visual mode use the 'V' command. Then press '?' for help
126

DEBUGGER

128     In rizin the debugger commands are implemented under the 'd' command.
129     Type 'd?' for help
130

ENVIRONMENT

132      RZ_DEBUG      if defined, show error messages and crash signal
133      RZ_DEBUG_ASSERT=1 set a breakpoint when hitting an assert
134      RZ_MAGICPATH /Users/pancake/.lo‐
135     cal/share/rizin/share/rizin/4.5.0-git/magic
136      RZ_NOPLUGINS do not load rizin shared plugins
137      RZ_RCFILE    ~/.rizinrc (user preferences, batch script)
138      RZ_RDATAHOME /usr/local FILE path to the current working file.
139

SEE ALSO

141     rz-test(1), rz-hash(1), rz-find(1), rz-bin(1), rz-diff(1), rz-asm(1),
142     rz-ax(1), rz-gg(1), rz-run(1),
143

AUTHORS

145     pancake <pancake@nopcode.org>
146
147                                 May 17, 2020
Impressum