From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:PKLITE" |
|---|
| claim | "The word at MZ offset 0x1C is the PKLITE version info: bits 0-11 version (major in the high byte), 0x1000 extra, 0x2000 large (else small), 0x4000 labelled h by deark." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PKLITE" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "pklite_version_info" |
|---|
| size | 2 |
|---|
| fields | | offset | "0x0" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "version_info" |
|---|
| bits | | 12 | "extra compression (/e)" |
|---|
| 13 | "large model (/l, else /s)" |
|---|
| 14 | "labelled /h by deark" |
|---|
| 0-11 | "version, (v>>8).(v&0xff)" |
|---|
|
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "info_bytes_to_version_struct and do_read_version_info(c, d, 28) for EXE files." |
|---|
| repo | "jsummers/deark" |
|---|
| commit | "8997059c4f32af79978fb6c83be7c1c26c259afa" |
|---|
| path | "modules/pklite.c" |
|---|
| lines | "268-283, 2596" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "PKLITE version word" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:42:06.427Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:12:55.942Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read deark pklite.c at the cited commit: info_bytes_to_version_struct masks 0x0fff, 0x4000 '/h', 0x2000 '/l' else '/s', 0x1000 '/e'; do_read_version_info(c, d, 28) is the EXE case. COM files read the word at another position (36 or 46 in the stub), outside this fact." |
|---|
|
|
|---|