X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=include%2Flibelfu%2Fmodelops.h;h=eee7c13285a51c87b92a0140547764ea449b96a0;hb=5868bb32246367139f0d17a989650964f90a7958;hp=3daef5285fa8162c3ce0b9b82e4d3afc0f3e68c7;hpb=3c14755015340e48ae68aa874f672e7c9d289832;p=centaur.git 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 +#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