georgemoralis
53a8024e43
core renaming
2023-10-31 14:28:42 +02:00
GPUCode
28819dede1
code: Replace printf/scanf with type safe fmt
2023-10-26 23:29:19 +03:00
GPUCode
f3504b2d25
singleton: Use unique_ptr
2023-10-26 23:13:24 +03:00
GPUCode
7cbe7c762a
linker: Eliminate orphan news
...
* Most of these can just be on the stack, with the rest being std::vectors
2023-10-26 23:07:15 +03:00
GPUCode
ca564b928c
core: Rework elf loader
2023-10-26 22:55:13 +03:00
GPUCode
e2b1b059ed
core: Switch to std threading primitives
2023-10-22 17:10:25 +03:00
Stefanos Kornilios Mitsis Poiitidis
470881dc11
Stubs: Log nids for unknown ones
2023-10-14 19:07:38 +03:00
Stefanos Kornilios Mitsis Poiitidis
f1ce6fe669
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
5094d3044c
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
04e9366cb8
refactoring log class
2023-08-13 16:54:56 +03:00
georgemoralis
e5f2f91a80
threading working ,fixed a big in sceKernelMapDirectMemory
2023-08-09 11:42:50 +03:00
georgemoralis
3cb89c4b5c
refactoring virtual_memory
2023-08-06 22:52:20 +03:00
georgemoralis
1e57ccc6ec
refactoring
2023-08-04 11:33:00 +03:00
georgemoralis
692759099f
improved StringUtil algo + some PhysicalMemory work
2023-08-01 00:42:49 +03:00
georgemoralis
28aad0a5dc
Added sysv_abi , now parameters in sceVideoOutOpen is correct
2023-07-21 08:03:36 +03:00
georgemoralis
d641f7b6c4
we can now execute code (reaches init_env() function )
2023-07-20 12:18:43 +03:00
georgemoralis
063a689812
patching more dummy functions
2023-07-13 12:56:36 +03:00
georgemoralis
81906c271a
resolving relocate function and patching them (successfully done one :D)
2023-07-11 18:50:29 +03:00
georgemoralis
42dc535638
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
0edc265dc2
progress in relocations
2023-07-06 21:55:41 +03:00
georgemoralis
6717482662
initial work on relocations
2023-07-04 18:34:23 +03:00
georgemoralis
bc2facaee4
improved memory_alloc function
2023-07-04 12:29:28 +03:00
georgemoralis
79a6464c58
sample hle function loading (libc)
2023-06-28 20:15:19 +03:00
georgemoralis
b8c542805f
Symbol resolver added
2023-06-26 18:12:19 +03:00
georgemoralis
8acfc3d557
nid names resolver
2023-06-21 18:14:52 +03:00
georgemoralis
cc34a85c54
more symbols work and refactoring
2023-06-19 07:51:56 +03:00
georgemoralis
11bf9d7928
elf symbols , bind ,type ,visibility
2023-06-19 06:58:22 +03:00
georgemoralis
f333098231
more progress on symbols decoding
2023-06-18 17:54:22 +03:00
georgemoralis
cae39ccf23
encode id64 for modules,libraries
2023-06-14 07:47:44 +03:00
georgemoralis
cfa68f2f40
Initial symbol loading
2023-06-13 07:43:58 +03:00
georgemoralis
0682830e2f
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
6fcfe38e26
Added DT_OS_NEEDED_MODULE
2023-06-11 15:35:04 +03:00
georgemoralis
6e0cf378d2
Added DT_DEBUG, DT_TEXTREL,DT_FLAGS,DT_NEEDED
2023-06-09 18:10:40 +03:00
georgemoralis
94dff9b980
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
dd4dddded3
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
d995a0e286
added DT_INIT.DT_FINI,DT_OS_PLTGOT,DT_OS_SYMTAB,DT_OS_SYMTABSZ
2023-06-08 19:05:03 +03:00
georgemoralis
8932be618b
parsing DT_OS_HASHZ, DT_OS_STRTAB , DT_OS_STRSZ for dynamic loader
2023-06-08 13:25:24 +03:00
georgemoralis
672e2b2d77
initial dynamic loader , parsing DT_HASH atm
2023-06-08 12:51:11 +03:00
georgemoralis
66ea5329d2
some more playing with zydis
2023-05-30 16:27:11 +03:00
georgemoralis
43033d6bf6
linker : loading PT_DYNAMIC , PT_DYNAMIC data
2023-05-26 19:22:43 +03:00
georgemoralis
cc471a8535
segments loading (only elf atm)
2023-05-25 18:08:10 +03:00
georgemoralis
1ad70366c6
changed hex->decimal in size variables output
2023-05-25 14:25:52 +03:00
georgemoralis
e87b793083
more progress on module to memory loading
2023-05-25 13:16:53 +03:00
georgemoralis
5d0a5af495
more work on linker , closer to load to memory
2023-05-23 19:39:24 +03:00
georgemoralis
b27942c46b
some more progress on linker , elf is now load from there
2023-05-23 10:47:56 +03:00
georgemoralis
a09e2eb65a
initial work on linker
2023-05-23 07:48:25 +03:00