diff options
author | midipix <writeonce@midipix.org> | 2025-06-18 04:47:07 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2025-06-18 04:47:07 +0000 |
commit | 733dcf7478d466eac6bfef09efee476d43679787 (patch) | |
tree | bb6cf0ebcfd723ebb5d844796f3ef20549bf5259 /src/driver | |
parent | c5998808867bf8209722357c745508c592d337cf (diff) | |
download | perk-733dcf7478d466eac6bfef09efee476d43679787.tar.bz2 perk-733dcf7478d466eac6bfef09efee476d43679787.tar.xz |
driver: added the --relocs switch (image base relocations).
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 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; |