Re: Reverse engineering Windows drivers.

From: jury gerold (gjury@grips.com)
Date: Mon Jan 31 2000 - 04:21:31 EST


Patrick Roberts wrote:
>
> I'm trying to find some correct settings for my video card that I'm writing a
> utility for. Can anyone recommend some freeware that:
>
> 1) Disassembles windows programs/drivers/dlls under linux (or do I HAVE to buy
> and install Windows...God forbid!)
>
> 2) Under Windows, can access the PCI regs and can dump the contents of hardware
> mapped memory to a file.
>
> My thinking is that if I know the regs, a Windows user could set up the card
> with the mode I'm trying to get, then could dump his reg contents to a file and
> I could use this file to see what I'm setting wrong. Or does it not work like
> that?
>
> Thanks for any help :)
>
Use binutils --target=i386-mingw32 with the binutils-patches from Mumit Khan (great man) at
ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/gcc-2.95.2/patches/

i386-mingw32-objdump --disassemble whateverfile should do the trick.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:27 EST