Related articles |
---|
[4 earlier articles] |
Re: Jit Implementation anton@mips.complang.tuwien.ac.at (2010-03-21) |
Re: Jit Implementation gah@ugcs.caltech.edu (glen herrmannsfeldt) (2010-03-21) |
Re: Jit Implementation herron.philip@googlemail.com (Philip Herron) (2010-03-21) |
Re: Jit Implementation jthorn@astro.indiana-zebra.edu (Jonathan Thornburg \[remove -animal to reply\]) (2010-03-21) |
Re: Jit Implementation cr88192@hotmail.com (BGB / cr88192) (2010-03-21) |
Re: Jit Implementation herron.philip@googlemail.com (Philip Herron) (2010-03-21) |
Re: Jit Implementation barry.j.kelly@gmail.com (Barry Kelly) (2010-03-22) |
Re: Jit Implementation bartc@freeuk.com (bartc) (2010-03-23) |
Re: Jit Implementation bartc@freeuk.com (bartc) (2010-03-23) |
Re: Jit Implementation cr88192@hotmail.com (cr88192) (2010-03-23) |
Re: Jit Implementation cr88192@hotmail.com (BGB / cr88192) (2010-03-23) |
Re: Jit Implementation bartc@freeuk.com (bartc) (2010-03-24) |
Re: Jit Implementation cr88192@hotmail.com (BGB / cr88192) (2010-03-26) |
[2 later articles] |
From: | Barry Kelly <barry.j.kelly@gmail.com> |
Newsgroups: | comp.compilers |
Date: | Mon, 22 Mar 2010 04:18:18 +0000 |
Organization: | TeraNews.com |
References: | 10-03-054 10-03-060 |
Keywords: | architecture |
Posted-Date: | 22 Mar 2010 21:04:43 EDT |
bartc wrote:
> > [... on recent x86
> > where data pages are usually marked no-execute. -John]
>
> Fortunately that doesn't seem the case with XP and Vista at least.
This is dependent on the system configuration of DEP, data execution
prevention. On server installs, it is normally enabled by default for
all processes. On consumer systems, it is normally only enabled for
system critical processes, or images with the
IMAGE_DLL_CHARACTERISTICS_NX_COMPAT bit (0x100) set in the
DllCharacteristics field in the PE ("optional" - but required by Windows
loader) header:
http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx
You can enforce DEP for all processes (like a server) by going into
System Properties (via Advanced system properties in System in Control
Panel in Vista / Windows 7), the Advanced tab, Performance button, then
Data Execution Prevention tab.
-- Barry
--
http://blog.barrkel.com/
Return to the
comp.compilers page.
Search the
comp.compilers archives again.