summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-17 04:47:33 -0500
committermidipix <writeonce@midipix.org>2016-11-17 04:47:33 -0500
commitecf121476585a0c456689987c14d89ecc6364625 (patch)
treef3868eb156a5ec0036bd9b3937725cf1671c52af /src/driver
parentd492af690ee0c2d756981f0a716299f726a7833e (diff)
downloadperk-ecf121476585a0c456689987c14d89ecc6364625.tar.bz2
perk-ecf121476585a0c456689987c14d89ecc6364625.tar.xz
driver: added --strings support (list strings found in the coff string table).
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/pe_driver_ctx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c
index accb9c1..b0135e9 100644
--- a/src/driver/pe_driver_ctx.c
+++ b/src/driver/pe_driver_ctx.c
@@ -166,6 +166,10 @@ int pe_get_driver_ctx(
cctx.fmtflags |= PERK_OUTPUT_IMAGE_SYMBOLS;
break;
+ case TAG_STRINGS:
+ cctx.fmtflags |= PERK_OUTPUT_IMAGE_STRINGS;
+ break;
+
case TAG_EXPSYMS:
cctx.fmtflags |= PERK_OUTPUT_EXPORT_SYMS;
break;