Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 my project file right under the program name to get address space layout randomization (ASLR) and DEP.

How can one tell if the flags are set in the PE? PeStudio seems to have the info, but doesn't seem to work.

Thanks.

like image 605
BrownFox97 Avatar asked May 01 '11 18:05

BrownFox97


1 Answers

The easiest way that I know is to use Process Explorer on the running app. Just double-click on the process and read it out of this dialog:

enter image description here

like image 136
David Heffernan Avatar answered Sep 28 '22 04:09

David Heffernan