ASLR and DEP in Delphi, How to tell?

From http://blogs.msdn.com/b/michael_howard/archive/2007/04/04/codegear-s-new-delphi-2007-supports-aslr-and-nx.aspx , I am using {$ SETPEOPTFLAGS $ 140} in the project file right below the program name to get the randomization of the address space allocation (ASLR) and DEP.

How to determine if flags are set in PE? PeStudio has some info, but it doesn't seem to work.

Thank.

+5
source share
1 answer

The easiest way I know is to use Process Explorer in a running application. Just double-click the process and read it in this dialog box:

enter image description here

+5
source

All Articles