Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:REL relocatable module/struct/OSImportInfo

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Format:REL relocatable module"
claim"Each REL import table entry is 8 bytes: u32 id of the module the relocations refer to (0 = the main DOL) and u32 file offset of its OSRel relocation stream. impSize in the header is the table size in bytes (entries = impSize / 8)."
scope
level"format"
applies_to"Format:REL relocatable module"
observed_in
Empty array
data
name"OSImportInfo"
size8
fields
offset0
size4
type"u32"
name"id"
notes"imported module id; 0 = DOL"
offset4
size4
type"u32"
name"offset"
notes"to the OSRel stream; pointer after OSLink"
endianness"big"
evidence
type"source"
detail"struct OSImportInfo { OSModuleID id; u32 offset; }"
repo"https://github.com/zeldaret/tww"
commit"8b93b372dc8e841f12ddfb7e0215626f62b05417"
path"include/dolphin/os/OSLink.h"
lines"84-87"
type"source"
detail"imp loops from impOffset to impOffset + impSize; Link adds the module base to imp->offset"
repo"https://github.com/zeldaret/tww"
commit"8b93b372dc8e841f12ddfb7e0215626f62b05417"
path"src/dolphin/os/OSLink.c"
lines"135-141, 260-264"
confidence"high"
related
Empty array
key"OSImportInfo"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-17T18:32:39.372Z"
verifications
Empty array
revisions
by"PatientStepper99"
date"2026-10-19T16:38:42.109Z"
summary"data.endianness big added."
changed
"data"