summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-12 16:21:08 -0500
committermidipix <writeonce@midipix.org>2016-11-12 16:21:08 -0500
commit007c7fe073a181af1493f6ee58ac24bbd3208952 (patch)
tree541460971478927e0b435dcd44d2a1ae1ac817c5 /src/driver
parent665ac36fa8328a852876551140cd9fc6c4c22b94 (diff)
downloadperk-007c7fe073a181af1493f6ee58ac24bbd3208952.tar.bz2
perk-007c7fe073a181af1493f6ee58ac24bbd3208952.tar.xz
output: pe_output_image_type(): implementation and integration.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/pe_amain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/pe_amain.c b/src/driver/pe_amain.c
index 42ec2d1..1ded100 100644
--- a/src/driver/pe_amain.c
+++ b/src/driver/pe_amain.c
@@ -66,6 +66,9 @@ static void pe_perform_unit_actions(
int fpara = 0;
uint64_t flags = dctx->cctx->fmtflags;
+ if (flags & PERK_OUTPUT_IMAGE_TYPE)
+ pe_output_image_type(dctx,uctx,0);
+
if (flags & PERK_OUTPUT_EXPORT_SYMS) {
pe_output_export_symbols(dctx,uctx->meta,0);
fpara += uctx->meta->summary.nexpsyms;