Quantcast
Channel: Python extension for WinDbg
Viewing all articles
Browse latest Browse all 1625

Created Unassigned: [0.3.x] wrong stack printing for x86 app at x64 platform [13269]

$
0
0
WinDBG output
ChildEBP RetAddr
006bf9f4 0082f99b MyApp!myFunc+0x1e
006bfb6c 00830749 MyApp!wmain+0x4b
006bfbbc 0083093d MyApp!__tmainCRTStartup+0x199
006bfbc4 7671919f targetapp!wmainCRTStartup+0xd
006bfbd0 77120bbb KERNEL32!BaseThreadInitThunk+0xe
006bfc14 77120b91 ntdll_770d0000!RtlInitializeExceptionChain+0x84
006bfc24 00000000 ntdll_770d0000!RtlInitializeExceptionChain+0x5a

pykd output:

```
for frame in getStack():
print frame.frameOffset, frame.returnOffset, pykd.findSymbol(frame.instructionOffset, True)
```
7076324 18446744072850558156 ntdll_770d0000!NtQueryInformationProcess+c
7076340 8583579 ffffffffcccccccc
7076716 8587081 MyApp!wmain+4b
7076796 8587581 MyApp!__tmainCRTStartup+39
7076804 1987154335 MyApp!wmainCRTStartup+d
7076816 1997671355 KERNEL32!BaseThreadInitThunk+e
7076884 1997671313 ntdll_770d0000!RtlInitializeExceptionChain+84
7076900 0 ntdll_770d0000!RtlInitializeExceptionChain+5a

Viewing all articles
Browse latest Browse all 1625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>