summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-05-31 01:43:22 +0100
committernorly <ny-git@enpas.org>2013-05-31 01:43:22 +0100
commitbd748f84aeea9600063bf822312a802bf09d1839 (patch)
treedd883344899ab17261cd3e06974e5dafe9ea1f2b /include
parentd5c411ba043ef62c81e4941990f0625bd3ea3814 (diff)
Pull out existing re-layouting code
Diffstat (limited to 'include')
-rw-r--r--include/libelfu/modelops.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libelfu/modelops.h b/include/libelfu/modelops.h
index 9495aca..8374b02 100644
--- a/include/libelfu/modelops.h
+++ b/include/libelfu/modelops.h
@@ -8,6 +8,7 @@
size_t elfu_mPhdrCount(ElfuElf *me);
+void elfu_mPhdrUpdateChildOffsets(ElfuPhdr *mp);
typedef int (SectionHandlerFunc)(ElfuElf *me, ElfuScn *ms, void *aux1, void *aux2);
@@ -18,6 +19,11 @@ char* elfu_mScnName(ElfuElf *me, ElfuScn *ms);
ElfuScn** elfu_mScnSortedByOffset(ElfuElf *me, size_t *count);
+GElf_Addr elfu_mLayoutGetSpaceInPhdr(ElfuElf *me, GElf_Word size,
+ GElf_Word align, int w, int x,
+ ElfuPhdr **injPhdr);
+
+
int elfu_mCheck(ElfuElf *me);
ElfuScn* elfu_mCloneScn(ElfuScn *ms);