summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-06-15 22:21:57 +0100
committernorly <ny-git@enpas.org>2013-06-15 22:21:57 +0100
commit31a268f63f649cbe1cbcd5047e3a5d7d30f7c397 (patch)
treeb78514311338438979e60f962a4c84808011c58d /include
parent7ba294a5aa715fc03f5ae898b7dcfaef45079f55 (diff)
Factor out symbol table handling
Diffstat (limited to 'include')
-rw-r--r--include/libelfu/modelops.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libelfu/modelops.h b/include/libelfu/modelops.h
index 40d0ade..cf11b20 100644
--- a/include/libelfu/modelops.h
+++ b/include/libelfu/modelops.h
@@ -10,6 +10,13 @@
#define ELFU_SYMSTR(symtabscn, off) (((char*)(symtabscn)->linkptr->data.d_buf) + (off))
+GElf_Word elfu_mSymtabLookupVal(ElfuElf *me, ElfuScn *msst, GElf_Word entry);
+void elfu_mSymtabFlatten(ElfuElf *me);
+
+
+void elfu_mRelocate(ElfuElf *metarget, ElfuScn *mstarget, ElfuScn *msrt);
+
+
size_t elfu_mPhdrCount(ElfuElf *me);
void elfu_mPhdrUpdateChildOffsets(ElfuPhdr *mp);