Stefanos Kornilios Mitsis Poiitidis
5570fab8c6
Stubs: Log nids for unknown ones
2023-10-14 19:07:38 +03:00
Stefanos Kornilios Mitsis Poiitidis
a239ac10f3
Add auto stubs, static init
...
- Adds a python script to generate the tables, to avoid std::map init
- Generates stub "slots" to provide runtime information when a stub is called
- Provides fallback for unknown stubs
2023-10-11 11:50:02 +03:00
Stefanos Kornilios Mitsis Poiitidis
18514ed7dc
run_main_entry: Rewrite in asm for stack setup
...
- Fixes OpenOrbis loading that depends on rsp
pointing to the argument structure, in addition
to rdi
2023-10-02 17:26:33 +03:00
georgemoralis
c37067641d
refactoring log class
2023-08-13 16:54:56 +03:00
georgemoralis
200e5933ad
threading working ,fixed a big in sceKernelMapDirectMemory
2023-08-09 11:42:50 +03:00
georgemoralis
e26cabb181
refactoring virtual_memory
2023-08-06 22:52:20 +03:00
georgemoralis
89abe5cc28
refactoring
2023-08-04 11:33:00 +03:00
georgemoralis
8a3eb1574a
improved StringUtil algo + some PhysicalMemory work
2023-08-01 00:42:49 +03:00
georgemoralis
04d3ee9a3f
Added sysv_abi , now parameters in sceVideoOutOpen is correct
2023-07-21 08:03:36 +03:00
georgemoralis
3b53e4781a
we can now execute code (reaches init_env() function )
2023-07-20 12:18:43 +03:00
georgemoralis
152c581dc5
patching more dummy functions
2023-07-13 12:56:36 +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
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
8140f11be3
sample hle function loading (libc)
2023-06-28 20:15:19 +03:00
georgemoralis
d6f8f839ea
Symbol resolver added
2023-06-26 18:12:19 +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
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
c1c1af0a16
some more playing with zydis
2023-05-30 16:27:11 +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