summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-16 09:41:57 -0500
committermidipix <writeonce@midipix.org>2016-11-16 09:50:42 -0500
commit016925a048e34c3eeb2815d6830d61771f0ed999 (patch)
tree701bc47cb86ab0f4da049f2a9b955de3424b812d /src/driver
parent39af3cb59a5bc2dff1fa1429623e1219d002a4b2 (diff)
downloadperk-016925a048e34c3eeb2815d6830d61771f0ed999.tar.bz2
perk-016925a048e34c3eeb2815d6830d61771f0ed999.tar.xz
driver: added --symbols support (list symbols found in coff symbol 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 8bc1706..accb9c1 100644
--- a/src/driver/pe_driver_ctx.c
+++ b/src/driver/pe_driver_ctx.c
@@ -162,6 +162,10 @@ int pe_get_driver_ctx(
cctx.fmtflags |= PERK_OUTPUT_IMAGE_SECTIONS;
break;
+ case TAG_SYMBOLS:
+ cctx.fmtflags |= PERK_OUTPUT_IMAGE_SYMBOLS;
+ break;
+
case TAG_EXPSYMS:
cctx.fmtflags |= PERK_OUTPUT_EXPORT_SYMS;
break;