diff options
author | midipix <writeonce@midipix.org> | 2025-05-29 00:53:15 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2025-05-29 03:35:46 +0000 |
commit | 59b920bb87eab928e77b5227a1ed9023292a7552 (patch) | |
tree | df0f396edc1cec2156f5ee7d543b39ed05e20a4b /src/skin/pe_skin_default.c | |
parent | bbc6acc8f263e26cd487b936ee5ab7a61b59b277 (diff) | |
download | perk-59b920bb87eab928e77b5227a1ed9023292a7552.tar.bz2 perk-59b920bb87eab928e77b5227a1ed9023292a7552.tar.xz |
driver: become multi-cmd ready, added pe_cmd_perk().
Diffstat (limited to 'src/skin/pe_skin_default.c')
-rw-r--r-- | src/skin/pe_skin_default.c | 44 |
1 files changed, 3 insertions, 41 deletions
diff --git a/src/skin/pe_skin_default.c b/src/skin/pe_skin_default.c index 963af6e..b27daf5 100644 --- a/src/skin/pe_skin_default.c +++ b/src/skin/pe_skin_default.c @@ -8,47 +8,9 @@ const struct argv_option pe_default_options[] = { {"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", 'm',TAG_SYMBOLS,ARGV_OPTARG_NONE,0,0,0, - "list symbols found in the coff symbol table"}, - - {"strings", 's',TAG_STRINGS,ARGV_OPTARG_NONE,0,0,0, - "list strings found in the coff string 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 .idata dependency libraries"}, - - {"impsyms", 'I',TAG_IMPSYMS,ARGV_OPTARG_NONE,0,0,0, - "list .idata dependency libraries " - "along with imported symbols"}, - - {"dsolibs", 'd',TAG_DSOLIBS,ARGV_OPTARG_NONE,0,0,0, - "list .dsometa (mdso) dependency libraries"}, - - {"dsosyms", 'D',TAG_DSOSYMS,ARGV_OPTARG_NONE,0,0,0, - "list .dsometa (mdso) dependency libraries " - "along with referenced symbols"}, - - {"hdrdump", 'X',TAG_HDRDUMP,ARGV_OPTARG_OPTIONAL,0, - "dos|image.dos|" - "coff|coff.image|coff.object|coff.optional|" - "sectbl|section.table|" - "exphdr|export.header|" - "imptbl|import.table",0, - "output struct-based information for " - "either all headers (the default) " - "or a specific header"}, + {"cmd", 0,TAG_CMD,ARGV_OPTARG_REQUIRED,0, + "perk",0, + "invoke one of the following perk commands: {%s}"}, {0,0,0,0,0,0,0,0} }; |