diff options
author | norly <ny-git@enpas.org> | 2013-06-16 00:47:23 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-06-16 00:51:22 +0100 |
commit | 150d0c42d423fe49304d648e2c19ff08f6c2e0ad (patch) | |
tree | 04b3a4f78481707903463dd7ee7424ce0d003774 /include | |
parent | 02355128ce1f36bbc4edb5d3a4d4d31b179de6d6 (diff) |
mv main.c -> elfucli.c, make it scriptable via argssymrel
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 |