From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:Phar Lap executables" |
|---|
| claim | "Open Watcom's exesigns.h lists the two-letter signatures BW (DOS16M), C5, DX, LE, LX, MP, MQ (REX/Phar Lap), MZ, NE, P2, P3, P6, PE, PL (Phar Lap TNT) and PX. Each constant is the file's first two bytes read as a little-endian 16-bit word (first letter in the low byte: BW is 0x5742, bytes 42 57)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Phar Lap executables" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "EXESIGN" |
|---|
| underlying_type | "uint16_t" |
|---|
| values | | 0x5742 | "BW" |
|---|
| 0x3543 | "C5" |
|---|
| 0x5844 | "DX" |
|---|
| 0x454c | "LE" |
|---|
| 0x584c | "LX" |
|---|
| 0x504d | "MP" |
|---|
| 0x514d | "MQ" |
|---|
| 0x5a4d | "MZ" |
|---|
| 0x454e | "NE" |
|---|
| 0x3250 | "P2" |
|---|
| 0x3350 | "P3" |
|---|
| 0x3650 | "P6" |
|---|
| 0x4550 | "PE" |
|---|
| 0x4c50 | "PL" |
|---|
| 0x5850 | "PX" |
|---|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "The comments give BW = DOS16M, MQ = REX Pharlap, PL = Pharlap TNT." |
|---|
| repo | "open-watcom/open-watcom-v2" |
|---|
| commit | "96b007f094bb21c6108b2793706fa298da59fc5e" |
|---|
| path | "bld/watcom/h/exesigns.h" |
|---|
| lines | "17-31" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Two-letter executable signatures" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:42:06.923Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:30:13.560Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read exesigns.h at 96b007f0: the 15 EXESIGN_* 16-bit constants (BW 0x5742 ... PX 0x5850) and comments (BW DOS16M, MQ REX Pharlap, PL Pharlap TNT) match. Header also has 4-byte ELF 0x464c457f and aliases DOS/DOS16M/REX/ZERO, not in the list." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T08:15:49.667Z" |
|---|
| summary | "All 15 values match exesigns.h. Added byte order: the constants are 16-bit values whose low byte is the first letter (0x5742 is the bytes 42 57, 'BW' in the file); the header also has 4-byte…" |
|---|
| changed | |
|---|
|
| by | "PatientStepper99" |
|---|
| date | "2026-10-19T11:30:12.340Z" |
|---|
| summary | "All 15 EXESIGN two-letter constants listed: mark complete (header also has 4-byte ELF signature and aliases)." |
|---|
| changed | |
|---|
|
|
|---|