mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-20 18:34:58 +00:00
initial dynamic loader , parsing DT_HASH atm
This commit is contained in:
parent
e02c0a9398
commit
672e2b2d77
3 changed files with 41 additions and 0 deletions
|
@ -323,6 +323,19 @@ struct elf_program_id_header
|
|||
u64 firmver;
|
||||
u08 digest[32];
|
||||
};
|
||||
|
||||
constexpr s64 DT_NULL = 0;
|
||||
constexpr s64 DT_OS_HASH = 0x61000025;
|
||||
|
||||
struct elf_dynamic
|
||||
{
|
||||
s64 d_tag;
|
||||
union
|
||||
{
|
||||
u64 d_val;
|
||||
u64 d_ptr;
|
||||
} d_un;
|
||||
};
|
||||
class Elf
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue