From ee981e016f27efe4b1d5df027dc03accdd662cb0 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 14 Dec 2017 04:27:18 -0500 Subject: driver: added -d and -D (list mdso libs [and referenced symbols]). --- src/driver/pe_driver_ctx.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/driver') diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c index 36df61b..add9113 100644 --- a/src/driver/pe_driver_ctx.c +++ b/src/driver/pe_driver_ctx.c @@ -181,6 +181,14 @@ int pe_get_driver_ctx( case TAG_IMPSYMS: cctx.fmtflags |= PERK_OUTPUT_IMPORT_SYMS; break; + + case TAG_DSOLIBS: + cctx.fmtflags |= PERK_OUTPUT_MDSO_LIBS; + break; + + case TAG_DSOSYMS: + cctx.fmtflags |= PERK_OUTPUT_MDSO_SYMS; + break; } } else nunits++; -- cgit v1.2.3