This is a project for a clean elf to inject into a game using ps5debug
I have included 2 formats, a Visual Studio project format that uses WSL to build, and just a vanilla project
This clean elf assumes you are using ps5-kstuff, as it has an mprotect patch in it so we can use sceKernelMProtect
function, which is used in the DetourFunction
stuff to make the malloc
address RWX
Building is pretty simple, if using the Visual Studio project, just hit Build -> Rebuild Solution.
If using the vanilla project, just run make
- @DeathRGH For the original CleanELF vsproject, as well as the execution address / runid stuff