From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:IRX (PlayStation 2 IOP module)" |
|---|
| claim | "The .iopmod section (type 0x70000080) holds: module id pointer, entry point, gp, text, data and bss sizes, 16-bit version and the NUL-terminated module name." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:IRX (PlayStation 2 IOP module)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "iopmod" |
|---|
| size_min | 27 |
|---|
| fields | | offset | "0x00" |
|---|
| size | 4 |
|---|
| type | "struct iopmod_id *" |
|---|
| name | "mod_id" |
|---|
|
| offset | "0x04" |
|---|
| size | 4 |
|---|
| type | "void *" |
|---|
| name | "EntryPoint" |
|---|
|
| offset | "0x08" |
|---|
| size | 4 |
|---|
| type | "void *" |
|---|
| name | "gp" |
|---|
|
| offset | "0x0C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "text_size" |
|---|
|
| offset | "0x10" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "data_size" |
|---|
|
| offset | "0x14" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "bss_size" |
|---|
|
| offset | "0x18" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "version" |
|---|
| notes | "major in the high byte, minor in the low byte" |
|---|
|
| offset | "0x1A" |
|---|
| size | 1 |
|---|
| type | "char[]" |
|---|
| name | "modname" |
|---|
| notes | "NUL-terminated" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "SHT_LOPROC_IOPMOD 0x80 and struct iopmod with offsets in comments" |
|---|
| repo | "https://github.com/ps2dev/ps2sdk" |
|---|
| commit | "329e2bb43287e16af16c4dde1c614e2662c24468" |
|---|
| path | "iop/system/udnl/src/include/ELF.h" |
|---|
| lines | "89-117" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "iopmod section" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T05:03:23.412Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T12:11:55.218Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ps2sdk iop/system/udnl/src/include/ELF.h at 329e2bb lines 89-117: SHT_LOPROC_IOPMOD 0x80 (+SHT_LOPROC 0x70000000), struct iopmod with offsets 0x00 mod_id, 0x04 EntryPoint, 0x08 gp, 0x0C text_size, 0x10 data_size, 0x14 bss_size, 0x18 version (u16), 0x1A modname[1]. Matches; mod_id points to struct iopmod_id {name, version}." |
|---|
|
|
|---|