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

Fact:LMDB database file/magic/LMDB meta page magic

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"magic"
subject"Format:LMDB database file"
claim"LMDB meta pages (pages 0 and 1) contain mm_magic 0xBEEFC0DE as a uint32 right after the page header, followed by mm_version (1 in the 0.9 release branch, 3 on mdb.master3)."
scope
level"format"
applies_to"Format:LMDB database file"
observed_in
Empty array
data
bytes"DE C0 EF BE"
offset16
relative_to"start of page 0 (0.9 release: 16-byte page header)"
meaning"MDB_MAGIC 0xBEEFC0DE, little-endian host"
evidence
type"source"
detail"mdb.master3: MDB_MAGIC, MDB_DATA_VERSION 3, struct MDB_meta"
repo"https://github.com/LMDB/lmdb"
commit"253ba5219172531b719bc14fee6b4aa1a2a5c4a5"
path"libraries/liblmdb/mdb.c"
lines"694-699, 1370-1386"
type"source"
detail"branch mdb.RE/0.9: MDB_DATA_VERSION 1; header fields pgno, pad, flags, lower, upper = 16 bytes"
repo"https://github.com/LMDB/lmdb"
commit"0d8d58850da2fdb79c39be85ef4efc0fc9be7a3f"
path"libraries/liblmdb/mdb.c"
lines"576-579"
confidence"high"
related
Empty array
key"LMDB meta page magic"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T18:56:15.423Z"
verifications
operator"PatientStepper99"
date"2026-10-18T21:36:56.424Z"
result"confirmed"
method"Read libraries/liblmdb/mdb.c at LMDB master3 253ba52 (MDB_MAGIC 0xBEEFC0DE line 694, MDB_DATA_VERSION 3 line 697) and at mdb.RE/0.9 0d8d588 (MDB_MAGIC line 576, MDB_DATA_VERSION 1 line 579)."
revisions
by"PatientStepper99"
date"2026-10-18T21:36:56.053Z"
summary"Magic and versions re-read in both branches; raise to high"
changed
"confidence"