Subject: Re: SoC: NDIS
To: Alan Ritter <rittera@cc.wwu.edu>
From: Andrew R. Reiter <arr@watson.org>
List: tech-kern
Date: 08/01/2005 18:13:37
On Mon, 1 Aug 2005, Alan Ritter wrote:

:Hi,
:
:> If you've got less than 16 data directories, then you're probably
:> overshooting into the IMAGE_SECTION_HEADER's.
:
:I tried out your code, and got the following output:
:
:- ../Network Driver/bcmwl5.sys is 369024 bytes in length.
:- IMAGE_FILE_HEADER.SizeOfOptionalHeader: 224
:-   Default length?  *Yes*
:- IMAGE_OPTIONAL_HEADER.NumberOfRvaAndSizes (aka # of data directories) = 16
:
:Looks like there are 16 directories, so that's not the problem.
:
:Anyway, thanks for your help :-)
:

:-)  Figures... I imagine most drivers have the default...  But, oh well.

Good luck,
Andrew

--
Andrew R. Reiter
arr@watson.org