Displaying 1 result from an estimated 1 matches for "ntcurrentprocess".
Did you mean:
getcurrentprocess
2006 Aug 28
0
"Bus Error" Under Mac OS X x86 with Wine 0.9.20
...main.c:58
(gdb) x 0x7ffde064
0x7ffde064 <__wine_shared_heap+16638052>: 0x00000000
(gdb) print peb
$1 = (PEB *) 0x7ffde000
dlls/ntdll/thread.c:220-228 has this:
/* reserve space for shared user data */
addr = (void *)0x7ffe0000;
size = 0x10000;
NtAllocateVirtualMemory( NtCurrentProcess(), &addr, 0, &size,
MEM_RESERVE, PAGE_READONLY );
/* allocate and initialize the PEB */
addr = NULL;
size = sizeof(*peb);
NtAllocateVirtualMemory( NtCurrentProcess(), &addr, 1, &size,
MEM_COMMIT | MEM_TOP_DOWN, PAGE_READWRITE );
peb...