|
PSPSDK 2026-01-13
|
#include <kernel/psploadcore.h>

Data Fields | |
| u32 | unk0 |
| Unknown. | |
| u32 | mode_attr |
| The mode attribute of the executable file. | |
| u32 | api_type |
| The API type. | |
| u32 | unk12 |
| Unknown. | |
| SceSize | exec_size |
| The size of the executable, including the ~PSP header. | |
| SceSize | max_alloc_size |
| The maximum size needed for the decompression. | |
| SceUID | decompression_mem_id |
| The memory ID of the decompression buffer. | |
| void * | file_base |
| Pointer to the compressed module data. | |
| u32 | elf_type |
| Indicates the ELF type of the executable. | |
| void * | top_addr |
| The start address of the TEXT segment of the executable in memory. | |
| u32 | entry_addr |
| The entry address of the module. | |
| u32 | unk44 |
| Unknown. | |
| SceSize | largest_seg_size |
| The size of the largest module segment. | |
| SceSize | text_size |
| The size of the TEXT segment. | |
| SceSize | data_size |
| The size of the DATA segment. | |
| SceSize | bss_size |
| The size of the BSS segment. | |
| u32 | partition_id |
| The memory partition of the executable. | |
| u32 | is_kernel_mod |
| Indicates whether the executable is a kernel module or not. | |
| u32 | is_decrypted |
| Indicates whether the executable is decrypted or not. | |
| u32 | module_info_offset |
| The offset from the start address of the TEXT segment to the SceModuleInfo section. | |
| SceModuleInfo * | module_info |
| The pointer to the module's SceModuleInfo section. | |
| u32 | is_compressed |
| Indicates whether the module is compressed or not. | |
| u16 | mod_info_attribute |
| The module's attributes. | |
| u16 | exec_attribute |
| The attributes of the executable file. | |
| SceSize | dec_size |
| The size of the decompressed module, including its headers. | |
| u32 | is_decompressed |
| Indicates whether the module is decompressed or not. | |
| u32 | is_sign_checked |
| Indicates whether the module was signChecked or not. | |
| u32 | unk104 |
| Unknown. | |
| SceSize | overlap_size |
| The size of the GZIP compression overlap. | |
| void * | exports_info |
| Pointer to the first resident library entry table of the module. | |
| SceSize | exports_size |
| The size of all resident library entry tables of the module. | |
| void * | imports_info |
| Pointer to the first stub library entry table of the module. | |
| SceSize | imports_size |
| The size of all stub library entry tables of the module. | |
| void * | strtab_offset |
| Pointer to the string table section. | |
| u8 | num_segments |
| The number of segments in the executable. | |
| u8 | padding [3] |
| Reserved. | |
| u32 | segment_addr [(4)] |
| An array containing the start address of each segment. | |
| u32 | segment_size [(4)] |
| An array containing the size of each segment. | |
| SceUID | mem_block_id |
| The ID of the ELF memory block containing the TEXT, DATA and BSS segment. | |
| u32 | segment_align [(4)] |
| An array containing the alignment information of each segment. | |
| u32 | max_seg_align |
| The largest value of the segment_align array. | |
| u32 SceLoadCoreExecFileInfo::api_type |
The API type.
| SceSize SceLoadCoreExecFileInfo::bss_size |
The size of the BSS segment.
| SceSize SceLoadCoreExecFileInfo::data_size |
The size of the DATA segment.
| SceSize SceLoadCoreExecFileInfo::dec_size |
The size of the decompressed module, including its headers.
| SceUID SceLoadCoreExecFileInfo::decompression_mem_id |
The memory ID of the decompression buffer.
| u32 SceLoadCoreExecFileInfo::elf_type |
Indicates the ELF type of the executable.
One of ::SceExecFileElfType.
| u32 SceLoadCoreExecFileInfo::entry_addr |
The entry address of the module.
It is the offset from the start of the TEXT segment to the program's entry point.
| u16 SceLoadCoreExecFileInfo::exec_attribute |
The attributes of the executable file.
One of ::SceExecFileAttr.
| SceSize SceLoadCoreExecFileInfo::exec_size |
The size of the executable, including the ~PSP header.
| void* SceLoadCoreExecFileInfo::exports_info |
Pointer to the first resident library entry table of the module.
| SceSize SceLoadCoreExecFileInfo::exports_size |
The size of all resident library entry tables of the module.
| void* SceLoadCoreExecFileInfo::file_base |
Pointer to the compressed module data.
| void* SceLoadCoreExecFileInfo::imports_info |
Pointer to the first stub library entry table of the module.
| SceSize SceLoadCoreExecFileInfo::imports_size |
The size of all stub library entry tables of the module.
| u32 SceLoadCoreExecFileInfo::is_compressed |
Indicates whether the module is compressed or not.
Set to 1 if it is compressed, otherwise 0.
| u32 SceLoadCoreExecFileInfo::is_decompressed |
Indicates whether the module is decompressed or not.
Set to 1 for decompressed, otherwise 0.
| u32 SceLoadCoreExecFileInfo::is_decrypted |
Indicates whether the executable is decrypted or not.
Set to 1 if it is successfully decrypted, 0 for encrypted.
| u32 SceLoadCoreExecFileInfo::is_kernel_mod |
Indicates whether the executable is a kernel module or not.
Set to 1 for kernel module, 0 for user module.
| u32 SceLoadCoreExecFileInfo::is_sign_checked |
Indicates whether the module was signChecked or not.
Set to 1 for signChecked, otherwise 0. A signed module has a "mangled" executable header, in other words, the "~PSP" signature can't be seen.
| SceSize SceLoadCoreExecFileInfo::largest_seg_size |
The size of the largest module segment.
Should normally be "textSize", but technically can be any other segment.
| SceSize SceLoadCoreExecFileInfo::max_alloc_size |
The maximum size needed for the decompression.
| u32 SceLoadCoreExecFileInfo::max_seg_align |
The largest value of the segment_align array.
| SceUID SceLoadCoreExecFileInfo::mem_block_id |
The ID of the ELF memory block containing the TEXT, DATA and BSS segment.
| u16 SceLoadCoreExecFileInfo::mod_info_attribute |
The module's attributes.
One or more of SceModuleAttribute and SceModulePrivilegeLevel.
| u32 SceLoadCoreExecFileInfo::mode_attr |
The mode attribute of the executable file.
One of ::SceExecFileModeAttr.
| SceModuleInfo* SceLoadCoreExecFileInfo::module_info |
The pointer to the module's SceModuleInfo section.
| u32 SceLoadCoreExecFileInfo::module_info_offset |
The offset from the start address of the TEXT segment to the SceModuleInfo section.
| u8 SceLoadCoreExecFileInfo::num_segments |
The number of segments in the executable.
| SceSize SceLoadCoreExecFileInfo::overlap_size |
The size of the GZIP compression overlap.
| u8 SceLoadCoreExecFileInfo::padding[3] |
Reserved.
| u32 SceLoadCoreExecFileInfo::partition_id |
The memory partition of the executable.
| u32 SceLoadCoreExecFileInfo::segment_addr[(4)] |
An array containing the start address of each segment.
| u32 SceLoadCoreExecFileInfo::segment_align[(4)] |
An array containing the alignment information of each segment.
| u32 SceLoadCoreExecFileInfo::segment_size[(4)] |
An array containing the size of each segment.
| void* SceLoadCoreExecFileInfo::strtab_offset |
Pointer to the string table section.
| SceSize SceLoadCoreExecFileInfo::text_size |
The size of the TEXT segment.
| void* SceLoadCoreExecFileInfo::top_addr |
The start address of the TEXT segment of the executable in memory.
| u32 SceLoadCoreExecFileInfo::unk0 |
Unknown.
| u32 SceLoadCoreExecFileInfo::unk104 |
Unknown.
| u32 SceLoadCoreExecFileInfo::unk12 |
Unknown.
| u32 SceLoadCoreExecFileInfo::unk44 |
Unknown.