Format:Rizin project (RZDB)
| Extensions | .rzdb |
|---|---|
| License | LGPL-3.0 |
| On this wiki | Facts · Code · Notes · Topics |
Rizin and Cutter projects are text SDB dumps (.rzdb) with the keys type = 'rizin rz-db project' and a numeric version (26 at the time of reading), then namespaces core/file, config, flags, marks, analysis, debug and seek; optionally deflated.
Overview
Rizin (rizinorg/rizin, LGPL-3.0) saves a project with Ps file.rzdb or rz_project_save_file, and Cutter uses the same files. Source: librz/core/project.c, librz/include/rz_project.h, librz/core/serialize_core.c.
Layout
The project is an SDB (string key/value database with nested namespaces) written as text by sdb_text_save. Top level keys: type = rizin rz-db project and version = a number (RZ_PROJECT_VERSION is 26 in the commit read). Loading rejects files with another type, an invalid version or a version newer than the build, and migrates older versions step by step (project_migrate.c, functions rz_project_migrate_v1_v2 and so on). Namespace core holds offset, blocksize and the sub-namespaces file (keys raw, absolute, relative: the path of the analysed binary), config, flags, marks, analysis, debug and seek. The analysis namespace carries functions, types, xrefs and comments; the individual keys were not read: Unverified.
A project can be saved compressed: the text is written to a temporary file and deflated (loading checks rz_file_is_deflated and inflates first), so a binary .rzdb may be a deflate container around the text.
Moving to or from other tools
Rizin can also export flags and names as commands (* output) that replay in a script; see Technique:Moving analysis between tools.
Code & repositories
- https://github.com/rizinorg/rizin @
f380387375ce9929656c8c9cf50e0d8033757a95· license: LGPL-3.0-only (declared by the contributor; GitHub's detector did not recognize COPYING)
Rizin source; librz/core/project.c and serialize_core.c implement the .rzdb project files used by Cutter too.
Tested on: source read, not run: read source only · checked 2026-10-18