summaryrefslogtreecommitdiff
path: root/include/libelfu
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-06-18 08:47:33 +0100
committernorly <ny-git@enpas.org>2013-06-18 08:49:07 +0100
commitc98d704a812502c34d82e34949f37c8b87ae6018 (patch)
treeab0ea9890143ab40ead5e07bb9be29ac874e8ccd /include/libelfu
parentf88e1ad7d9db8a41abecc795200f21138af65c74 (diff)
Basic detour support
Diffstat (limited to 'include/libelfu')
-rw-r--r--include/libelfu/modelops.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libelfu/modelops.h b/include/libelfu/modelops.h
index cf11b20..fec6821 100644
--- a/include/libelfu/modelops.h
+++ b/include/libelfu/modelops.h
@@ -11,6 +11,7 @@
GElf_Word elfu_mSymtabLookupVal(ElfuElf *me, ElfuScn *msst, GElf_Word entry);
+GElf_Word elfu_mSymtabLookupAddrByName(ElfuElf *me, ElfuScn *msst, char *name);
void elfu_mSymtabFlatten(ElfuElf *me);
@@ -54,4 +55,6 @@ ElfuElf* elfu_mFromElf(Elf *e);
void elfu_mReladd(ElfuElf *me, const ElfuElf *mrel);
+void elfu_mDetour(ElfuElf *me, GElf_Addr from, GElf_Addr to);
+
#endif