UVLoader
Userland Vita Loader
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Macros | Functions
UVLoader

Startup and hooks. More...

Macros

#define START_SECTION   __attribute__ ((section (".text.start")))
 
#define EXIT_NID   0x826BBBAF
 NID of C exit() call.
 

Functions

int START_SECTION uvl_start ()
 Starting point from exploit.
 
int uvl_entry ()
 Entry point of UVLoader.
 
int uvl_exit (int status)
 Exiting point for loaded application.
 

UVLoader version information

#define UVL_VER_MAJOR   0
 Major version.
 
#define UVL_VER_MINOR   1
 Minor version.
 
#define UVL_VER_REV   0
 Revision.
 

Detailed Description

Startup and hooks.

Function Documentation

int uvl_entry ( )

Entry point of UVLoader.

Returns
Zero on success, otherwise error
int uvl_exit ( int  status)

Exiting point for loaded application.

This hooks on to exit() call and cleans up after the application is unloaded.

Returns
Zero on success, otherwise error
int START_SECTION uvl_start ( )

Starting point from exploit.

Call this from your exploit to run UVLoader. It will first cache all loaded modules and attempt to resolve its own NIDs which should only depend on sceLibKernel.

Returns
Zero on success, otherwise error