diff options
author | midipix <writeonce@midipix.org> | 2016-11-15 00:07:23 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-15 00:07:23 -0500 |
commit | 9d75af02d905f6005b9cee7f79615569d7d14dd4 (patch) | |
tree | accd92a27b45aeda3951a41b31bc4c346f0cede8 /src/driver | |
parent | c06e27553b4994e70bde07b775cff800fe4c437a (diff) | |
download | perk-9d75af02d905f6005b9cee7f79615569d7d14dd4.tar.bz2 perk-9d75af02d905f6005b9cee7f79615569d7d14dd4.tar.xz |
driver: added --sections support (print image sections).
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/pe_driver_ctx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c index 021a7fb..8ca3ba6 100644 --- a/src/driver/pe_driver_ctx.c +++ b/src/driver/pe_driver_ctx.c @@ -164,6 +164,10 @@ int pe_get_driver_ctx( cctx.fmtflags |= PERK_OUTPUT_IMAGE_TYPE; break; + case TAG_SECTIONS: + cctx.fmtflags |= PERK_OUTPUT_IMAGE_SECTIONS; + break; + case TAG_EXPSYMS: cctx.fmtflags |= PERK_OUTPUT_EXPORT_SYMS; break; |