summaryrefslogtreecommitdiff
path: root/include/printing.h
blob: bda2fc18833e62165b4e38b8b7f010458f9c2386 (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.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