Yes, it is a bug, (in fact a regression) and it has been fixed in the internal Microsoft version of Windbg.
Unfortunately the fix was made VERY late in the Windows 8 release cycle, and did not meet the bar for inclusion in the release.
Microsoft internal versions of windbg no longer have this problem.
Unfortunately that doesn’t help the external community very much.
The fix will ship in the WDK releases that ship as part of the next release of Windows.
Joe.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Friday, January 18, 2013 11:16 AM
To: Kernel Debugging Interest List
Subject: Re: [windbg] Bug in Windbg version 6.2.9200.16384
xxxxx@flounder.com wrote:
> Hi,
>
> I noticed that disassembler of the above mentioned Windbg shows
> byte-reversed value of instructions where 32-bit address is:
> …
> dbgeng!NotifyExceptionEvent+0x8d:
> 5beeb48b 813b03000080 cmp dword ptr [ebx],80000003h
> ds:0023:013cf638=03000080
No, the value is displayed correctly. Each nybble pair is at an
increasing address, that is,
013cf638 = 03
013cf639 = 00
013cf63a = 00
013cf63b = 80
Oh, please. No, it’s not. It’s showing the value as a dword. As a dword, the value of that memory is 80000003. Your argument is silly.
This is a bug in Windbg.
It could be argued that it should have said
…638 = 03 00 00 80
where the spaces indicate that it is being displayed in memory byte
order, rather than as a DWORD-sized value, which would be more
intuitive,
You meant to say “which would be correct”.
given the instruction operand size, but it is not a particular stretch
to realize the value is being displayed as a sequence of bytes in
address order.
I know you really like to play Devil’s Advocate, but please take a short trip back to reality here. This is a bug, and there is no argument you can make that will excuse it. If you’re going to display 4 bytes as a dword on a little-endian system, then you are required by law and international treaty to display them as a dword, and that means 80000003.
No “person skilled in the art” would ever expect the result you are positing.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
WINDBG is sponsored by OSR
OSR is hiring!! Info at http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer