Displaying 7 results from an estimated 7 matches for "page_readwrite".
2001 Dec 12
3
Bug in PE_LoadImage/map_image? [Was: VirtualProtect and app crash]
...t before the app starts.
Here is what wine shows:
View: 0x400000 - 0x765fff 28
0x400000 - 0x765fff c-rw-
Here is what WinDbg shows (manually edited to look like the wine view):
0x400000 - 0x400fff c-r-- (PAGE_READONLY)
0x401000 - 0x454fff c--W- (PAGE_WRITECOPY)
0x455000 - 0x455fff c-rw- (PAGE_READWRITE)
0x456000 - 0x457fff c--W- (PAGE_WRITECOPY)
0x458000 - 0x458fff c-rw- (PAGE_READWRITE)
0x459000 - 0x459fff c-r-- (PAGE_READONLY)
0x45a000 - 0x758fff c--W- (PAGE_WRITECOPY)
0x759000 - 0x75afff c-r-- (PAGE_READONLY)
0x75b000 - 0x75dfff c--W- (PAGE_WRITECOPY)
0x75e000 - 0x75efff c-rw- (PAGE_READWRITE)...
2006 Oct 23
0
Need some help with MMap# and MMap#=
...was doable with VirtualAlloc, but I can''t seem to get it
to work:
def []=(offset, length, string)
if offset + length > @size
diff = offset + length - size
addr = [@address + diff + 1].pack(''L'')
if VirtualAlloc(addr, diff, MEM_COMMIT|MEM_RESERVE,
PAGE_READWRITE) == 0
raise Error, get_last_error
end
end
memcpy(@address + offset, string, string.length)
end
When I try this, however, I get:
C:/ruby/lib/ruby/site_ruby/1.8/windows/memory.rb:82:in `call'': NULL
pointer given (ArgumentError)
from C:/ruby/lib/ruby/site_ruby/...
2007 Oct 09
5
Playing with ReadFileScatter()
Hi all,
Looking at the IO.readlines source in io.c, it looks to me like they
grab 8k chunks, split on the input record separator, and buffer accordingly.
Since it looks like ReadFileScatter() does some of that work
automatically (in page file sized chunks), I thought I''d give it a try.
Here''s what I''ve got, but it doesn''t work. I have an incorrect parameter
2006 Aug 28
0
"Bus Error" Under Mac OS X x86 with Wine 0.9.20
...lMemory( 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 = addr;
peb->NumberOfProcessors = 1;
At this point, I'm stumped. Is there something wrong with my portfile
that's causing problems? The only thing I can think of is that it's
using incompatible versions of libraries that Wine requires, but I'd
hope that the confi...
2001 Dec 11
0
VirtualProtect and app crash: what's your interpretation?
...short loc_760DC4
;
; Push arguments to VirtualProtect(
; LPVOID lpAddress,
; SIZE_T dwSize,
; DWORD flNewProtect,
; PDWORD lpflOldProtect)
;
00760D99 lea eax, [ebp-8]
;
; lpflOldProtect is a local variable
;
00760D9C push eax
;
; flNewProtect = 4 = PAGE_READWRITE
;
00760D9D push 4
;
; dwSize = size of region to protect = a local variable
;
00760D9F push dword ptr [ebp-14h]
;
; lpAddress = base address of region to protect =
; (*(long *)75D728) + localvar
;
00760DA2 mov eax, ds:dword_75D728
00760DA7...
2011 Nov 04
0
Wine release 1.3.32
...SSLCopyPeerCertificates on Mac OS 10.4.
Claudio Fontana (1):
wined3d: Rename nVidia GTX560 to GTX560TI, add GTX560 with correct device id.
Dan Kegel (1):
kernel32/tests: fni->FileName is not nul terminated in test_readdirectorychanges_cr.
Dmitry Timoshkov (3):
kernel32: Use PAGE_READWRITE access when enabling write access to resource data.
ntdll: Use PAGE_READWRITE access when resolving DLL imports.
ntdll: Make the VirtualProtect tests pass under Wine.
Eric Pouech (2):
icinfo: Compile the IcInfo program as a command-line app.
icinfo: No longer use stdio func...
2012 Dec 07
0
Wine release 1.5.19
...d address-of operator from array name.
Andr? Hentschel (11):
include: Add more CV constants.
ntdll: Exit when we can't map the shared user data.
kernel32/tests: Fix crash on win8 in module.
kernel32/tests: Fix crashes on win8 in console.
ntdll/tests: Fix check for PAGE_READWRITE.
winemaker: Output UTF-8 Makefiles.
psapi/tests: Fix test on win8.
wintrust/tests: Unify test message in case of a FALSE return.
winedbg: Add load/str multiple operators to Thumb2 disassembler.
schannel/tests: Fix test on win8.
secur32/tests: Fix tests on win8....