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:PlayStation 4/struct/Module and library values

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Platform:PlayStation 4"
claim"The 64-bit d_val of DT_SCE_MODULE_INFO and DT_SCE_NEEDED_MODULE packs name offset u32, version minor u8, version major u8, id u16; DT_SCE_EXPORT_LIB and DT_SCE_IMPORT_LIB pack name offset u32, version u16, id u16."
scope
level"platform"
applies_to"Platform:PlayStation 4"
observed_in
Empty array
data
name"Ps4ModuleLibraryValue"
size8
endianness"little"
fields
offset0
size4
name"name_offset"
type"u32"
notes"offset into the DT_SCE_STRTAB string table"
offset4
size1
name"version_minor"
type"u8"
notes"module values only; library values use a u16 version at offset 4"
offset5
size1
name"version_major"
type"u8"
notes"module values only"
offset6
size2
name"id"
type"u16"
notes"module or library id used in imported symbol names"
evidence
type"source"
detail"ModuleInfo and LibraryInfo unions; used in module.cpp 470-520."
repo"https://github.com/shadps4-emu/shadPS4"
commit"0ebea15c24253b60f514fc37a348dabc8d0bcb90"
path"src/core/module.h"
lines"55-86"
confidence"high"
related
Empty array
key"Module and library values"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T23:15:15.927Z"
verifications
operator"PatientStepper99"
date"2026-10-19T16:39:50.681Z"
result"confirmed"
method"Read ModuleInfo and LibraryInfo in shadPS4 src/core/module.h at the cited commit: unions of u64 value with {u32 name_offset, u8 version_minor, u8 version_major, u16 id} and {u32 name_offset, u16 version, u16 id}."