summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-12-14 04:27:18 -0500
committermidipix <writeonce@midipix.org>2017-12-14 11:36:09 -0500
commitee981e016f27efe4b1d5df027dc03accdd662cb0 (patch)
tree597ac0ca7cbb04a71240e4fc7eed073722c19df1 /src/driver
parentf5eb13ba3a0d8f1ef1e170e41b7491210b3028d3 (diff)
downloadperk-ee981e016f27efe4b1d5df027dc03accdd662cb0.tar.bz2
perk-ee981e016f27efe4b1d5df027dc03accdd662cb0.tar.xz
driver: added -d and -D (list mdso libs [and referenced symbols]).
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/pe_driver_ctx.c8
1 files changed, 8 insertions, 0 deletions
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++;