summaryrefslogtreecommitdiffhomepage
path: root/src/skin/pe_skin_default.c
blob: e33b8c06532a6d721647c3d39fe2d05bb442dc47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "perk_driver_impl.h"
#include "argv/argv.h"

const struct argv_option pe_default_options[] = {
	{"version",	'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
			"show version information"},

	{"help",	'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
			"show usage information [listing %s options only]"},

	{"pretty",	'p',TAG_PRETTY,ARGV_OPTARG_REQUIRED,0,"yaml|dlltool",0,
			"format output for parsing by %s"},

	{"category",	'y',TAG_CATEGORY,ARGV_OPTARG_NONE,0,0,0,
			"print image category"},

	{"sections",	'c',TAG_SECTIONS,ARGV_OPTARG_NONE,0,0,0,
			"list image sections"},

	{"symbols",	's',TAG_SYMBOLS,ARGV_OPTARG_NONE,0,0,0,
			"list symbols found in the coff symbol table"},

	{"expsyms",	'e',TAG_EXPSYMS,ARGV_OPTARG_NONE,0,0,0,
			"list exported symbols" },

	{"implibs",	'i',TAG_IMPLIBS,ARGV_OPTARG_NONE,0,0,0,
			"list direct dependency libraries"},

	{"impsyms",	'I',TAG_IMPSYMS,ARGV_OPTARG_NONE,0,0,0,
			"list direct dependency libraries "
			"along with imported symbols"},

	{0,0,0,0,0,0,0,0}
};