uOFW
Reverse engineered PSP kernel 6.60.
Loading...
Searching...
No Matches
Data Fields
SceStubLibraryEntryTable Struct Reference

#include <loadcore.h>

Data Fields

const char * libName
 
u8 version [LIBRARY_VERSION_NUMBER_CATEGORY_SIZE]
 
u16 attribute
 
u8 len
 
u8 vStubCount
 
u16 stubCount
 
u32 * nidTable
 
SceStubstubTable
 
SceVariableStubvStubTable
 
u16 unk24
 

Detailed Description

This structure represents the imports, provided by a resident library, that a given module is using. A module can have multiple stub libraries.

Field Documentation

◆ libName

const char* SceStubLibraryEntryTable::libName

The name of the library.

◆ version

u8 SceStubLibraryEntryTable::version[LIBRARY_VERSION_NUMBER_CATEGORY_SIZE]

The version of the library. It consists of a 'major' and 'minor' field. The version of a stub library shouldn't be higher than the version(s) of the corresponding resident library/libraries. Linking won't be performed in such a case.

◆ attribute

u16 SceStubLibraryEntryTable::attribute

The library's attributes. Can be set to either SCE_LIB_NO_SPECIAL_ATTR or SCE_LIB_WEAK_IMPORT.

◆ len

u8 SceStubLibraryEntryTable::len

The length of this entry table in 32-Bit words. Set this to either "STUB_LIBRARY_ENTRY_TABLE_OLD_LEN" or "STUB_LIBRARY_ENTRY_TABLE_NEW_LEN". Use this member when you want to iterate through a list of entry tables (size = len * 4).

◆ vStubCount

u8 SceStubLibraryEntryTable::vStubCount

The number of imported variables by the stub library.

◆ stubCount

u16 SceStubLibraryEntryTable::stubCount

The number of imported functions by the stub library.

◆ nidTable

u32* SceStubLibraryEntryTable::nidTable

Pointer to an array of NIDs containing the NIDs of the imported functions and variables.

◆ stubTable

SceStub* SceStubLibraryEntryTable::stubTable

Pointer to an array of imported function stubs.

◆ vStubTable

SceVariableStub* SceStubLibraryEntryTable::vStubTable

Pointer to an array of imported variable stubs.

◆ unk24

u16 SceStubLibraryEntryTable::unk24

Unknown.


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