[PATCH] D87544: [CFGuard] Add address-taken IAT tables and delay-load support

Andrew Paverd via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 11:16:17 PDT 2020


ajpaverd added inline comments.


================
Comment at: lld/COFF/Writer.cpp:1683
   uint32_t guardFlags = uint32_t(coff_guard_flags::CFInstrumented) |
                         uint32_t(coff_guard_flags::HasFidTable);
   if (config->guardCF == GuardCFLevel::Full)
----------------
rnk wrote:
> Can we set either ProtectDelayLoadIAT or DelayLoadIATSection now, or does that take more work?
I think this will take more work (e.g. the latter requires moving the Delayload import table into its own .didat section).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87544/new/

https://reviews.llvm.org/D87544



More information about the llvm-commits mailing list