[GHC] #885: GHC doesn't work with Data Execution Prevention on
Windows
GHC
trac at galois.com
Fri Oct 6 10:07:24 EDT 2006
#885: GHC doesn't work with Data Execution Prevention on Windows
-----------------------+----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.6.1
Component: Compiler | Version: 6.4.2
Severity: major | Resolution:
Keywords: | Os: Windows
Difficulty: Unknown | Architecture: x86
-----------------------+----------------------------------------------------
Comment (by simonmar):
Thanks for all the investigation...
Changing the linker to call VirtualAlloc() is certainly an improvement -
but please leave a ToDo comment in both the linker and allocateExec to
remind us to fix it properly later.
I suspect that allocating one page per allocateExec() would bite us. Some
applications create a ''lot'' of adjustor thunks, eg. I have a feeling
that Pugs is one (or perhaps it just does a lot of callbacks).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/885>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list