data-execution-prevention

Why does FogBugz require that the DEP is turned off?

I am really wondering why FogBugz when installed locally insists that DEP is turned off? ...

How to read the DEP nxcompat flag in an exe?

I'm having huge problems with DEP since my managed app uses an older activex dll. I am setting the nxcompat:no in post build, but the problems continue. I have read that the msi deployment project may be using an exe with the bit not set, despite my best efforts. Is there a way to read the header of an exe to see the state of the flag? S...

AccessViolationException with a webbrowser in a windows form

Hello, I have written a basic Windows Form app in C# that has an embedded web browser control. I am navigating to a page to view a camera's feed. The application works fine on Windows XP, but not on Vista. On Vista, I get a AccessViolationException. This seems to be related to Data Execution Prevention. The article at http://jts...

Delphi 2006 always stops working when closed on Vista

Whenever I stop the Galileo IDE from Delphi 2006 under Vista, I get Microsoft Windows Borland® Developer Studio for Windows has stopped working A problem caused the program to stop working correctly. Please close the program. [Close the program] followed by some dialog by data execution prevention. Even excludi...

Possible Data Execution Prevention (DEP) problem in Windows 7

I have a serious problem with my .Net program. It calls a native dll, and then crashes instantly because it can't find a native method. This is behaviour we have seen before, whereby the C# compiler, in its infinite wisdom, sets the flag that the program is DEP compatible, even if it calls a native dll which patently is not. We have the...

How do I enable DEP or ASLR for my .NET application?

I'm writing my program in VS2010 and the build target is .NET 4. I believe that the DEP compatibility flag is on by default. Is that true? Is .NET also compatible by default with ASLR, and is ASLR turned on by default for my process, or do I have to request it at runtime? ...

Linux equivalent for VirtualProtectEx?

I am doing some simple JITing, and use VirtualProtectEx under Windows to mark pages as executable. What would be the equivalent of that under Linux, and preferably, other POSIX/Unix-like OSes too? ...