projects
/
centaur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge symbol tables. (Not fully ELF conformant)
[centaur.git]
/
include
/
libelfu
/
modelops.h
diff --git
a/include/libelfu/modelops.h
b/include/libelfu/modelops.h
index 3daef5285fa8162c3ce0b9b82e4d3afc0f3e68c7..eee7c13285a51c87b92a0140547764ea449b96a0 100644
(file)
--- a/
include/libelfu/modelops.h
+++ b/
include/libelfu/modelops.h
@@
-7,6
+7,9
@@
#include <libelfu/types.h>
#include <libelfu/types.h>
+#define ELFU_SYMSTR(symtabscn, off) (((char*)(symtabscn)->linkptr->data.d_buf) + (off))
+
+
size_t elfu_mPhdrCount(ElfuElf *me);
void elfu_mPhdrUpdateChildOffsets(ElfuPhdr *mp);
size_t elfu_mPhdrCount(ElfuElf *me);
void elfu_mPhdrUpdateChildOffsets(ElfuPhdr *mp);
@@
-42,6
+45,6
@@
void elfu_mDumpElf(ElfuElf *me);
ElfuElf* elfu_mFromElf(Elf *e);
void elfu_mToElf(ElfuElf *me, Elf *e);
ElfuElf* elfu_mFromElf(Elf *e);
void elfu_mToElf(ElfuElf *me, Elf *e);
-void elfu_mReladd(ElfuElf *me, ElfuElf *mrel);
+void elfu_mReladd(ElfuElf *me,
const
ElfuElf *mrel);
#endif
#endif