parsing DT_OS_HASHZ, DT_OS_STRTAB , DT_OS_STRSZ for dynamic loader

This commit is contained in:
georgemoralis 2023-06-08 13:25:24 +03:00
parent 672e2b2d77
commit 8932be618b
3 changed files with 16 additions and 0 deletions

View file

@ -326,6 +326,9 @@ struct elf_program_id_header
constexpr s64 DT_NULL = 0;
constexpr s64 DT_OS_HASH = 0x61000025;
constexpr s64 DT_OS_HASHSZ = 0x6100003d;
constexpr s64 DT_OS_STRTAB = 0x61000035;
constexpr s64 DT_OS_STRSZ = 0x61000037;
struct elf_dynamic
{