From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Library:Zlib" |
|---|
| claim | "zlib's deflate distance-code lookup _dist_code[512] (trees.h, unsigned char) starts 0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8 x8; present when deflate is linked." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Zlib" |
|---|
| observed_in | | "Zlib1.dll 1.3.1 (MinGW-w64)" |
| "Python311.dll" |
| "Python312.dll" |
| "TortoiseGit zlib DLLs" |
| "Node.exe v24.13.0" |
|
|---|
|
|---|
| data | | pattern | "00 01 02 03 04 04 05 05 06 06 06 06 07 07 07 07 08 08 08 08 08 08 08 08" |
|---|
| matches | "start of _dist_code[512] (trees.h)" |
|---|
| offset | 0 |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, ..." |
|---|
| repo | "https://github.com/madler/zlib" |
|---|
| commit | "767c4c947852e143f582c85f14cf573411df1b35" |
|---|
| path | "trees.h" |
|---|
| lines | "73-75" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "One hit per deflate copy in the observed binaries." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "dist code table" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T05:49:43.652Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:17:36.119Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read trees.h at 767c4c94 line 73-75: _dist_code[DIST_CODE_LEN] starts 0,1,2,3,4,4,5,5,6x4,7x4,8x8; equals the pattern." |
|---|
|
|
|---|