Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

84.5. rizin-0.9.1

Reverse-engineering framework — disassembler and binary analysis in the terminal

0.9.1-1 · LGPL-3.0-only · 4.8 SBU · 77.1 MiB, 778 files · 41_system, 375 of 1047 · ports/core/devtools/rizin

Homepage: https://rizin.re/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/devtools.txt:

Disassembly, cross-references and patching in a terminal with no JVM. Its decompiler is weak and Ghidra is the boxed row that answers that.

Depends on: meson, ninja, pkgconf, zlib, libzip, openssl, xxhash, capstone, file, lz4, zstd, xz, pcre2, libmspack.

Required by: no port names it.

Sources: rizin-0.9.1.tar.xz (21.7 MiB), sigdb-4addbed50cd3b50eeef5a41d72533d079ebbfbf8.tar.gz (47.5 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install rizin'

build.sh:

ln -s "$SRC_ROOT/sigdb-$_sigdb" subprojects/sigdb

meson setup build \
	--prefix=/usr \
	--sysconfdir=/etc \
	--libdir=lib \
	--buildtype=release \
	-Duse_sys_capstone=enabled \
	-Duse_sys_openssl=enabled \
	-Duse_sys_zlib=enabled \
	-Duse_sys_libzip=enabled \
	-Duse_sys_xxhash=enabled \
	-Duse_sys_magic=enabled \
	-Duse_sys_lz4=enabled \
	-Duse_sys_libzstd=enabled \
	-Duse_lzma=true \
	-Duse_sys_lzma=enabled \
	-Duse_sys_pcre2=enabled \
	-Duse_sys_libmspack=enabled \
	-Duse_sys_tree_sitter=disabled \
	-Dregenerate_cmds=disabled \
	-Dinstall_sigdb=true \
	-Denable_tests=false \
	-Denable_rz_test=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Programs: rizin, rz-ar, rz-asm, rz-ax, rz-bin, rz-diff, rz-find, rz-gg, rz-hash, rz-run, rz-sign.

Libraries: librz_arch.so, librz_bin.so, librz_config.so, librz_cons.so, librz_core.so, librz_crypto.so, librz_debug.so, librz_demangler.so, librz_diff.so, librz_egg.so, librz_flag.so, librz_hash.so, librz_il.so, librz_io.so, librz_lang.so, librz_magic.so, librz_main.so, librz_mark.so, librz_reg.so, librz_search.so, librz_sign.so, librz_socket.so, librz_syscall.so, librz_type.so, librz_util.so.

Directories: /usr/include/librz, /usr/lib/cmake/Rizin, /usr/lib/cmake/rz_arch, /usr/lib/cmake/rz_bin, /usr/lib/cmake/rz_config, /usr/lib/cmake/rz_cons, /usr/lib/cmake/rz_core, /usr/lib/cmake/rz_crypto, /usr/lib/cmake/rz_debug, /usr/lib/cmake/rz_demangler, /usr/lib/cmake/rz_diff, /usr/lib/cmake/rz_egg, /usr/lib/cmake/rz_flag, /usr/lib/cmake/rz_hash, /usr/lib/cmake/rz_il, /usr/lib/cmake/rz_io, /usr/lib/cmake/rz_lang, /usr/lib/cmake/rz_magic, /usr/lib/cmake/rz_main, /usr/lib/cmake/rz_mark, /usr/lib/cmake/rz_reg, /usr/lib/cmake/rz_search, /usr/lib/cmake/rz_sign, /usr/lib/cmake/rz_socket, /usr/lib/cmake/rz_syscall, /usr/lib/cmake/rz_type, /usr/lib/cmake/rz_util, /usr/share/licenses/rizin, /usr/share/rizin.