From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Library:Miniz" |
|---|
| claim | "The 16-entry nibble CRC-32 table (0, 0x1DB71064, 0x3B6E20C8, ...) is in miniz.c only inside a disabled '#if 0' block (Karl Malbrain's compact CRC); a default miniz build compiles mz_crc32 with the standard 256-entry table s_crc_table instead, so this pattern will not normally be found in a miniz binary and is not a reliable miniz marker. It can appear in code copied from the compact CRC." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Miniz" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "mz_crc32 s_crc32 nibble table" |
|---|
| pattern | "00 00 00 00 64 10 B7 1D C8 20 6E 3B AC 30 D9 26 90 41 DC 76 F4 51 6B 6B 58 61 B2 4D 3C 71 05 50" |
|---|
| matches | "first 8 of 16 little-endian uint32 entries 0, 0x1DB71064, 0x3B6E20C8, 0x26D930AC, 0x76DC4190, 0x6B6B51F4, 0x4DB26158, 0x5005713C; the other 8 entries are 0xEDB88320, 0xF00F9344, 0xD6D6A3E8, 0xCB61B38C, 0x9B64C2B0, 0x86D3D2D4, 0xA00AE278, 0xBDBDF21C" |
|---|
| offset | 0 |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "static const mz_uint32 s_crc32[16]; the little-endian bytes are derived by hand from the listed values, not from a compiled binary" |
|---|
| repo | "https://github.com/richgel999/miniz" |
|---|
| commit | "2948eebafc5b9f1c69bebed80333e403a09bd62d" |
|---|
| path | "miniz.c" |
|---|
| lines | "70-73" |
|---|
|
| type | "source" |
|---|
| detail | "mz_crc32 using s_crc32[16] is inside '#if 0', then '#elif defined(USE_EXTERNAL_MZCRC)', and '#else' uses static const mz_uint32 s_crc_table[256]. All 16 table values re-derived: entry i = CRC-32 (poly 0xEDB88320) of nibble i shifted 4 bits; the listed little-endian bytes match." |
|---|
| repo | "https://github.com/richgel999/miniz" |
|---|
| commit | "2948eebafc5b9f1c69bebed80333e403a09bd62d" |
|---|
| path | "miniz.c" |
|---|
| lines | "68-107" |
|---|
|
|
|---|
| confidence | "low" |
|---|
| related | |
|---|
| key | "mz_crc32 nibble table" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T06:09:36.548Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:18:10.309Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read miniz.c at 2948eeba lines 66-107: s_crc32[16] = {0, 0x1db71064, 0x3b6e20c8, 0x26d930ac, 0x76dc4190, 0x6b6b51f4, 0x4db26158, 0x5005713c, 0xedb88320, ...} sits inside #if 0, the default branch uses s_crc_table[256]; LE bytes of the first 8 values equal the pattern. The corrected claim is right." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-18T20:33:24.594Z" |
|---|
| summary | "Source read: the nibble-table mz_crc32 sits inside #if 0, the default build uses a 256-entry table; claim corrected" |
|---|
| changed | | "claim" |
| "evidence" |
| "confidence" |
|
|---|
|
|
|---|