Difference between revisions of "SceSysLibTrace"

From Vita Development Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 26: Line 26:
 
== SceSyslibtraceForKernel ==
 
== SceSyslibtraceForKernel ==
  
           SceSyslibtraceForKernel_1EDA3691: 0x1EDA3691
+
To check:
           SceSyslibtraceForKernel_5DEF9EDF: 0x5DEF9EDF
+
           sceSyslibtraceCallbackRegisterLibs: 0x1EDA3691
 +
           sceSyslibtraceStartSyscallTrace: 0x5DEF9EDF
 
           SceSyslibtraceForKernel_7CC73CDA: 0x7CC73CDA
 
           SceSyslibtraceForKernel_7CC73CDA: 0x7CC73CDA
           SceSyslibtraceForKernel_7E843A85: 0x7E843A85
+
           sceSyslibtraceClearTargetSyscallLib: 0x7E843A85
           SceSyslibtraceForKernel_AB6A0C53: 0xAB6A0C53
+
           sceSyslibtraceSetTargetSyscallLib: 0xAB6A0C53
           SceSyslibtraceForKernel_BD326721: 0xBD326721
+
           destroy_syscall_trace: 0xBD326721
           SceSyslibtraceForKernel_DD47649F: 0xDD47649F
+
           sceSyslibtraceStopSyscallTrace: 0xDD47649F
           SceSyslibtraceForKernel_EA56BE7C: 0xEA56BE7C
+
           sceSyslibtraceCallbackDeregisterLibs: 0xEA56BE7C
           SceSyslibtraceForKernel_F9CB8BA9: 0xF9CB8BA9
+
           create_syscall_trace: 0xF9CB8BA9
  
 
Known names from 0.931:
 
Known names from 0.931:
  
 
     sceSyslibtraceCallbackRegisterLibs
 
     sceSyslibtraceCallbackRegisterLibs
 +
    sceSyslibtraceCallbackDeregisterLibs
 
     sceSyslibtraceClearTargetSyscallLib
 
     sceSyslibtraceClearTargetSyscallLib
 
     sceSyslibtraceStopSyscallTrace
 
     sceSyslibtraceStopSyscallTrace
Line 104: Line 106:
 
== SceNidsymtblForDriver ==
 
== SceNidsymtblForDriver ==
  
=== SceNidsymtblForDriver_138A9106 ===
+
=== get_nid_symbol_table ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 112: Line 114:
 
|}
 
|}
  
=== SceNidsymtblForDriver_985E2935 ===
+
<source lang="C">
 +
// Return the number of functions in the buffer
 +
// functions_table_addr is a pointer overwritten by a pointer to SceSysLibTrace nid_symbol_table
 +
SceUInt32 get_nid_symbol_table(const void **nid_symbol_table_addr);
 +
</source>
 +
 
 +
=== sceNidsymtblGetFunctionNameByNIDForDriver ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 119: Line 127:
 
| 3.60-3.65 || 0x985E2935
 
| 3.60-3.65 || 0x985E2935
 
|}
 
|}
 +
 +
This is a guessed name.
 +
 +
This function is registered using [[SceSysmem#sceKernelSysrootSetGetFunctionNameByNIDFuncForKernel]].
 +
 +
<source lang="C">int sceNidsymtblGetFunctionNameByNIDForDriver(SceNID funcnid, const char **name);</source>
  
  
 
[[Category:Modules]]
 
[[Category:Modules]]
 
[[Category:Kernel]]
 
[[Category:Kernel]]

Latest revision as of 21:41, 15 September 2021

Module

Known NIDs

Version Name World Privilege NID
3.65 SceSysLibTrace Non-secure Kernel 0xC333D512

Libraries

Known NIDs

Version Name World Visibility NID
0.990-3.65 SceSyslibtraceForKernel Non-secure Kernel 0x9D33EE8D
0.990 SceSyslibtrace Non-secure User 0x696ED3DB
0.990-3.65 SceNidsymtblForDriver Non-secure Kernel 0x3F9BEA99

SceSyslibtraceForKernel

To check:

         sceSyslibtraceCallbackRegisterLibs: 0x1EDA3691
         sceSyslibtraceStartSyscallTrace: 0x5DEF9EDF
         SceSyslibtraceForKernel_7CC73CDA: 0x7CC73CDA
         sceSyslibtraceClearTargetSyscallLib: 0x7E843A85
         sceSyslibtraceSetTargetSyscallLib: 0xAB6A0C53
         destroy_syscall_trace: 0xBD326721
         sceSyslibtraceStopSyscallTrace: 0xDD47649F
         sceSyslibtraceCallbackDeregisterLibs: 0xEA56BE7C
         create_syscall_trace: 0xF9CB8BA9

Known names from 0.931:

   sceSyslibtraceCallbackRegisterLibs
   sceSyslibtraceCallbackDeregisterLibs
   sceSyslibtraceClearTargetSyscallLib
   sceSyslibtraceStopSyscallTrace
   sceSyslibtraceStartSyscallTrace
   sceSyslibtraceSetTargetSyscallLib

SceSyslibtrace

_sceSyslibtraceClearInfo

Version NID
0.940-0.990 0xA92D1FD0

_sceSyslibtraceClearTargetLib

Version NID
0.940-0.990 0xC3A9F28D

_sceSyslibtraceKttyWrite

Version NID
0.940-0.990 0xE4458A16

_sceSyslibtraceRegisterInfo

Version NID
0.940-0.990 0x96B1409F

_sceSyslibtraceSetTargetLib

Version NID
0.940-0.990 0x303152C8

_sceSyslibtraceStartTrace

Version NID
0.940-0.990 0x61A80614

_sceSyslibtraceStopTrace

Version NID
0.940-0.990 0x1D534834

SceNidsymtblForDriver

get_nid_symbol_table

Version NID
0.990-3.65 0x138A9106
// Return the number of functions in the buffer
// functions_table_addr is a pointer overwritten by a pointer to SceSysLibTrace nid_symbol_table
SceUInt32 get_nid_symbol_table(const void **nid_symbol_table_addr);

sceNidsymtblGetFunctionNameByNIDForDriver

Version NID
3.60-3.65 0x985E2935

This is a guessed name.

This function is registered using SceSysmem#sceKernelSysrootSetGetFunctionNameByNIDFuncForKernel.

int sceNidsymtblGetFunctionNameByNIDForDriver(SceNID funcnid, const char **name);