Прочитайте это PSP Modules, Exports, Imports and Patches
Anissian, February 2007
Anissian.psp@gmail.com
вобшем это из psp SDK
5 PRX and ELF modules
5.1 What is an ELF
An ELF (Executable and Linking Format) is a format for object files. An ELF is to executables, relocatable and shared objects
(modules in general) what a GIF or JPG is to images. The ELF standard basically specifies the binary format of a file. In simple terms,
it defines an ELF header followed by a number of sections. Each section has a purpose, such as including the module program
instructions, defining what functions the module exports, what functions the module imports; including the initialized
5.2 What is a PRX
A PRX (Relocatable eXecutable) is similar to ELF. (to be completed)
5.3 What is an EBOOT
An EBOOT.PBP file is the equivalent of an “exe” file in Windows. It packs the main executable file and other files that are metadata,
such as .png files to be shown at the XMB, a short video for the same purpose and a .SFO file. The format of a PBP file is simple: it
contains a fixed-size PBP header, containing: a 4-byte magic number (‘\0’, ‘P’, ‘B’, ‘P’), a u32 version number, and 8 offsets within the
PBP file to the packed files: "PARAM.SFO", "ICON0.PNG", "ICON1.PMF", "UNKNOWN.PNG", "PIC1.PNG", "SND0.AT3",
"UNKNOWN.PSP" and "UNKNOWN.PSAR".
5.4 Limitations
Using an OE firmware, the 1.50 kernel can start a static elf within an EBOOT without requiring it to be kxploited, either in kernel
or user mode. For 3.03, the module needs to be in user mode and in PRX format. Starting from 3.10 OE, the module can be both in
static ELF and PRX, as long as it is in user mode. Since the OE firmware is patched so you can load and start modules in kernel
mode from a user mode stored in the MS, if you need a kernel mode application, create a user mode wrapper that loads and starts the
main application in Kernel memory partition.
добавлено через 1 минуту
там всё то что я сказал!