|
PSPSDK 2026-11-16
|
This structure represents a stub library control block. More...
#include <kernel/psploadcore.h>

Data Fields | |
| u32 | unk0 |
| Unknown. | |
| struct SceStubLibrary * | next |
| A linked list of stub libraries belonging to the same group, i.e. | |
| const char * | lib_name |
| The name of the library. | |
| u8 | version [2] |
| The version of the library. | |
| u16 | attribute |
| The library's attributes. | |
| u8 | stub_entry_table_len |
| The length of the corresponding stub library entry table in 32-Bit words. | |
| u8 | var_stub_count |
| The number of imported variables by the stub library. | |
| u16 | fn_stub_count |
| The number of imported functions by the stub library. | |
| u32 * | nid_table |
| Pointer to an array of NIDs identifying the imported functions/variables. | |
| SceStub * | fn_stub_table |
| Pointer to the imported function stubs. | |
| SceVariableStub * | var_stub_table |
| Pointer to the imported variable stubs. | |
| u16 | unk32 |
| Unknown. | |
| SceLibraryStubTable * | lib_stub_table |
| Pointer to the corresponding stub library entry table. | |
| u32 | status |
| The current status of a stub library (control block) in memory. | |
| u32 | is_user_lib |
| Indicates whether the stub library lives in User land or Kernel land. | |
| char * | lib_name2 |
| The name of the library. | |
| u32 | libname_in_heap |
| Indicates whether the library's name is located in the heap or not. | |
This structure represents a stub library control block.
This control block is used to manage a stub library entry table internal.
| u16 SceStubLibrary::attribute |
The library's attributes.
This member is set by the corresponding stub library entry table.
| u16 SceStubLibrary::fn_stub_count |
The number of imported functions by the stub library.
This member is set by the corresponding stub library entry table.
| SceStub* SceStubLibrary::fn_stub_table |
Pointer to the imported function stubs.
| u32 SceStubLibrary::is_user_lib |
Indicates whether the stub library lives in User land or Kernel land.
| const char* SceStubLibrary::lib_name |
The name of the library.
| char* SceStubLibrary::lib_name2 |
The name of the library.
| SceLibraryStubTable* SceStubLibrary::lib_stub_table |
Pointer to the corresponding stub library entry table.
| u32 SceStubLibrary::libname_in_heap |
Indicates whether the library's name is located in the heap or not.
| struct SceStubLibrary* SceStubLibrary::next |
A linked list of stub libraries belonging to the same group, i.e.
the same resident library.
| u32* SceStubLibrary::nid_table |
Pointer to an array of NIDs identifying the imported functions/variables.
| u32 SceStubLibrary::status |
The current status of a stub library (control block) in memory.
One of SceStubLibraryStatus.
| u8 SceStubLibrary::stub_entry_table_len |
The length of the corresponding stub library entry table in 32-Bit words.
| u32 SceStubLibrary::unk0 |
Unknown.
| u16 SceStubLibrary::unk32 |
Unknown.
| u8 SceStubLibrary::var_stub_count |
The number of imported variables by the stub library.
This member is set by the corresponding stub library entry table.
| SceVariableStub* SceStubLibrary::var_stub_table |
Pointer to the imported variable stubs.
| u8 SceStubLibrary::version[2] |
The version of the library.
This member is set by the corresponding stub library entry table.