blob: eb2074f0b2f887fc9cd294acca0a814357d3c905 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef __PRINTING_H__
#define __PRINTING_H__
#include <libelf/libelf.h>
void printHeader(Elf *e);
void printSegmentsWithSection(Elf *e, Elf_Scn *scn);
void printSection(Elf *e, Elf_Scn *scn);
void printSections(Elf *e);
char* segmentTypeStr(size_t pt);
void printSectionsInSegment(Elf *e, GElf_Phdr *phdr);
void printSegments(Elf *e);
#endif
|