PSPSDK 2026-11-16
Loading...
Searching...
No Matches
SceStubLibrary Struct Reference

This structure represents a stub library control block. More...

#include <kernel/psploadcore.h>

Collaboration diagram for SceStubLibrary:

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.
 

Detailed Description

This structure represents a stub library control block.

This control block is used to manage a stub library entry table internal.

Field Documentation

◆ attribute

u16 SceStubLibrary::attribute

The library's attributes.

This member is set by the corresponding stub library entry table.

◆ fn_stub_count

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.

◆ fn_stub_table

SceStub* SceStubLibrary::fn_stub_table

Pointer to the imported function stubs.

◆ is_user_lib

u32 SceStubLibrary::is_user_lib

Indicates whether the stub library lives in User land or Kernel land.

◆ lib_name

const char* SceStubLibrary::lib_name

The name of the library.

◆ lib_name2

char* SceStubLibrary::lib_name2

The name of the library.

◆ lib_stub_table

SceLibraryStubTable* SceStubLibrary::lib_stub_table

Pointer to the corresponding stub library entry table.

◆ libname_in_heap

u32 SceStubLibrary::libname_in_heap

Indicates whether the library's name is located in the heap or not.

◆ next

struct SceStubLibrary* SceStubLibrary::next

A linked list of stub libraries belonging to the same group, i.e.

the same resident library.

◆ nid_table

u32* SceStubLibrary::nid_table

Pointer to an array of NIDs identifying the imported functions/variables.

◆ status

u32 SceStubLibrary::status

The current status of a stub library (control block) in memory.

One of SceStubLibraryStatus.

◆ stub_entry_table_len

u8 SceStubLibrary::stub_entry_table_len

The length of the corresponding stub library entry table in 32-Bit words.

◆ unk0

u32 SceStubLibrary::unk0

Unknown.

◆ unk32

u16 SceStubLibrary::unk32

Unknown.

◆ var_stub_count

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.

◆ var_stub_table

SceVariableStub* SceStubLibrary::var_stub_table

Pointer to the imported variable stubs.

◆ version

u8 SceStubLibrary::version[2]

The version of the library.

This member is set by the corresponding stub library entry table.


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