summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-07-24 03:29:42 -0400
committermidipix <writeonce@midipix.org>2018-07-24 12:05:35 -0400
commit67bba74b591b7d000eb68013334ba923ca4f216c (patch)
tree0f57923ffe686de004c1ff4846371fa8d05375f2 /src/driver
parenta85d3ea1cc6fc5f9e011a1b29e93c776da108a0b (diff)
downloadperk-67bba74b591b7d000eb68013334ba923ca4f216c.tar.bz2
perk-67bba74b591b7d000eb68013334ba923ca4f216c.tar.xz
output interfaces: revised API and implementation to use fdctx and pure fdio.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/pe_amain.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/driver/pe_amain.c b/src/driver/pe_amain.c
index 4ea62ef..bc8afce 100644
--- a/src/driver/pe_amain.c
+++ b/src/driver/pe_amain.c
@@ -55,25 +55,25 @@ static void pe_perform_unit_actions(
uint64_t flags = dctx->cctx->fmtflags;
if (flags & PERK_OUTPUT_IMAGE_CATEGORY)
- pe_output_image_category(dctx,uctx->meta,0);
+ pe_output_image_category(dctx,uctx->meta);
if (flags & PERK_OUTPUT_IMAGE_SECTIONS)
- pe_output_image_sections(dctx,uctx->meta,0);
+ pe_output_image_sections(dctx,uctx->meta);
if (flags & PERK_OUTPUT_IMAGE_SYMBOLS)
- pe_output_image_symbols(dctx,uctx->meta,0);
+ pe_output_image_symbols(dctx,uctx->meta);
if (flags & PERK_OUTPUT_IMAGE_STRINGS)
- pe_output_image_strings(dctx,uctx->meta,0);
+ pe_output_image_strings(dctx,uctx->meta);
if (flags & PERK_OUTPUT_EXPORT_SYMS)
- pe_output_export_symbols(dctx,uctx->meta,0);
+ pe_output_export_symbols(dctx,uctx->meta);
if ((flags & PERK_OUTPUT_IMPORT_LIBS) || (flags & PERK_OUTPUT_IMPORT_SYMS))
- pe_output_import_libraries(dctx,uctx->meta,0);
+ pe_output_import_libraries(dctx,uctx->meta);
if ((flags & PERK_OUTPUT_MDSO_LIBS) || (flags & PERK_OUTPUT_MDSO_SYMS))
- pe_output_mdso_libraries(dctx,uctx->meta,0);
+ pe_output_mdso_libraries(dctx,uctx->meta);
}
static int pe_exit(struct pe_driver_ctx * dctx, int ret)