diff options
| author | Ada Christine <adachristine18@gmail.com> | 2024-02-22 20:05:51 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2024-02-22 20:05:51 +0000 |
| commit | aec58be40927ec0b2a0e6742396f880d52ce38b5 (patch) | |
| tree | 5336b9966808a6d0706e7469d239d1dbc11cb3e2 /api/lib | |
| parent | e97aa65fc42f08fe666a9a21b69d05ab17231920 (diff) | |
kjarna runtime
Diffstat (limited to 'api/lib')
| -rw-r--r-- | api/lib/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/lib/elf.h b/api/lib/elf.h index 05d25bc..951fc25 100644 --- a/api/lib/elf.h +++ b/api/lib/elf.h @@ -12,4 +12,6 @@ bool elf64_validate(Elf64_Ehdr *ehdr, unsigned type, unsigned machine); size_t elf64_size(Elf64_Ehdr *ehdr, Elf64_Phdr *phdr); +void *elf64_dt_ptr(void *base, Elf64_Dyn *dyntab, unsigned long dt_type); +uintptr_t elf64_dt_val(Elf64_Dyn *dyntab, unsigned long dt_type); |
