Commit Graph

29 Commits

Author SHA1 Message Date
Felix-Dev
fd897ff751 utils/kprxgen/psp-kprxgen.c: Fixed #include statements. 2015-08-04 19:14:24 +02:00
Arthur Blot
194ce95fc9 psp-kprxgen: remove PC16 relocations
This relocation is used when a reference is made to a globally-exported
symbol from an assembly file (the symbol being defined in the same
file).
It prevented exceptionman from running without a small hack.
2014-08-03 22:24:29 +02:00
Felix-Dev
ad6f95d334 utils/basic-decompiler/main.cpp: This commit
is used to create a meaningful commit message for the previous commit. 
Intended original commit message: Added explicit (s32) casts for source registers of sign-dependent MIPS instructions. This should prevent sign-errors to occur in reverse engineered code using the output of the basic-decompiler as its base.
2014-05-21 23:15:14 +02:00
Felix-Dev
6c76c67da9 utils/basic-decompiler/main.cpp: Added explicit 2014-05-21 23:02:32 +02:00
Martin Charles
ec6a801351 Removed compiled files 2014-05-14 17:09:27 -04:00
Martin Charles
66cf427525 Let's use make's implicit variables.
http://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html
2014-05-14 17:08:12 -04:00
Martin Charles
5d3bee7f98 Added more makefiles
Closes #11
2014-05-08 16:40:38 -04:00
Arthur Blot
fa8ad93c40 sysmem: make it runnable through uOFW installer!
I had to revert the "kprxgen" to the original psp-prxgen and add a second segment containing the relocation offset (program type 0x700000A0) so it is recognized by reboot.bin which only handles relocations whose address is specified in a program header. So now psp-kprxgen must be used to compile at least sysmem.
This trick didn't work for loadcore; I'll investigate later.
2013-07-09 01:13:31 +02:00
Arthur Blot
a9bc5143a7 Added dynamic loadexec patching support 2013-05-07 20:45:19 +02:00
Clément G
f10827f9bd basic-decompiler: add bgtz and bgtzl instructions 2013-03-27 18:01:30 +01:00
Clément G
a5ac3b5fec fixed psp-fixup-imports warnings 2013-02-10 14:18:29 +01:00
artart78
4c09030eab Fixes in interruptman & libatrac3plus (both do not work yet), added some partial headers/exports/libraries 2012-06-11 22:38:22 +00:00
artart78
1c77e3b718 Fixed debugging compilation, added Windows utils executables and fixed a small bug in syscon (doesn't work yet though) 2012-06-01 20:03:45 +00:00
artart78
7b7b9fcf19 Added fully RE'ed syscon (and some other fixes) 2012-05-27 22:13:07 +00:00
artart78
d44a19db42 Fixes in ctrl & me_wrapper to make them compile, and some other various stuff 2012-05-03 21:37:22 +00:00
_Felix_
595484d5cb Fixed some errors in ctrl and cleaned up its code a bit. Added export.exp file for ctrl. 2012-05-03 18:29:34 +00:00
artart78
198caa981d Added complete IoFileMgr*, fixed Stdio*
Added static libraries for function/variable imports linking
Fixed import linking file so it doesn't crash when there are variables
Made the 3rd argument of basic-decompiler facultative
Fixed psp-build-exports (it didn't want to use variable of 'void' type)
Cleanups/fixes/added exports file/headers/Makefile in audio, me_wrapper, avcodec, libatrac3plus, codec, sysmem, interruptman, exceptionman
Don't use kprxgen anymore: it can't work and is useless anyway
Use the PSPSDK header files for the prototypes/structures which are defined in them and not in an already RE'ed module
2012-04-17 19:03:41 +00:00
artart78
2058716ffb Added codec_01g.prx full RE'ing; minor fixes in audio and ge 2012-02-08 15:17:43 +00:00
artart78
5d5c8404e0 Fix relocations when adding variable imports (note: may not work fully, only tested on a very simple example with one REL_32 relocation) 2012-01-02 14:29:02 +00:00
artart78
89b7f942a1 Finished the build system, with the import side: now our modules will be easily able to import functions and variables. Modified pspimport.s and added a modified version of psp-fixup-imports to support variables. 2012-01-01 23:19:42 +00:00
artart78
484569d7fb Make the build system work EXACTLY the same way as for official kernel modules.
Fixed alignment.
Added our/my own version of psp-build-exports from the PSPSDK, so the library name is placed right before the library exports in .rodata.
Added our/my own version of psp-prxgen from the PSPSDK (named psp-kprxgen for us), so the module uses only program headers and absolutely no sections.
2011-12-30 18:48:23 +00:00
artart78
0202f8712a Worked a bit on the build system (to do: move the library name before each library, remove the sections and add the two other segments found in SCE modules) 2011-12-29 21:27:05 +00:00
artart78
95c6f16688 Minor fix for the small decompiler (removed a feature that appeared in c++11 and isn't implemented everywhere) and in GE 2011-12-27 20:04:03 +00:00
artart78
1a79228569 Small fix/optimization to the script making module diffs, and documentation & cleans in the GE RE'ing. 2011-12-23 21:01:21 +00:00
artart78
35c635f170 Added expat license (nearly the same as the ISC license we decided to use, but with a wording difference which is important to GNU) 2011-12-19 21:53:17 +00:00
artart78
2615f94911 Fixed some things in the small decompiler and cleaned some things in interruptman and systimer 2011-12-19 21:41:47 +00:00
artart78
a4811a051b Added a small utility to make basic (line-by-line) prxtool output -> C conversion; usage: ./dec FILE END, where FILE is the prxtool disassembly file and END is the end address, so imports aren't included 2011-12-04 21:39:57 +00:00
artart78
9b6fb0cae8 Completed StdioFor* static functions, added real function/global variable names, and added some export files 2011-12-04 14:27:33 +00:00
artart78
41d619e4c6 Updated loadexec imported & exported function names, and addresses
Added an utility to generate a diff file of different versions of a PRX
2011-11-02 17:07:33 +00:00