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:Libbrotli/signature/kBrotliDictionary header

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"signature"
subject"Library:Libbrotli"
claim"The const BrotliDictionary kBrotliDictionary of libbrotlicommon starts with size_bits_by_length[32] (0,0,0,0,10,10,11,11,10,10,10,10,10,9,9,8,7,7,8,7,7,6,6,5,5, then 7 zeros) and offsets_by_length[32] as little-endian uint32 (0 x5, 4096, 9216, 21504, ...). The 64 bytes below occur once in each checked build; BrotliGetDictionary returns this address. In 1.0.0+ data_size (122784) and the data pointer follow at +0xA0; in 0.5.x-0.6.x the dictionary bytes follow at +0xA0."
scope
level"library"
applies_to"Library:Libbrotli"
observed_in
Empty array
data
pattern"00 00 00 00 0A 0A 0B 0B 0A 0A 0A 0A 0A 09 09 08 07 07 08 07 07 06 06 05 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 24 00 00 00 54 00 00"
matches"kBrotliDictionary (BrotliDictionary struct: size_bits_by_length, offsets_by_length)"
name"kBrotliDictionary"
offset0
evidence
type"source"
detail"static const BrotliDictionary kBrotliDictionary initializer; struct in c/common/dictionary.h lines 18-41; same values at tags v0.5.2 and v0.6.0 (data inline) and v1.0.0-v1.2.0 (data_size + pointer)"
repo"https://github.com/google/brotli"
commit"86ee1f65f62d6272345dee751d49e7d1f01c2b11"
path"c/common/dictionary.c"
lines"17-48"
type"byte_pattern"
detail"Exactly one match in libbrotlicommon.dll of Git for Windows 2.47.1 (MinGW, 1.1.0; RVA 0x4880, followed by A0 DF 01 00 00 00 00 00 and a pointer), System.IO.Compression.Native.dll of .NET 8.0.31, 9.0.19 and 10.0.11 (MSVC) and node.exe 24.13.0; no match in git.exe, libbrotlidec.dll, libbrotlienc.dll"
confidence"high"
related
Empty array
key"kBrotliDictionary header"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-17T19:03:31.715Z"
verifications
operator"PatientStepper99"
date"2026-10-19T11:18:08.459Z"
result"confirmed"
method"Read c/common/dictionary.c at 86ee1f65 lines 17-48: size_bits_by_length[32] and offsets_by_length[32] (0 x5, 4096, 9216, 21504, ...); packed the first 32 bytes + 8 LE uint32 and compared with the 64-byte pattern: identical. The struct is static const (not exported)."