16 lines
835 B
Reg
16 lines
835 B
Reg
Windows Registry Editor Version 5.00
|
|
|
|
; Full PageHeap for the editor: each heap allocation is placed at the end of its
|
|
; own page with a no-access guard page after it, so a buffer OVERRUN faults
|
|
; immediately at the corrupting write (instead of corrupting the free-list and
|
|
; hanging/crashing later). GlobalFlag 0x02000000 = FLG_HEAP_PAGE_ALLOCS;
|
|
; PageHeapFlags 0x3 = enabled + full page heap.
|
|
; Import ELEVATED: reg import c:\VWE\firestorm\build-env\mw4ed2-pageheap.reg
|
|
; To DISABLE later: delete the MW4Ed2.exe subkey (or run mw4ed2-pageheap-off.reg).
|
|
; (IFEO is a shared key - NOT redirected to Wow6432Node - so this applies to the
|
|
; 32-bit editor's ntdll heap.)
|
|
|
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\MW4Ed2.exe]
|
|
"GlobalFlag"=dword:02000000
|
|
"PageHeapFlags"=dword:00000003
|