diff options
author | norly <ny-git@enpas.org> | 2013-06-22 01:26:45 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-06-24 01:21:14 +0100 |
commit | 605d8a0c062b080d984fe6f3634c1511c6b6f2e8 (patch) | |
tree | 47e8a1f1bda0adbf5e481b211a3c0c677b679288 /include/libelfu/modelops.h | |
parent | a5a7af50662f99f933f6e657a131f2ff0e3a358e (diff) |
PHDR: Find lowest/highest addr/offs
Diffstat (limited to 'include/libelfu/modelops.h')
-rw-r--r-- | include/libelfu/modelops.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libelfu/modelops.h b/include/libelfu/modelops.h index c6d5c30..c0a5851 100644 --- a/include/libelfu/modelops.h +++ b/include/libelfu/modelops.h @@ -23,6 +23,11 @@ typedef void* (PhdrHandlerFunc)(ElfuElf *me, ElfuPhdr *mp, void *aux1, void *aux size_t elfu_mPhdrCount(ElfuElf *me); ElfuPhdr* elfu_mPhdrByAddr(ElfuElf *me, GElf_Addr addr); ElfuPhdr* elfu_mPhdrByOffset(ElfuElf *me, GElf_Off offset); + void elfu_mPhdrLoadLowestHighest(ElfuElf *me, + ElfuPhdr **lowestAddr, + ElfuPhdr **highestAddr, + ElfuPhdr **lowestOffs, + ElfuPhdr **highestOffsEnd); void elfu_mPhdrUpdateChildOffsets(ElfuPhdr *mp); ElfuPhdr* elfu_mPhdrAlloc(); void elfu_mPhdrDestroy(ElfuPhdr* mp); |