mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 21:03:23 +08:00
[~] Improve stlport map dumping script.
git-svn-id: https://pykd.svn.codeplex.com/svn@63353 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
f1c93d54f6
commit
36db1b8769
@ -15,7 +15,9 @@ class StlpNodeWrapper:
|
||||
def __init__(self, addr):
|
||||
# Wrapper specific field
|
||||
self.addr = addr
|
||||
self.color = ptrDWord(addr)
|
||||
# Wrapper specific field
|
||||
self.sizeOf = 4 * ptrSize()
|
||||
self.color = ptrByte(addr)
|
||||
# By default, fields in structure aligned by 4 Bytes on x86 and by 8 Bytes on x64
|
||||
addr += ptrSize()
|
||||
self.parent = ptrPtr(addr)
|
||||
@ -23,8 +25,6 @@ class StlpNodeWrapper:
|
||||
self.left = ptrPtr(addr)
|
||||
addr += ptrSize()
|
||||
self.right = ptrPtr(addr)
|
||||
# Wrapper specific field
|
||||
self.sizeOf = addr + ptrSize() - self.addr
|
||||
|
||||
|
||||
class StlpMapWrapper:
|
||||
|
Loading…
Reference in New Issue
Block a user