Editing PRX
Jump to navigation
Jump to search
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. | PRX2 is only present on PSVita. | ||
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 29: | Line 27: | ||
unsigned short modattr; | unsigned short modattr; | ||
unsigned char modver[2]; | unsigned char modver[2]; | ||
char | char name[MODULE_NAME_MAX_LEN]; | ||
char infover; | |||
} sceModuleInfo_common; | } sceModuleInfo_common; | ||
Line 45: | Line 43: | ||
= Exports = | = Exports = | ||
PS3 | 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 | short unsigned int size; | ||
unsigned | short unsigned int version; | ||
short unsigned int attribute; | |||
short unsigned int nfunc; | |||
unsigned | short unsigned int nvar; | ||
unsigned | short unsigned int ntls; | ||
unsigned | |||
unsigned char hashinfo; | unsigned char hashinfo; | ||
unsigned char hashinfotls; | unsigned char hashinfotls; | ||
Line 72: | Line 69: | ||
= Imports = | = Imports = | ||
PS3 use | PS3 use exports structures of size 0x2C. | ||
<source lang="C"> | <source lang="C"> |