Editing PRX

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 5: Line 5:
= PRX2 =
= PRX2 =


PRX2 is only present on PSVita. PSP and PS3 use PRX version 1.
PRX2 is only present on PSVita. PSP and PS3 us PRX version 1.
 
== Recognition ==


A PRX module is PRX2 format only if ehdr.e_type is ET_SCE_EXEC or ET_SCE_RELEXEC.
A PRX module is PRX2 format only if ehdr.e_type is ET_SCE_EXEC or ET_SCE_RELEXEC.
Line 45: Line 43:
= Exports =
= Exports =


PS3 uses exports structure of size 0x1C ?or 0x28 in 64bits?.
PS3 use exports structure of size 0x1C ?or 0x28 in 64bits?.


<source lang="C">
<source lang="C">
typedef struct _scelibent_common { // size is 0x10
typedef struct _scelibent_common { // size is 0x10
unsigned char size;
short unsigned int size;
unsigned char auxattribute;
short unsigned int version;
unsigned short version;
short unsigned int attribute;
unsigned short attribute;
short unsigned int nfunc;
unsigned short nfunc;
short unsigned int nvar;
unsigned short nvar;
short unsigned int ntls;
unsigned short ntls;
unsigned char hashinfo;
unsigned char hashinfo;
unsigned char hashinfotls;
unsigned char hashinfotls;
Line 72: Line 69:
= Imports =
= Imports =


PS3 use imports structures of size 0x2C.
PS3 use exports structures of size 0x2C.


<source lang="C">
<source lang="C">
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)