[PR #16] [MERGED] Dynamic resolver #1218

Closed
opened 2026-02-27 21:11:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/16
Author: @georgemoralis
Created: 6/12/2023
Status: Merged
Merged: 6/12/2023
Merged by: @georgemoralis

Base: mainHead: dynamic_resolver


📝 Commits (9)

  • e02c0a9 simplify main (not loading imgui and sdl for the moment)
  • 672e2b2 initial dynamic loader , parsing DT_HASH atm
  • 8932be6 parsing DT_OS_HASHZ, DT_OS_STRTAB , DT_OS_STRSZ for dynamic loader
  • d995a0e added DT_INIT.DT_FINI,DT_OS_PLTGOT,DT_OS_SYMTAB,DT_OS_SYMTABSZ
  • dd4dddd Added DT_SCE_JMPREL,DT_SCE_PLTRELSZ,DT_SCE_PLTREL,DT_SCE_RELA,DT_SCE_RELASZ,DT_SCE_RELAENT
  • 94dff9b added DT_INIT_ARRAY, DT_FINI_ARRAY,DT_INIT_ARRAYSZ,DT_FINI_ARRAYSZ,DT_PREINIT_ARRAY,DT_PREINIT_ARRAYSZ,DT_SCE_SYMENT
  • 6e0cf37 Added DT_DEBUG, DT_TEXTREL,DT_FLAGS,DT_NEEDED
  • 6fcfe38 Added DT_OS_NEEDED_MODULE
  • 0682830 DT_SCE_IMPORT_LIB,DT_SCE_ORIGINAL_FILENAME,DT_SCE_MODULE_INFO added. Dynamic loader should be ok for now

📊 Changes

4 files changed (+309 additions, -3 deletions)

View changed files

📝 src/Core/PS4/Linker.cpp (+158 -0)
📝 src/Core/PS4/Linker.h (+78 -0)
📝 src/Loader/Elf.h (+65 -0)
📝 src/main.cpp (+8 -3)

📄 Description

Added dynamic resolver


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/16 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 6/12/2023 **Status:** ✅ Merged **Merged:** 6/12/2023 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `dynamic_resolver` --- ### 📝 Commits (9) - [`e02c0a9`](https://github.com/shadps4-emu/shadPS4/commit/e02c0a9398b12b037b6192a2ca57f2a9c4eefedf) simplify main (not loading imgui and sdl for the moment) - [`672e2b2`](https://github.com/shadps4-emu/shadPS4/commit/672e2b2d77941b61dfaf753f80afae90241ee080) initial dynamic loader , parsing DT_HASH atm - [`8932be6`](https://github.com/shadps4-emu/shadPS4/commit/8932be618b155e9b33c60bf181d9c0eb64c046b5) parsing DT_OS_HASHZ, DT_OS_STRTAB , DT_OS_STRSZ for dynamic loader - [`d995a0e`](https://github.com/shadps4-emu/shadPS4/commit/d995a0e2866660f359c52f325672d3356bef3223) added DT_INIT.DT_FINI,DT_OS_PLTGOT,DT_OS_SYMTAB,DT_OS_SYMTABSZ - [`dd4dddd`](https://github.com/shadps4-emu/shadPS4/commit/dd4dddded34d838c9f25cbe8b1e58914be0af046) Added DT_SCE_JMPREL,DT_SCE_PLTRELSZ,DT_SCE_PLTREL,DT_SCE_RELA,DT_SCE_RELASZ,DT_SCE_RELAENT - [`94dff9b`](https://github.com/shadps4-emu/shadPS4/commit/94dff9b9808d2605ac1146030bc871413a32966c) added DT_INIT_ARRAY, DT_FINI_ARRAY,DT_INIT_ARRAYSZ,DT_FINI_ARRAYSZ,DT_PREINIT_ARRAY,DT_PREINIT_ARRAYSZ,DT_SCE_SYMENT - [`6e0cf37`](https://github.com/shadps4-emu/shadPS4/commit/6e0cf378d289f690227fd9a4e8e0b2dac8a209a6) Added DT_DEBUG, DT_TEXTREL,DT_FLAGS,DT_NEEDED - [`6fcfe38`](https://github.com/shadps4-emu/shadPS4/commit/6fcfe38e26f2d6ed185f421ba93bcd9d1e691281) Added DT_OS_NEEDED_MODULE - [`0682830`](https://github.com/shadps4-emu/shadPS4/commit/0682830e2f314d1c53e414dec7961f46c2d4a11b) DT_SCE_IMPORT_LIB,DT_SCE_ORIGINAL_FILENAME,DT_SCE_MODULE_INFO added. Dynamic loader should be ok for now ### 📊 Changes **4 files changed** (+309 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/Core/PS4/Linker.cpp` (+158 -0) 📝 `src/Core/PS4/Linker.h` (+78 -0) 📝 `src/Loader/Elf.h` (+65 -0) 📝 `src/main.cpp` (+8 -3) </details> ### 📄 Description Added dynamic resolver --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:11:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1218
No description provided.