Question about allocating memory for a Windows PE file

2006-12-06 Thread Stephen Torri
I am trying to create a custom Windows PE loader (binary & DLL) for the purpose of security research. I am having a difficult time finding how to allocate memory for a binary at the desired address in memory (especially if its non-relocatable). I would like to see why I cannot get memory allocated

Understanding VirtualSize and SizeOfRawData in PE Section header

2006-11-13 Thread Stephen Torri
I am trying to understand how the VirtualSize and SizeOfRawData are used in the PE Section Header when Windows loads a executable or DLL into memory. So far here is what I understand. If the VirtualSize is greater or equal to the SizeOfRawData then the loader reads N bytes of section data with N =

problem compiling value.c in /home/storri/src/wine/dlls/wldap32

2005-11-19 Thread Stephen Torri
I am using CVS version of wine that I synced with just tonight. I did the following commands: make clean cvs up ./configure make depend make When it came to compiling value.c in /home/storri/src/wine/dlls/wldap32 I get an error that: gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__

Re: bug 3578

2005-10-17 Thread Stephen Torri
On Mon, 2005-10-17 at 10:33 +0200, [EMAIL PROTECTED] wrote: > Hi all, > > i posted a bug report last friday (10/14) about a nice shoot'em up called > Warblade, complaining at startup : > > "err:seh:EXC_DefaultHandling Exception frame is not in stack limits => unable > to > dispatch exception." >

Re: Unable to compile CVS

2005-10-02 Thread Stephen Torri
On Sun, 2005-10-02 at 13:24 -0600, Vitaliy Margolen wrote: > Delete all *spec.def files and try again. You should "make clean" before > updating cvs. > I did my make clean after updating cvs. So now I did: 1. find -name '*.def' | xargs rm 2. cvs up 3. make depend 4. make -j2 I still get the err

Unable to compile CVS

2005-10-02 Thread Stephen Torri
I am having difficulty in compiling wine CVS. I synced up with the repository this afternoon. The error I am getting is: make[2]: Entering directory `/home/storri/src/wine/dlls/avifil32' ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./avifil32.spec avifile.spec.o acmstream.o api.o

Re: safedisc stuff

2005-06-02 Thread Stephen Torri
> I synced with CVS and applied your patch. I get a problem compiling > dlls/ntdll/file.c: The problem was an operator error in failing to copy a file to the right location. I do get a real error, honest I do. fixme:ntdll:NtCreateFile failing because of error c00f fixme:file:CreateFileW Unab

Re: safedisc stuff

2005-06-02 Thread Stephen Torri
On Wed, 2005-06-01 at 21:32 +0200, Ivan Leo Puoti wrote: > Hi guys, > Mike Hearn asked me to send the work in progress stuff, so here it is > (some stuff has been removed for legal reasons, so you can't run it in > a debugger). Some of it sucks (See QueryServiceStatus for the worst hack > ever,

Re: No sound from winealsa driver

2005-04-29 Thread Stephen Torri
On Fri, 2005-04-29 at 11:05 -0400, Timothy Mann wrote: > Hey Everyone, > I don't know if this is relavent, but I have never been able to get the > winealsa driver to work. All it produces is static. I'm using Slackware > 10 and alsa-1.0.8 (driver: snd-intel8x0). It is probably a setup problem > on

No sound from winealsa driver

2005-04-28 Thread Stephen Torri
The following trace was obtain using the wine CVS version updated as of 4/28/2005. I am attempting to play the Soldier of Fortune II demo. Stephen sound section of config ;"Drivers" = "wineoss.drv" ; default for most common configurations ;"Drivers" = "winearts.drv

[Bug 2097] Unable to start game Rites of War

2005-04-26 Thread Stephen Torri
Can a developer take a look at Bug #2097? I need some assistance on figuring our what is wrong with this game. In particular I would like to have someone that can tutor me in trouble shooting problems running applications. I want to be more of an active solution contributor than a problem generato