diff options
Diffstat (limited to 'include/libelfu')
-rw-r--r-- | include/libelfu/modelops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libelfu/modelops.h b/include/libelfu/modelops.h index 3a5d7ea..c6d5c30 100644 --- a/include/libelfu/modelops.h +++ b/include/libelfu/modelops.h @@ -21,6 +21,8 @@ void elfu_mRelocate(ElfuElf *metarget, ElfuScn *mstarget, ElfuScn *msrt); typedef void* (PhdrHandlerFunc)(ElfuElf *me, ElfuPhdr *mp, void *aux1, void *aux2); void* elfu_mPhdrForall(ElfuElf *me, PhdrHandlerFunc f, void *aux1, void *aux2); size_t elfu_mPhdrCount(ElfuElf *me); +ElfuPhdr* elfu_mPhdrByAddr(ElfuElf *me, GElf_Addr addr); +ElfuPhdr* elfu_mPhdrByOffset(ElfuElf *me, GElf_Off offset); void elfu_mPhdrUpdateChildOffsets(ElfuPhdr *mp); ElfuPhdr* elfu_mPhdrAlloc(); void elfu_mPhdrDestroy(ElfuPhdr* mp); |