Commit graph

120 commits

Author SHA1 Message Date
georgemoralis 04d3ee9a3f Added sysv_abi , now parameters in sceVideoOutOpen is correct 2023-07-21 08:03:36 +03:00
georgemoralis 118b15de67 added atexit() HLE function , sceVideoOutOpen appears to get invalid parameters 2023-07-20 17:53:51 +03:00
georgemoralis 4432f289ad we can reach atexit() function as well 2023-07-20 12:41:41 +03:00
georgemoralis 3b53e4781a we can now execute code (reaches init_env() function ) 2023-07-20 12:18:43 +03:00
georgemoralis 34a4ea3b44 more pthread progress added init for main Thread 2023-07-20 11:20:11 +03:00
wheremyfoodat 3bd30c6641 Fix compilation error maybe 2023-07-18 19:28:28 +03:00
georgemoralis 8acd636a13 some pthread work nothing exciting 2023-07-18 18:54:46 +03:00
georgemoralis 9d24671994 initial thread management files 2023-07-17 23:46:25 +03:00
georgemoralis 61d52efb73 all function for video out demo should resolve now 2023-07-17 13:53:27 +03:00
georgemoralis 1bf467aa82 more dummy GnmDriver function calls 2023-07-17 13:39:00 +03:00
georgemoralis 7216413a03 more dummy patching functions 2023-07-14 14:29:13 +03:00
georgemoralis 51cfddb77d patching sceVideoOut functions 2023-07-13 18:36:03 +03:00
georgemoralis 152c581dc5 patching more dummy functions 2023-07-13 12:56:36 +03:00
georgemoralis 32973f1b31 some missing nid names from videoout_basic demo 2023-07-12 14:44:37 +03:00
georgemoralis c487052f0b resolving relocate function and patching them (successfully done one :D) 2023-07-11 18:50:29 +03:00
georgemoralis 11a958ba54 some more work on linker and added some more needed (but not currently used) memory functions 2023-07-10 14:52:14 +03:00
georgemoralis 87c5ce173c kalitero usage minima sto main.cpp . Ola einai modules alla den tha katalaboun 2023-07-08 21:06:10 +03:00
Stefanos Kornilios Mitsis Poiitidis 4ae5300e1a main: validate arguments 2023-07-07 13:54:44 +03:00
Stefanos Kornilios Mitsis Poiitidis 61984bf92b linux: Fix build 2023-07-07 13:49:46 +03:00
georgemoralis 1ed5fcf329 progress in relocations 2023-07-06 21:55:41 +03:00
georgemoralis fcae84df9d initial work on relocations 2023-07-04 18:34:23 +03:00
georgemoralis c15e059e74 improved memory_alloc function 2023-07-04 12:29:28 +03:00
georgemoralis 10472026b2 small fix 2023-06-29 13:31:07 +03:00
georgemoralis dffccbfcff added windows specific timer class 2023-06-29 13:20:34 +03:00
georgemoralis 09909f86ae dummy timer class 2023-06-29 13:17:05 +03:00
georgemoralis 8140f11be3 sample hle function loading (libc) 2023-06-28 20:15:19 +03:00
georgemoralis e7801019d8 started work on libraries linking 2023-06-26 20:45:16 +03:00
georgemoralis d6f8f839ea Symbol resolver added 2023-06-26 18:12:19 +03:00
Esdras Tarsis 85c805972d Add initial Linux support. 2023-06-22 22:48:55 -03:00
georgemoralis 998bc7e3a8 nid names resolver 2023-06-21 18:14:52 +03:00
georgemoralis d1ae8fb199 more symbols work and refactoring 2023-06-19 07:51:56 +03:00
georgemoralis 90182f1f63 elf symbols , bind ,type ,visibility 2023-06-19 06:58:22 +03:00
georgemoralis dc2eba1713 more progress on symbols decoding 2023-06-18 17:54:22 +03:00
georgemoralis 09ab2b1752 encode id64 for modules,libraries 2023-06-14 07:47:44 +03:00
georgemoralis 2e4321cba0 supporting self segments loading 2023-06-13 19:05:06 +03:00
georgemoralis 9331828f29 Initial symbol loading 2023-06-13 07:43:58 +03:00
georgemoralis 462f4b4913 DT_SCE_IMPORT_LIB,DT_SCE_ORIGINAL_FILENAME,DT_SCE_MODULE_INFO added. Dynamic loader should be ok for now 2023-06-12 08:16:20 +03:00
georgemoralis d3baf0680b Added DT_OS_NEEDED_MODULE 2023-06-11 15:35:04 +03:00
georgemoralis fa76be96bd Added DT_DEBUG, DT_TEXTREL,DT_FLAGS,DT_NEEDED 2023-06-09 18:10:40 +03:00
georgemoralis a319ce2db3 added DT_INIT_ARRAY, DT_FINI_ARRAY,DT_INIT_ARRAYSZ,DT_FINI_ARRAYSZ,DT_PREINIT_ARRAY,DT_PREINIT_ARRAYSZ,DT_SCE_SYMENT 2023-06-09 13:37:46 +03:00
georgemoralis baee02e2e7 Added DT_SCE_JMPREL,DT_SCE_PLTRELSZ,DT_SCE_PLTREL,DT_SCE_RELA,DT_SCE_RELASZ,DT_SCE_RELAENT 2023-06-09 11:37:18 +03:00
georgemoralis f154ee3716 added DT_INIT.DT_FINI,DT_OS_PLTGOT,DT_OS_SYMTAB,DT_OS_SYMTABSZ 2023-06-08 19:05:03 +03:00
georgemoralis d9438fff45 parsing DT_OS_HASHZ, DT_OS_STRTAB , DT_OS_STRSZ for dynamic loader 2023-06-08 13:25:24 +03:00
georgemoralis 95f00189f8 initial dynamic loader , parsing DT_HASH atm 2023-06-08 12:51:11 +03:00
georgemoralis 1d5cfb89ac simplify main (not loading imgui and sdl for the moment) 2023-06-08 11:58:29 +03:00
georgemoralis c1c1af0a16 some more playing with zydis 2023-05-30 16:27:11 +03:00
georgemoralis e55648ea62 fixed typo in Disassembler 2023-05-30 13:39:08 +03:00
georgemoralis 5b6df9042b initial disasm class using zydis 2023-05-30 13:33:52 +03:00
georgemoralis eb8a5b704e linker : loading PT_DYNAMIC , PT_DYNAMIC data 2023-05-26 19:22:43 +03:00
georgemoralis 1893e8be3b segments loading (only elf atm) 2023-05-25 18:08:10 +03:00
georgemoralis 985bbf342d changed hex->decimal in size variables output 2023-05-25 14:25:52 +03:00
georgemoralis 4e67d4048c more progress on module to memory loading 2023-05-25 13:16:53 +03:00
georgemoralis 5cf41123a8 more work on linker , closer to load to memory 2023-05-23 19:39:24 +03:00
georgemoralis 62493367ae some more progress on linker , elf is now load from there 2023-05-23 10:47:56 +03:00
georgemoralis 61e7d65490 initial work on linker 2023-05-23 07:48:25 +03:00
georgemoralis 1d2d06e02e fix on loading elf file instead of self 2023-05-22 13:58:41 +03:00
georgemoralis 6a246feebe draft work on memory allocation 2023-05-17 19:29:05 +03:00
georgemoralis 58ad071e69 initial work on loggin class 2023-05-16 19:31:53 +03:00
georgemoralis a831f01ce3 elfviewer : don't display section header if they don't exist (seems like commercial games doesn't have section headers) 2023-05-14 17:43:45 +03:00
georgemoralis b0a560282c elfviewer : detailed program headers info 2023-05-13 10:00:22 +03:00
georgemoralis fbc9e5cc02 elf headers and elf program headers in imgui elfviewer 2023-05-10 22:21:34 +03:00
georgemoralis 185d981141 elfview imgui : added segment headers 2023-05-08 12:15:28 +03:00
georgemoralis c81ef5468d SELF header display on imgui elf window 2023-05-06 11:35:42 +03:00
georgemoralis d63a28f63d more elf tree progress 2023-05-05 09:29:16 +03:00
georgemoralis 9af11c4d20 small ElfViewer display updates 2023-05-03 19:56:18 +03:00
georgemoralis 0109b28b93 imgui elfviewer window . first draft 2023-05-03 19:40:47 +03:00
georgemoralis e6101bea7a we can now load elf and imgui. 2023-05-02 22:10:49 +03:00
georgemoralis 3e17a9f9a5 added spdlog library 2023-05-02 22:10:49 +03:00
georgemoralis d1e8e696cf added fmt library 2023-05-02 22:10:49 +03:00
georgemoralis bbf71dfbd3 first try with cmake and imgui 2023-05-02 22:10:49 +03:00