From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Library:Libbrotli" |
|---|
| claim | "Layout of BrotliDictionary (1.0.0+) on 64-bit targets (LP64 and Win64 are identical: size_t and pointers are 8 bytes), as returned by BrotliGetDictionary." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Libbrotli" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "BrotliDictionary" |
|---|
| abi | "lp64" |
|---|
| size | "0xB0" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 32 |
|---|
| type | "uint8_t[32]" |
|---|
| name | "size_bits_by_length" |
|---|
| notes | "log2 of the word count per length 4-24; 0 = no words" |
|---|
|
| offset | "0x20" |
|---|
| size | 128 |
|---|
| type | "uint32_t[32]" |
|---|
| name | "offsets_by_length" |
|---|
| notes | "start of the words of each length; [25..31] = 122784" |
|---|
|
| offset | "0xA0" |
|---|
| size | 8 |
|---|
| type | "size_t" |
|---|
| name | "data_size" |
|---|
| notes | "122784" |
|---|
|
| offset | "0xA8" |
|---|
| size | 8 |
|---|
| type | "const uint8_t *" |
|---|
| name | "data" |
|---|
| notes | "kBrotliDictionaryData, or NULL with BROTLI_EXTERNAL_DICTIONARY_DATA until BrotliSetDictionaryData" |
|---|
|
|
|---|
| endianness | "native" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "typedef struct BrotliDictionary" |
|---|
| repo | "https://github.com/google/brotli" |
|---|
| commit | "86ee1f65f62d6272345dee751d49e7d1f01c2b11" |
|---|
| path | "c/common/dictionary.h" |
|---|
| lines | "18-41" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "In libbrotlicommon.dll (Git for Windows 2.47.1) and the .NET 8/9/10 DLLs the 8 bytes at +0xA0 are A0 DF 01 00 00 00 00 00 and +0xA8 holds a pointer (relocated VA) to the dictionary data" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "BrotliDictionary (64-bit)" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T19:03:32.580Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T12:14:31.394Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read c/common/dictionary.h lines 18-41 at 86ee1f6: uint8_t size_bits_by_length[32], uint32_t offsets_by_length[32], size_t data_size, const uint8_t *data; offsets 0, 0x20, 0xA0, 0xA8, size 0xB0 on 64-bit; header comment data_size == offsets_by_length[31]." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T12:40:32.281Z" |
|---|
| summary | "Set byte order native: brotli C struct (pointers and tables) in process memory." |
|---|
| changed | |
|---|
|
|
|---|