Hi,
Maybe I misunderstand what you want but if you do ‘u ’ it will give you
the module and offset of that address.
Eg.
kd> x nt!MmSizeOfPagedPoolInBytes
80535a80 nt!MmSizeOfPagedPoolInBytes =
kd> u 80535a80
nt!MmSizeOfPagedPoolInBytes:
80535a80 0000 add [eax],al
The disassembly is rubbish because WinDbg is disassembling data but it does
give you the mod!offset
Yours
Roger
Roger Coote,
Senior Design Engineer
PowerVR Technologies, A Division of Imagination Technologies Ltd
Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
phone :+44 (1923) 260511 fax :+44 (1923) 268969
direct :+44 (1923) 277247
mailto:xxxxx@powervr.com www.powervr.com
-----Original Message-----
From: Nick Ryan [mailto:xxxxx@nryan.com]
Sent: 11 December 2003 21:28
To: Kernel Debugging Interest List
Subject: [windbg] How to easily determine module&offset into for a given
address?
Is there a !windbg command that can take an address and return the
module name and offset where that address resides (if any)? I’m tired of
having to manually scan through the list of base addresses return by
!drivers to eyeball which one is closest too and less than the address
I’m curious about. (No, the ln command does not work for this purpose).
–
Nick Ryan (MVP for DDK)
—
You are currently subscribed to windbg as: xxxxx@videologic.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
******************
This e-mail has been sent from Imagination Technologies Limited.
PowerVR, Metagence, Ensigma and PURE Digital are divisions
of Imagination Technologies Limited.
The information contained in this e-mail, including any attachment,
is confidential and may be legally privileged. It is intended solely
for the addressee(s) and access to this e-mail by anyone else is
unauthorised. If you are not the intended recipient, any disclosure,
copying or distribution or use of the information contained in this
e-mail, is prohibited and may be unlawful. If you have received this
e-mail in error, please notify the sender by return e-mail and then
delete it from your system.
Internet communications cannot be guaranteed to be secure,
error or virus-free. The sender does not accept liability for any errors
or omissions which arise as a result.
Any views expressed in this message are those of the author, except
where the author specifies and, with authority, states them to be the
views of Imagination Technologies Ltd.