plt.c revision 2a61d19bd244dadcde5009f1632cf14b95623e3d
1#include <gelf.h> 2#include "common.h" 3 4GElf_Addr 5arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) { 6 return lte->plt_addr + ndx * 12 + 32; 7} 8 9void * 10sym2addr(Process *proc, struct library_symbol *sym) { 11 return sym->enter_addr; 12} 13