summaryrefslogtreecommitdiff
path: root/include/libelfu/modelops.h
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-06-22 01:26:45 +0100
committernorly <ny-git@enpas.org>2013-06-24 01:21:14 +0100
commit605d8a0c062b080d984fe6f3634c1511c6b6f2e8 (patch)
tree47e8a1f1bda0adbf5e481b211a3c0c677b679288 /include/libelfu/modelops.h
parenta5a7af50662f99f933f6e657a131f2ff0e3a358e (diff)
PHDR: Find lowest/highest addr/offs
Diffstat (limited to 'include/libelfu/modelops.h')
-rw-r--r--include/libelfu/modelops.h5
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);