From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:LE and LX (Linear Executable)" |
|---|
| claim | "An LE/LX object table entry is 24 bytes; the LE page map entry is 4 bytes, the LX one 8 bytes." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:LE and LX (Linear Executable)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "object_record" |
|---|
| size | 24 |
|---|
| fields | | name | "size" |
|---|
| offset | 0 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
|
| name | "addr" |
|---|
| offset | 4 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| notes | "base address" |
|---|
|
| name | "flags" |
|---|
| offset | 8 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| notes | "0x1 R, 0x2 W, 0x4 X, 0x8 resource, 0x10 discardable, 0x20 shared, 0x40 preload, 0x2000 BIG" |
|---|
|
| name | "mapidx" |
|---|
| offset | 12 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| notes | "first page map entry, 1-based" |
|---|
|
| name | "mapsize" |
|---|
| offset | 16 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| notes | "number of page map entries" |
|---|
|
| name | "reserved" |
|---|
| offset | 20 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct object_record, le_map_entry (u8 page_num[3], u8 flags), lx_map_entry (u32 page_offset, u16 data_size, u16 flags)" |
|---|
| repo | "open-watcom/open-watcom-v2" |
|---|
| commit | "96b007f094bb21c6108b2793706fa298da59fc5e" |
|---|
| path | "bld/watcom/h/exeflat.h" |
|---|
|
| type | "source" |
|---|
| detail | "typedef struct object_record, OSF_OBJ_* flag defines, le_map_entry, lx_map_entry" |
|---|
| repo | "open-watcom/open-watcom-v2" |
|---|
| commit | "96b007f094bb21c6108b2793706fa298da59fc5e" |
|---|
| path | "bld/watcom/h/exeflat.h" |
|---|
| lines | "166-232" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T12:40:47.046Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-18T22:07:46.403Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read bld/watcom/h/exeflat.h in open-watcom-v2 at 96b007f: object_record is six unsigned_32 (size, addr, flags, mapidx, mapsize, reserved) = 24 bytes; OSF_OBJ_* flag values 0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x2000 match; le_map_entry = page_num[3]+flags = 4 bytes; lx_map_entry = u32+u16+u16 = 8 bytes." |
|---|
| notes | "The '1-based' remark on mapidx is not in this header (it is the LX/LE spec convention)." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-18T22:07:46.182Z" |
|---|
| summary | "Structs and flag values re-read at the cited commit; raising to high" |
|---|
| changed | |
|---|
|
|
|---|