|
|
249590 |
#include "perk_driver_impl.h"
|
|
|
249590 |
#include "argv/argv.h"
|
|
|
249590 |
|
|
|
249590 |
const struct argv_option pe_default_options[] = {
|
|
|
12240e |
{"version", 'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
|
|
|
c3d8ab |
"show version information"},
|
|
|
249590 |
|
|
|
12240e |
{"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
|
|
|
c3d8ab |
"show usage information [listing %s options only]"},
|
|
|
249590 |
|
|
|
08a894 |
{"pretty", 'p',TAG_PRETTY,ARGV_OPTARG_REQUIRED,0,"yaml|dlltool",0,
|
|
|
c3d8ab |
"format output for parsing by %s"},
|
|
|
249590 |
|
|
|
a4543c |
{"category", 'y',TAG_CATEGORY,ARGV_OPTARG_NONE,0,0,0,
|
|
|
ae263e |
"print image category"},
|
|
|
665ac3 |
|
|
|
39af3c |
{"sections", 'c',TAG_SECTIONS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
adc337 |
"list image sections"},
|
|
|
9d75af |
|
|
|
d492af |
{"symbols", 'm',TAG_SYMBOLS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
016925 |
"list symbols found in the coff symbol table"},
|
|
|
016925 |
|
|
|
ecf121 |
{"strings", 's',TAG_STRINGS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
ecf121 |
"list strings found in the coff string table"},
|
|
|
ecf121 |
|
|
|
12240e |
{"expsyms", 'e',TAG_EXPSYMS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
adc337 |
"list exported symbols" },
|
|
|
249590 |
|
|
|
12240e |
{"implibs", 'i',TAG_IMPLIBS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
25e8d7 |
"list .idata dependency libraries"},
|
|
|
249590 |
|
|
|
12240e |
{"impsyms", 'I',TAG_IMPSYMS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
25e8d7 |
"list .idata dependency libraries "
|
|
|
adc337 |
"along with imported symbols"},
|
|
|
665ac3 |
|
|
|
ee981e |
{"dsolibs", 'd',TAG_DSOLIBS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
ee981e |
"list .dsometa (mdso) dependency libraries"},
|
|
|
ee981e |
|
|
|
ee981e |
{"dsosyms", 'D',TAG_DSOSYMS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
ee981e |
"list .dsometa (mdso) dependency libraries "
|
|
|
ee981e |
"along with referenced symbols"},
|
|
|
ee981e |
|
|
|
d38fc0 |
{"hdrdump", 'X',TAG_HDRDUMP,ARGV_OPTARG_OPTIONAL,0,
|
|
|
d38fc0 |
"dos|image.dos|"
|
|
|
d38fc0 |
"coff|coff.image|coff.object|coff.optional|"
|
|
|
d38fc0 |
"sectbl|section.table|"
|
|
|
d38fc0 |
"exphdr|export.header|"
|
|
|
d38fc0 |
"imptbl|import.table",0,
|
|
|
d38fc0 |
"output struct-based information for "
|
|
|
d38fc0 |
"either all headers (the default) "
|
|
|
d38fc0 |
"or a specific header"},
|
|
|
d38fc0 |
|
|
|
3aa987 |
{0,0,0,0,0,0,0,0}
|
|
|
249590 |
};
|