blob: cf40090d7f2cfa0afc129cde71ca269d36ab94f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef __LIBELFU_ELFOPS_H_
#define __LIBELFU_ELFOPS_H_
#include <libelf/libelf.h>
#include <libelf/gelf.h>
#include <libelfu/types.h>
int elfu_eCheck(Elf *e);
char* elfu_eScnName(Elf *e, Elf_Scn *scn);
Elf_Scn* elfu_eScnByName(Elf *e, char *name);
Elf_Scn* elfu_eScnFirstInSegment(Elf *e, GElf_Phdr *phdr);
Elf_Scn* elfu_eScnLastInSegment(Elf *e, GElf_Phdr *phdr);
void elfu_ePhdrFixupSelfRef(Elf *e);
#endif
|