From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Library:Libbrotli" |
|---|
| claim | "_kBrotliContextLookupTable (libbrotlicommon, exported by the DLL, 1.0.8+) is 2048 bytes: LSB6, MSB6, UTF8 and SIGNED modes, each a 256-byte table for the last byte and one for the second-last byte. The pattern is the start of the UTF8 last-byte table at offset 1024; the table starts 1024 bytes before the match." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Libbrotli" |
|---|
| observed_in | |
|---|
|
|---|
| data | | pattern | "00 00 00 00 00 00 00 00 00 04 04 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 0C 10 0C 0C 14 0C 10 18 1C 0C 0C 20 0C 24 0C" |
|---|
| matches | "_kBrotliContextLookupTable + 0x400 (CONTEXT_UTF8, last byte)" |
|---|
| name | "_kBrotliContextLookupTable" |
|---|
| offset | -1024 |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "const uint8_t _kBrotliContextLookupTable[2048]; first tag with this name: v1.0.8" |
|---|
| repo | "https://github.com/google/brotli" |
|---|
| commit | "86ee1f65f62d6272345dee751d49e7d1f01c2b11" |
|---|
| path | "c/common/context.c" |
|---|
| lines | "6-156" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "One match each in libbrotlicommon.dll of Git for Windows 2.47.1 (match 0x400 after the exported _kBrotliContextLookupTable, RVA 0x4080), .NET 8.0.31/9.0.19/10.0.11 System.IO.Compression.Native.dll and node.exe 24.13.0; the whole 2048-byte table (SHA-256 0e4abc03...7ad9) matched too" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "_kBrotliContextLookupTable" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T19:03:31.999Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:18:08.377Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read c/common/context.c at 86ee1f65: _kBrotliContextLookupTable[2048], 4 modes x (256 last-byte + 256 second-last-byte); parsed it and compared bytes 1024..1071 (UTF8 last-byte table) with the 48-byte pattern: identical." |
|---|
|
|
|---|