Difference between revisions of "SceSysLibTrace"

From Vita Development Wiki
Jump to navigation Jump to search
(Created page with "== Module == === Known NIDs === {| class="wikitable" |- ! Version !! Name !! World !! Privilege !! NID |- | 3.65 || SceSysLibTrace || Non-secure || Kernel || 0xC333D512 |} =...")
 
 
(11 intermediate revisions by 2 users not shown)
Line 17: Line 17:
 
! Version !! Name !! World !! Visibility !! NID
 
! Version !! Name !! World !! Visibility !! NID
 
|-
 
|-
| 3.65 || [[SceSysLibTrace#SceSyslibtraceForKernel|SceSyslibtraceForKernel]] || Non-secure || Kernel || 0x9D33EE8D
+
| 0.990-3.65 || [[SceSysLibTrace#SceSyslibtraceForKernel|SceSyslibtraceForKernel]] || Non-secure || Kernel || 0x9D33EE8D
 
|-
 
|-
| 3.65 || [[SceSysLibTrace#SceNidsymtblForDriver|SceNidsymtblForDriver]] || Non-secure || Kernel || 0x3F9BEA99
+
| 0.990 || [[SceSysLibTrace#SceSyslibtrace|SceSyslibtrace]] || Non-secure || User || 0x696ED3DB
 +
|-
 +
| 0.990-3.65 || [[SceSysLibTrace#SceNidsymtblForDriver|SceNidsymtblForDriver]] || Non-secure || Kernel || 0x3F9BEA99
 
|}
 
|}
  
 
== 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:
 +
 
 +
    sceSyslibtraceCallbackRegisterLibs
 +
    sceSyslibtraceCallbackDeregisterLibs
 +
    sceSyslibtraceClearTargetSyscallLib
 +
    sceSyslibtraceStopSyscallTrace
 +
    sceSyslibtraceStartSyscallTrace
 +
    sceSyslibtraceSetTargetSyscallLib
 +
 
 +
== SceSyslibtrace ==
 +
 
 +
=== _sceSyslibtraceClearInfo ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940-0.990 || 0xA92D1FD0
 +
|}
 +
 
 +
=== _sceSyslibtraceClearTargetLib ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940-0.990 || 0xC3A9F28D
 +
|}
 +
 
 +
=== _sceSyslibtraceKttyWrite ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940-0.990 || 0xE4458A16
 +
|}
 +
 
 +
=== _sceSyslibtraceRegisterInfo ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940-0.990 || 0x96B1409F
 +
|}
 +
 
 +
=== _sceSyslibtraceSetTargetLib ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940-0.990 || 0x303152C8
 +
|}
 +
 
 +
=== _sceSyslibtraceStartTrace ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940-0.990 || 0x61A80614
 +
|}
 +
 
 +
=== _sceSyslibtraceStopTrace ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940-0.990 || 0x1D534834
 +
|}
  
 
== SceNidsymtblForDriver ==
 
== SceNidsymtblForDriver ==
  
          SceNidsymtblForDriver_138A9106: 0x138A9106
+
=== get_nid_symbol_table ===
          SceNidsymtblForDriver_985E2935: 0x985E2935
+
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990-3.65 || 0x138A9106
 +
|}
 +
 
 +
<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"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 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);