[Python-Dev] Windows Toolchain
Curt Hagenlocher
curt at hagenlocher.org
Tue Jul 14 00:07:45 CEST 2009
On Mon, Jul 13, 2009 at 2:55 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
>
> Curt Hagenlocher <curt <at> hagenlocher.org> writes:
>>
>> The OS has to provide a mechanism to enable execution for a particular
>> region of memory. Under Windows, this is done by the VirtualProtect
>> function.
>
> More surprising is that Microsoft didn't whitelist their own toolchain.
But dev tools don't actually execute the code they create in-process;
they write the executable code out to disk and a new process is spun
up from that image. So there should be no need to disable DEP for
anything that the toolchain creates directly.
Given that this was affecting multiple programs, the most likely
culprit is either an anti-virus program or a virus -- though you
probably can't rule out some kind of glitch in the OS itself. :/
--
Curt Hagenlocher
curt at hagenlocher.org
More information about the Python-Dev
mailing list