summaryrefslogtreecommitdiffhomepage
path: root/src/skin
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-09 07:01:53 +0000
committermidipix <writeonce@midipix.org>2021-04-09 07:11:47 +0000
commitd38fc0c36bc9530fdebf709316a73ad6db5e2db5 (patch)
treefc1fde9790611237ec46a7a4c9e70b35a7667d2d /src/skin
parent44ba87393046804e3661da9cf9c8e639b82c5cf0 (diff)
downloadperk-d38fc0c36bc9530fdebf709316a73ad6db5e2db5.tar.bz2
perk-d38fc0c36bc9530fdebf709316a73ad6db5e2db5.tar.xz
driver: added --hdrdump support.
Diffstat (limited to 'src/skin')
-rw-r--r--src/skin/pe_skin_default.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/skin/pe_skin_default.c b/src/skin/pe_skin_default.c
index 60663ea..963af6e 100644
--- a/src/skin/pe_skin_default.c
+++ b/src/skin/pe_skin_default.c
@@ -40,5 +40,15 @@ const struct argv_option pe_default_options[] = {
"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"},
+
{0,0,0,0,0,0,0,0}
};