mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 21:03:23 +08:00
[0.2.x] added: wow64 stack for stkwalk
git-svn-id: https://pykd.svn.codeplex.com/svn@81923 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
d143a0633b
commit
9b4260f5f3
@ -32,6 +32,7 @@ def applayThreadFilter(thread,moduleFilter,funcFilter,printopt):
|
||||
return True
|
||||
|
||||
except BaseException:
|
||||
print "applayThreadFilter except"
|
||||
pass
|
||||
|
||||
return False
|
||||
@ -48,9 +49,17 @@ def printThread(process,thread,printopt):
|
||||
for frame in stk:
|
||||
dprintln( findSymbol( frame.instructionOffset ) )
|
||||
|
||||
if is64bitSystem():
|
||||
stk = getStackWow64()
|
||||
for frame in stk:
|
||||
dprintln( findSymbol( frame.instructionOffset ) )
|
||||
|
||||
dprintln("")
|
||||
|
||||
except BaseException:
|
||||
|
||||
print "except"
|
||||
|
||||
if not printopt.ignoreNotActiveThread:
|
||||
dprintln( "Thread %x, Process: %s" % ( thread, loadCStr( process.ImageFileName ) ) )
|
||||
dprintln( "Failed to switch into thread context\n")
|
||||
|
Loading…
Reference in New Issue
Block a user