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