From 733dcf7478d466eac6bfef09efee476d43679787 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 18 Jun 2025 04:47:07 +0000 Subject: driver: added the --relocs switch (image base relocations). --- src/driver/pe_driver_ctx.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/driver/pe_driver_ctx.c') diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c index 6a260bd..9e6a17e 100644 --- a/src/driver/pe_driver_ctx.c +++ b/src/driver/pe_driver_ctx.c @@ -251,6 +251,10 @@ static int pe_cctx_update( cctx->fmtflags |= PERK_OUTPUT_IMAGE_STRINGS; break; + case TAG_RELOCS: + cctx->fmtflags |= PERK_OUTPUT_BASE_RELOCS; + break; + case TAG_EXPSYMS: cctx->fmtflags |= PERK_OUTPUT_EXPORT_SYMS; break; -- cgit v1.2.3