PSPSDK 2026-01-13
Loading...
Searching...
No Matches
SceLoadCoreExecFileInfo Struct Reference

#include <kernel/psploadcore.h>

Collaboration diagram for SceLoadCoreExecFileInfo:

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.
 
SceModuleInfomodule_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.
 

Field Documentation

◆ api_type

u32 SceLoadCoreExecFileInfo::api_type

The API type.

◆ bss_size

SceSize SceLoadCoreExecFileInfo::bss_size

The size of the BSS segment.

◆ data_size

SceSize SceLoadCoreExecFileInfo::data_size

The size of the DATA segment.

◆ dec_size

SceSize SceLoadCoreExecFileInfo::dec_size

The size of the decompressed module, including its headers.

◆ decompression_mem_id

SceUID SceLoadCoreExecFileInfo::decompression_mem_id

The memory ID of the decompression buffer.

◆ elf_type

u32 SceLoadCoreExecFileInfo::elf_type

Indicates the ELF type of the executable.

One of ::SceExecFileElfType.

◆ entry_addr

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.

◆ exec_attribute

u16 SceLoadCoreExecFileInfo::exec_attribute

The attributes of the executable file.

One of ::SceExecFileAttr.

◆ exec_size

SceSize SceLoadCoreExecFileInfo::exec_size

The size of the executable, including the ~PSP header.

◆ exports_info

void* SceLoadCoreExecFileInfo::exports_info

Pointer to the first resident library entry table of the module.

◆ exports_size

SceSize SceLoadCoreExecFileInfo::exports_size

The size of all resident library entry tables of the module.

◆ file_base

void* SceLoadCoreExecFileInfo::file_base

Pointer to the compressed module data.

◆ imports_info

void* SceLoadCoreExecFileInfo::imports_info

Pointer to the first stub library entry table of the module.

◆ imports_size

SceSize SceLoadCoreExecFileInfo::imports_size

The size of all stub library entry tables of the module.

◆ is_compressed

u32 SceLoadCoreExecFileInfo::is_compressed

Indicates whether the module is compressed or not.

Set to 1 if it is compressed, otherwise 0.

◆ is_decompressed

u32 SceLoadCoreExecFileInfo::is_decompressed

Indicates whether the module is decompressed or not.

Set to 1 for decompressed, otherwise 0.

◆ is_decrypted

u32 SceLoadCoreExecFileInfo::is_decrypted

Indicates whether the executable is decrypted or not.

Set to 1 if it is successfully decrypted, 0 for encrypted.

◆ is_kernel_mod

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.

◆ is_sign_checked

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.

◆ largest_seg_size

SceSize SceLoadCoreExecFileInfo::largest_seg_size

The size of the largest module segment.

Should normally be "textSize", but technically can be any other segment.

◆ max_alloc_size

SceSize SceLoadCoreExecFileInfo::max_alloc_size

The maximum size needed for the decompression.

◆ max_seg_align

u32 SceLoadCoreExecFileInfo::max_seg_align

The largest value of the segment_align array.

◆ mem_block_id

SceUID SceLoadCoreExecFileInfo::mem_block_id

The ID of the ELF memory block containing the TEXT, DATA and BSS segment.

◆ mod_info_attribute

u16 SceLoadCoreExecFileInfo::mod_info_attribute

The module's attributes.

One or more of SceModuleAttribute and SceModulePrivilegeLevel.

◆ mode_attr

u32 SceLoadCoreExecFileInfo::mode_attr

The mode attribute of the executable file.

One of ::SceExecFileModeAttr.

◆ module_info

SceModuleInfo* SceLoadCoreExecFileInfo::module_info

The pointer to the module's SceModuleInfo section.

◆ module_info_offset

u32 SceLoadCoreExecFileInfo::module_info_offset

The offset from the start address of the TEXT segment to the SceModuleInfo section.

◆ num_segments

u8 SceLoadCoreExecFileInfo::num_segments

The number of segments in the executable.

◆ overlap_size

SceSize SceLoadCoreExecFileInfo::overlap_size

The size of the GZIP compression overlap.

◆ padding

u8 SceLoadCoreExecFileInfo::padding[3]

Reserved.

◆ partition_id

u32 SceLoadCoreExecFileInfo::partition_id

The memory partition of the executable.

◆ segment_addr

u32 SceLoadCoreExecFileInfo::segment_addr[(4)]

An array containing the start address of each segment.

◆ segment_align

u32 SceLoadCoreExecFileInfo::segment_align[(4)]

An array containing the alignment information of each segment.

◆ segment_size

u32 SceLoadCoreExecFileInfo::segment_size[(4)]

An array containing the size of each segment.

◆ strtab_offset

void* SceLoadCoreExecFileInfo::strtab_offset

Pointer to the string table section.

◆ text_size

SceSize SceLoadCoreExecFileInfo::text_size

The size of the TEXT segment.

◆ top_addr

void* SceLoadCoreExecFileInfo::top_addr

The start address of the TEXT segment of the executable in memory.

◆ unk0

u32 SceLoadCoreExecFileInfo::unk0

Unknown.

◆ unk104

u32 SceLoadCoreExecFileInfo::unk104

Unknown.

◆ unk12

u32 SceLoadCoreExecFileInfo::unk12

Unknown.

◆ unk44

u32 SceLoadCoreExecFileInfo::unk44

Unknown.


The documentation for this struct was generated from the following file: