|
Re: [GHC] #885: GHC doesn't work with Data Execution Prevention on Windows: msg#00196lang.haskell.glasgow.bugs
#885: GHC doesn't work with Data Execution Prevention on Windows -----------------------+---------------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: _|_ Component: Compiler | Version: 6.4.2 Severity: major | Resolution: Keywords: | Os: Windows Difficulty: Unknown | Architecture: x86 -----------------------+---------------------------------------------------- Comment (by simonmar): Ah, that's interesting. Yes the RTS does have a way to allocate executable memory, but it appears that the Win32 object linker isn't using it: line 1379 of rts/Linker.c: {{{ oc->image = stgMallocBytes(oc->fileSize + misalignment, "loadObj(image)"); }}} Could you try changing this to {{{ oc->image = allocateExec(oc->fileSize + misalignment); }}} and see if that helps? -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/885> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Broken snapshot archives, Simon Marlow |
|---|---|
| Next by Date: | Re: Broken snapshot archives, Tomasz Zielonka |
| Previous by Thread: | Re: [GHC] #885: GHC doesn't work with Data Execution Prevention on Windows, GHC |
| Next by Thread: | Re: [GHC] #882: Overflow bug in System.Time, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |