Editing PRX File Format

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 1: Line 1:
= Module Info =
= Module Info =


== sceModuleInfo_common struct ==
== sceModuleInfo_common ==


<pre>
<pre>
Line 11: Line 11:
</pre>
</pre>


== sceModuleInfo_prx2arm struct ==
== sceModuleInfo_prx2arm ==


<pre>
<pre>
Line 34: Line 34:
= Exports =
= Exports =


== sceKernelLibraryEntryTable_prx2_common struct ==
== sceKernelLibraryEntryTable_prx2_common ==


<pre>
<pre>
unsigned char structsize;  
unsigned char structsize; /* bitsize 8, bitpos 0 */
unsigned char reserved1[1]:uint32;  
unsigned char reserved1[1]:uint32; /* bitsize 8, bitpos 8 */
short unsigned int version;  
short unsigned int version; /* bitsize 16, bitpos 16 */
short unsigned int attribute;  
short unsigned int attribute; /* bitsize 16, bitpos 32 */
short unsigned int nfunc;  
short unsigned int nfunc; /* bitsize 16, bitpos 48 */
short unsigned int nvar;  
short unsigned int nvar; /* bitsize 16, bitpos 64 */
short unsigned int ntlsvar;  
short unsigned int ntlsvar; /* bitsize 16, bitpos 80 */
unsigned char hashinfo;  
unsigned char hashinfo; /* bitsize 8, bitpos 96 */
unsigned char hashinfotls;  
unsigned char hashinfotls; /* bitsize 8, bitpos 104 */
unsigned char reserved2[1]:uint32;  
unsigned char reserved2[1]:uint32; /* bitsize 8, bitpos 112 */
unsigned char nidaltsets;  
unsigned char nidaltsets; /* bitsize 8, bitpos 120 */
</pre>
</pre>


== sceKernelLibraryEntryTable_prx2arm struct ==
== sceKernelLibraryEntryTable_prx2arm ==


<pre>
<pre>
sceKernelLibraryEntryTable_prx2_common c;  
sceKernelLibraryEntryTable_prx2_common c; /* bitsize 128, bitpos 0 */
Elf32_Word libname_nid;  
Elf32_Word libname_nid; /* bitsize 32, bitpos 128 */
Elf32_Addr libname;  
Elf32_Addr libname; /* bitsize 32, bitpos 160 */
Elf32_Addr nidtable;  
Elf32_Addr nidtable; /* bitsize 32, bitpos 192 */
Elf32_Addr addtable;  
Elf32_Addr addtable; /* bitsize 32, bitpos 224 */
</pre>
</pre>


= Imports =
= Imports =


== sceKernelLibraryStubTable_prx2_common struct ==
== sceKernelLibraryStubTable_prx2_common ==


<pre>
<pre>
unsigned char structsize;  
unsigned char structsize; /* bitsize 8, bitpos 0 */
unsigned char reserved1[1]:uint32;  
unsigned char reserved1[1]:uint32; /* bitsize 8, bitpos 8 */
short unsigned int version;  
short unsigned int version; /* bitsize 16, bitpos 16 */
short unsigned int attribute;  
short unsigned int attribute; /* bitsize 16, bitpos 32 */
short unsigned int nfunc;  
short unsigned int nfunc; /* bitsize 16, bitpos 48 */
short unsigned int nvar;  
short unsigned int nvar; /* bitsize 16, bitpos 64 */
short unsigned int ntlsvar;  
short unsigned int ntlsvar; /* bitsize 16, bitpos 80 */
unsigned char reserved2[4]:uint32;  
unsigned char reserved2[4]:uint32; /* bitsize 32, bitpos 96 */
</pre>
</pre>


== sceKernelLibraryStubTable_prx2arm struct ==
== sceKernelLibraryStubTable_prx2arm ==


<pre>
<pre>
sceKernelLibraryStubTable_prx2_common c;  
sceKernelLibraryStubTable_prx2_common c; /* bitsize 128, bitpos 0 */
Elf32_Word libname_nid;  
Elf32_Word libname_nid; /* bitsize 32, bitpos 128 */
Elf32_Addr libname;  
Elf32_Addr libname; /* bitsize 32, bitpos 160 */
Elf32_Word sce_sdk_version;  
Elf32_Word sce_sdk_version; /* bitsize 32, bitpos 192 */
Elf32_Addr func_nidtable;  
Elf32_Addr func_nidtable; /* bitsize 32, bitpos 224 */
Elf32_Addr func_table;  
Elf32_Addr func_table; /* bitsize 32, bitpos 256 */
Elf32_Addr var_nidtable;  
Elf32_Addr var_nidtable; /* bitsize 32, bitpos 288 */
Elf32_Addr var_table;  
Elf32_Addr var_table; /* bitsize 32, bitpos 320 */
Elf32_Addr tls_nidtable;  
Elf32_Addr tls_nidtable; /* bitsize 32, bitpos 352 */
Elf32_Addr tls_table;  
Elf32_Addr tls_table; /* bitsize 32, bitpos 384 */
</pre>
</pre>
Please note that all contributions to Vita Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see Vita 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)