diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/options.h | 22 | ||||
-rw-r--r-- | include/printing.h | 18 |
2 files changed, 0 insertions, 40 deletions
diff --git a/include/options.h b/include/options.h deleted file mode 100644 index 2210c85..0000000 --- a/include/options.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef __OPTIONS_H__ -#define __OPTIONS_H__ - - -typedef struct { - char *fnInput; - char *fnOutput; - int printHeader; - int printSegments; - int printSections; - unsigned insertBeforeOffs; - unsigned insertBeforeSz; - unsigned insertAfterOffs; - unsigned insertAfterSz; - unsigned expandNobitsOffs; - char *fnReladd; -} CLIOpts; - - -void parseOptions(CLIOpts *opts, int argc, char **argv); - -#endif diff --git a/include/printing.h b/include/printing.h deleted file mode 100644 index bda2fc1..0000000 --- a/include/printing.h +++ /dev/null @@ -1,18 +0,0 @@ -#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 |