Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Format:x64dbg database (DD32, DD64)

From ReverseEngineering.wiki
Format
Extensions .dd32, .dd64
License GPL-3.0
On this wiki Facts · Code · Notes · Topics

x64dbg stores per-module analysis in a JSON file (.dd32 or .dd64, named after the debugged module) that is LZ4-compressed on save by default; entries are objects with module, address (RVA as hex) and text, for labels, comments, bookmarks, breakpoints and more.

Overview

The x64dbg debugger (x64dbg/x64dbg, GPL-3.0) writes <module>.dd64 for 64-bit and <module>.dd32 for 32-bit targets (database.cpp: the extension is chosen at compile time). The file sits next to the program or in the database directory setting, and is loaded again when the module is debugged.

Container

The content is JSON written with the Jansson library. After writing, the debugger compresses the file in place with LZ4 (LZ4_compress_fileW), unless the setting Engine > DisableDatabaseCompression is on; on load it tries LZ4_decompress_fileW and treats an LZ4_INVALID_ARCHIVE answer as an uncompressed file. The wrapper's own header bytes are not in the repository (it is in an external library): Unverified. To read a database, try decompressing with x64dbg's LZ4 file format; if the file already begins with { it is plain JSON.

Contents

Top-level keys include labels, comments, bookmarks (and others per feature such as breakpoints, functions, loops, arguments, Unverified), plus notes, initscript and plugins (object per plug-in), and hashAlgorithm = murmurhash with hash of the debugged module's file. Label, comment and bookmark entries are objects: module (module name), address (hex string, an RVA relative to the module base, because the loader adds the base back), manual (bool, false for automatic entries) and, for labels and comments, text.

This simplicity makes it easy to convert labels from or to other tools: see Technique:Moving analysis between tools. The wiki's symbol maps (RVAs and names) map directly to the labels array.

Code & repositories

  • https://github.com/x64dbg/x64dbg @ c44297200731995c51dbc75ab3098e2f0094b282 · license: GPL-3.0-only (declared by the contributor; GitHub's detector did not recognize LICENSE)
    x64dbg debugger source; src/dbg/database.cpp, label.cpp, comment.cpp and serializablemap.h define the .dd32/.dd64 JSON database.
    Tested on: source read, not run: read source only · checked 2026-10-18