diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libelfu/modelops.h | 5 | ||||
-rw-r--r-- | include/libelfu/types.h | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/libelfu/modelops.h b/include/libelfu/modelops.h index 3daef52..eee7c13 100644 --- a/include/libelfu/modelops.h +++ b/include/libelfu/modelops.h @@ -7,6 +7,9 @@ #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); @@ -42,6 +45,6 @@ void elfu_mDumpElf(ElfuElf *me); 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 diff --git a/include/libelfu/types.h b/include/libelfu/types.h index 37e25fa..e4dd26c 100644 --- a/include/libelfu/types.h +++ b/include/libelfu/types.h @@ -9,7 +9,6 @@ typedef struct ElfuSym { GElf_Word name; - char *nameptr; GElf_Addr value; GElf_Word size; |