Re: Debugging



In the map file (driver.map) you will find the base addresses of functions
in your driver. Find the function that would contain that offset, subtract
the base address of the function to get the (Driver.dll+Function offset+line
offset)

Then if you set WINCECOD=1 you will have a COD file in your obj folder. You
can then look for the function and find line offset.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member


"Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx> wrote in message
news:enAtqbSrFHA.1132@xxxxxxxxxxxxxxxxxxxxxxx
look at the map file which indicates the mapping of the various functions of
your dll.

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------

"sajid" <sajid@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de news:
ua1tDnRrFHA.1032@xxxxxxxxxxxxxxxxxxxxxxx
Dear all,


Can anyone tell me how to find the offset[driver.dll+0x00002538] in my c/c++
code of a driver ?


Exception 002 Thread=87d9b028 Proc=07e83cb2 'device.exe'
AKY=ffffffff PC=02b82538(driver.dll+0x00002538)
RA=02b824f4(driver.dll+0x000024f4) BVA=00000013


Any input is welcome.

Warm regards,
Sajid


.



Relevant Pages

  • Re: Debugging
    ... > In the map file you will find the base addresses of functions ... Find the function that would contain that offset, ... > beitman AT applieddata DOT net ... > ychammings AT adeset DOT com> ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Help required in WINCE5.0 data abort
    ... You don't need to find EA in the makeimg output since data abort message you ... the file is nk.exe and the offset is 0x000ac7b8. ... the offset in the map file. ... beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.platbuilder)
  • Re: NAND Flash drive in CE 6.0
    ... I implemented it direcly in the driver ... didn't think I'd have much success trying the other byte offset method. ... theNANDFlashif you have the auto-format option enabled in the ... code expects is that Byte offset 5 in the spare area is used as the ...
    (microsoft.public.windowsce.platbuilder)
  • Re: debugging a "data abort"
    ... then passing it to another function in the DLL (since the RA is also in the ... But, looking in my .map file, I don't have anything anywhere near that. ... function call closest but not above that offset. ... "Data Abort" error when running. ...
    (microsoft.public.pocketpc.developer)
  • Re: no static functions in WDK examples;
    ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... Yes, a map file can help, but it makes it ... You also end up with a lot of dumps logged against ... As each new release hits the world monitoring OCA at Microsoft is a wise ...
    (microsoft.public.win32.programmer.kernel)

Loading