OS Manuals

/usr/bin/rz-ax

UNIX-like reverse engineering framework and command-line toolset

From rizin 0.9.1-r2 (os), captured 2026-11-05 by running rz-ax --help (exit 0). permalink

Usage: rz-ax [options] [expr ...]
If expr is not provided, reads from stdin
 int     ->  hex               ;  rz-ax 10
 hex     ->  int               ;  rz-ax 0xa
 -int    ->  hex               ;  rz-ax -77
 -hex    ->  int               ;  rz-ax 0xffffffb3
 int     ->  bin               ;  rz-ax b30
 int     ->  ternary           ;  rz-ax t42
 bin     ->  int               ;  rz-ax 1010d
 ternary ->  int               ;  rz-ax 1010dt
 float   ->  hex               ;  rz-ax 3.33f
 hex     ->  float             ;  rz-ax Fx40551ed8
 oct     ->  hex               ;  rz-ax 35o
 hex     ->  oct               ;  rz-ax Ox12 (O is a letter)
 bin     ->  hex               ;  rz-ax 1100011b
 hex     ->  bin               ;  rz-ax Bx63
 ternary ->  hex               ;  rz-ax 212t
 hex     ->  ternary           ;  rz-ax Tx23
 raw     ->  hex               ;  rz-ax -S < /binfile
 hex     ->  raw               ;  rz-ax -s 414141
 =base                         ;  rz-ax =10 0x46 -> output in base 10
 -l                            ;  append newline to output (for -E/-D/-r/..
 -a      show ascii table      ;  rz-ax -a
 -b      bin -> str            ;  rz-ax -b 01000101 01110110
 -B      str -> bin            ;  rz-ax -B hello
 -d      force integer         ;  rz-ax -d 3 -> 3 instead of 0x3
 -e      swap endianness       ;  rz-ax -e 0x33
 -D      base64 decode
 -E      base64 encode
 -f      floating point        ;  rz-ax -f 6.3+2.1
 -F      stdin slurp code hex  ;  rz-ax -F < shellcode.[c/py/js]
 -h      show this help        ;  rz-ax -h
 -i      dump as C byte array  ;  rz-ax -i < bytes
 -I      IP address <-> LONG   ;  rz-ax -I 3530468537
 -k      keep base             ;  rz-ax -k 33+3 -> 36
 -L      bin -> hex(bignum)    ;  rz-ax -L 111111111 # 0x1ff
 -n      int value -> hexpairs ;  rz-ax -n 0x1234 # 34120000
 -o      octalstr -> raw       ;  rz-ax -o \162 \172 # rz
 -N      binary number         ;  rz-ax -N 0x1234 # \x34\x12\x00\x00
 -r      rz style output       ;  rz-ax -r 0x1234
 -s      hexstr -> raw         ;  rz-ax -s 43 4a 50
 -S      raw -> hexstr         ;  rz-ax -S < /bin/ls > ls.hex
 -t      Unix tstamp -> str    ;  rz-ax -t 1234567890
 -m      MS-DOS tstamp -> str  ;  rz-ax -m 1234567890
 -W      Win32 tstamp -> str   ;  rz-ax -W 1234567890
 -x      hash string           ;  rz-ax -x linux osx
 -u      units                 ;  rz-ax -u 389289238 # 317.0M
 -w      signed word           ;  rz-ax -w 16 0xffff
 -v      version               ;  rz-ax -v
 -p      position of set bits  ;  rz-ax -p 0xb3
Options (31)
OptionDescriptionSource
-int-> hex ;help
-hex-> int ;help
-lAppend newline to the decoded outputhelp + man
-ashow ascii table ;help + man
-bConvert from binary to string (rz-ax -b 01000101 01110110)help + man
-BConvert from string to binary (rz-ax -B hello)help + man
-dForce output as integer (rz-ax -d 3 outputs 3 instead of 0x3)help + man
-eSwap endianness (rz-ax -e 0x33)help + man
-Dbase64 decodehelp + man
-Ebase64 encodehelp + man
-fFloating point arithmetic (rz-ax -f 6.3+2.1)help + man
-FRead C strings from stdin and output in hexpairs.help + man
-hShow usage help messagehelp + man
-iDump stdin to C array in stdout (rz-ax -i < bytes)help + man
-IConvert LONG to/from IP ADDRESS (rz-ax -I 3530468537)help + man
-kKeep the same base as the input data (rz-ax -k 33+3 -> 36)help + man
-LConvert binary to hexadecimal (rz-ax -L 111111111 outputs 0x1ff)help + man
-nShow hexpairs from integer value (rz-ax -n 0x1234 # 34120000)help + man
-oConvert from octal string to char (rz-ax -o 162 172 # rz)help + man
-NShow hex C string from integer value (rz-ax -N 0x1234 # x34x12x00x00)help + man
-rRz style output (rz-ax -r 0x1234)help + man
-sConvert from hex string to character (rz-ax -s 43 4a 50)help + man
-SConvert from character to hex string (rz-ax -S < /bin/ls > ls.hex)help + man
-tConvert Unix timestamp to string (rz-ax -t 1234567890)help + man
-mConvert MS-DOS timestamp to string (rz-ax -m 0x12345678)help + man
-WConvert Win32 timestamp to string (rz-ax -W 1234567890)help + man
-xConvert a string into a hash (rz-ax -x linux osx)help + man
-uConvert given value to human readable units format (rz-ax -u 389289238 # 317.0M)help + man
-wConvert signed word (rz-ax -w 16 0xffff)help + man
-vShow version informationhelp + man
-pShow position of set bits in the binary representation (rz-ax -p 0xb3)help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.