Displaying 6 results from an estimated 6 matches for "writeprocessmemory".
2004 Feb 14
0
WriteProcessMemory and friends in Wine?
...to do first; then patch
a copy of the executable, test it and get it working, then, diff the
patched copy with the original executable, and create a loader program
that runs the original (unpatched) executable. The loader uses
CreateProcess to invoke the executable as a suspended process, and then
WriteProcessMemory to patch the new process in memory, causing the
memory image to be identical to the disk-patched version. Then I
ResumeThread to kick off the program.
This sounds like a lot of work for little gain. It does one important
thing however, which is to bypass integrity checks on the executable.
The m...
2010 Sep 20
1
Dynamic forking in Win32
...DX = %X\n", (uint)ctx.Edx);
if (v) {
/* patch the EXE base addr in PEB (PEB + 8 holds process base addr) */
DWORD *pebInfo = (DWORD *)ctx.Ebx;
DWORD wrote;
printf("New EXE Image Size = %X\n", (uint)imageSize);
if (!WriteProcessMemory(
pi.hProcess, &pebInfo[2], &v, sizeof(DWORD), &wrote)) {
ErrorExit("Could not write to process memory...\n");
TerminateProcess(pi.hProcess, 0);
exit(1);
}
/* patch the base addr in the...
2007 Mar 26
16
mongrel_service fails to get "service.exe" from ppid?
Konnichiwa Mongrel users,
mongrel_service cannot run as a windows service under my environment,
with the windows message :
"error 1053 : The service did not respond to the start or control
request in a timely fashion."
>From a part of "ServiceFB.log" at c:/ruby/bin,
mongrel_service failed to get the process name of "service.exe".
2006 Mar 02
0
Problems Running an executable from samba share.
...no
> writeable = yes
> force create mode = 770
>
> The problem I have is with my /export share. Whenever I try to run a
> setup.exe file to install an accounts package, the client machine (xp
> sp2) reports an error :
>
> "Only part of a ReadProcessMemory or WriteProcessMemory request was
> completed"
>
> This file will open and install correctly through an NFS share and
> mount on the same client machine so I have (hopefully) narrowed this
> down to a samba error. Output from the samba log is below relevant to
> this problem:
>
> [2006/03/...
2009 Jun 05
0
Wine release 1.1.23
...s: More systematically ignore the messages we don't care about.
winegcc: Link against winecrt0 for the Mingw build too.
winegcc: Create a stub main to work around the lack of Unicode support in Mingw.
comctl32/tests: Avoid size_t in traces.
winedbg: Add wrappers for Read/WriteProcessMemory to fix the mingw build.
Andrew Eikum (11):
gdiplus: Stubs for GdipAddPathString and GdipAddPathStringI.
gdiplus: Stubs for GdipBeginContainer and GdipBeginContainerI.
gdiplus: Stub for GdipCloneBitmapArea.
gdiplus: Stub for GdipComment.
gdiplus: Stubs for GdipCreateMe...
2009 Jan 16
0
Wine release 1.1.13
...8 .NET 3.0: WCF installer requires httpapi.dll with some stubs
16893 .NET 3.0: Windows Workflow Foundation post-install: loadperf needs LoadPerfCounterTextStringsA/W stubs
16906 .NET 3.0: XPSEPSC installer copies print processor files to wrong directory (setupapi unhandled dirid 55)
16911 WriteProcessMemory() not working for memory protected by X11DRV_DIB_DoProtectDIBSection()
16922 Build broken on NetBSD
----------------------------------------------------------------
Changes since 1.1.12:
Aleksey Bragin (1):
ntdll: Fix buffer overread in RtlNumberOfSetBits.
Alexandre Julliard (169):...