How can I enable DEP/NX and ASLR on a Delphi 2006 or earlier executable?

前端 未结 2 423
情书的邮戳
情书的邮戳 2020-12-09 00:01

Delphi 2007 (and newer) supports enabling DEP and ASLR via any of these three techniques:

  • add the command-line switch –dynamicbase when compiling
2条回答
  •  情深已故
    2020-12-09 00:27

    ‘{$DYNAMICBASE ON}’ is new in Delphi2007, ‘{$SETPEOPTFLAGS $40}' was an existing directive: info

    {$SetPEOptFlags $40} works in Delphi2006

提交回复
热议问题