SceLibKernel

SceLibKernel, not to be confused with Kernel is a user module that implements wrappers to some common syscalls (for example, SceIofilemgr), some usermode standard library functions (including C standard library), and other common features like heap management. This module is the functionality similar to libc.so.6 on Linux.

Module
This is a usermode module and exists only in usermode. The SELF can be found in.

sceIoChstatAsync
derived from

sceIoClose
derived from

sceIoDevctlAsync
derived from

sceIoGetstatAsync
derived from

sceIoIoctlAsync
derived from

sceIoLseekAsync
derived from

sceIoMkdirAsync
derived from

sceIoOpenAsync
derived from

sceIoPreadAsync
derived from

sceIoPwriteAsync
derived from

sceIoRead
derived from

sceIoRemoveAsync
derived from

sceIoRenameAsync
derived from

sceIoRmdirAsync
derived from

sceIoSyncAsync
derived from

sceIoWrite
derived from

sceIoCompleteMultiple
derived from

sceKernelPrintBacktrace
This is maybe a guessed name. Wrapper for sceKernelPrintBacktraceForProcess.

sceKernelPrintBacktraceForProcess
This is a guessed name.

sceSblGcAuthMgrAdhocBB160UniCastDecrypt
Wrapper to SceSblGcAuthMgr#_sceSblGcAuthMgrAdhocBB160UniCastDecrypt.

sceKernelGetLibraryInfoByNID
Wrapper to SceKernelModulemgr#_sceKernelGetLibraryInfoByNID.

sceSblGcAuthMgrAdhocBB224Auth3
Wrapper to SceSblGcAuthMgr#_sceSblGcAuthMgrAdhocBB224Auth3.

sceSblGcAuthMgrPkgVry
Wrapper to SceSblGcAuthMgr#_sceSblGcAuthMgrPkgVry.

sceSblGcAuthMgrMsSaveBBMacInit
Wrapper to SceSblGcAuthMgr#_sceSblGcAuthMgrMsSaveBBMacInit.

sceSblGcAuthMgrAdhocBB160Auth2
Wrapper to SceSblGcAuthMgr#_sceSblGcAuthMgrAdhocBB160Auth2.

sceSblGcAuthMgrAdhocBB224Auth1
Wrapper to SceSblGcAuthMgr#_sceSblGcAuthMgrAdhocBB224Auth1.

sceSblGcAuthMgrMsSaveBBCipherInit
Wrapper to SceSblGcAuthMgr#_sceSblGcAuthMgrMsSaveBBCipherInit.

SceLibKernel_35D20E49
It does not seem to call any imported function.

SceLibKernel_37F4ED04
It does not seem to call any imported function.

SceLibKernel_91FA6614
Temp name was sceKernelUnlockLwMutex.

It does not seem to call any imported function.

SceLibKernel_120AFC8C
Temp name was sceKernelUnlockLwMutex2.

It does not seem to call any imported function.

sceSblGcAuthMgrAdhocBB160Auth5
Wrapper to SceSblGcAuthMgr#_sceSblGcAuthMgrAdhocBB160Auth5.

sceKernelUnlockLwMutex
Wrapper to SceKernelThreadMgr#_sceKernelUnlockLwMutex.

sceSblGcAuthMgrAdhocBB224Auth5
Wrapper to SceSblGcAuthMgr#_sceSblGcAuthMgrAdhocBB224Auth5.

sceKernelRegisterThreadEventHandler
Wrapper to SceKernelThreadMgr#_sceKernelRegisterThreadEventHandler.

SceKernelStackChkGuard
This is a variable (4 bytes).

__stack_chk_guard
This is a variable (4 bytes).

SceLibGcc
SceLibGcc_0DFF2B2C: 0x0DFF2B2C SceLibGcc_12472ADD: 0x12472ADD SceLibGcc_29C2EB11: 0x29C2EB11 SceLibGcc_4BB45B70: 0x4BB45B70 SceLibGcc_6214B80C: 0x6214B80C SceLibGcc_74274866: 0x74274866 SceLibGcc_7772C028: 0x7772C028 SceLibGcc_7DFC519A: 0x7DFC519A SceLibGcc_83A4F46F: 0x83A4F46F SceLibGcc_8A5F29D8: 0x8A5F29D8 SceLibGcc_8D4953C7: 0x8D4953C7 SceLibGcc_A22B2436: 0xA22B2436 SceLibGcc_AC15DBA5: 0xAC15DBA5 SceLibGcc_B1CD7AC2: 0xB1CD7AC2 SceLibGcc_BAC00FF7: 0xBAC00FF7 SceLibGcc_CD43FEDC: 0xCD43FEDC SceLibGcc_DA5097CE: 0xDA5097CE SceLibGcc_DAB28374: 0xDAB28374 SceLibGcc_DBE840D6: 0xDBE840D6 SceLibGcc_F16E32FC: 0xF16E32FC

__stack_chk_guard
Same variable as SceLibKernel.

SceRtabi
SceRtabi_0D4F0635: 0x0D4F0635 SceRtabi_141BC4CE: 0x141BC4CE SceRtabi_21FF67B9: 0x21FF67B9 SceRtabi_317B3774: 0x317B3774 SceRtabi_38D62D60: 0x38D62D60 SceRtabi_5024AB91: 0x5024AB91 SceRtabi_609CA961: 0x609CA961 SceRtabi_67104054: 0x67104054 SceRtabi_6BB838EF: 0x6BB838EF SceRtabi_6CBB0E84: 0x6CBB0E84 SceRtabi_A5DB3A86: 0xA5DB3A86 SceRtabi_AA1F1B50: 0xAA1F1B50 SceRtabi_C33391D1: 0xC33391D1 SceRtabi_CBDA815C: 0xCBDA815C SceRtabi_CDF7708E: 0xCDF7708E SceRtabi_FB311F87: 0xFB311F87

sceKernelGetRandomNumber
Wrapper to SceSblSsMgr#_sceKernelGetRandomNumber.

Heap
The latest version of dlmalloc is included in SceLibKernel. Most of the assert checks and security are included.

Thread specific data
Each thread owns a private 2048bytes memory region with specific data (?TLS?). The end of this region is pointed by the TPIDRURO register (thus, the start address of it is TPIDRURO - 0x800).