mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[0.3.x] hotfix for previous commit
git-svn-id: https://pykd.svn.codeplex.com/svn@91111 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
876ed6e76c
commit
a8b33ddb2e
@ -7,7 +7,7 @@ fullStringClassName = "std::" + stringClassName
|
|||||||
|
|
||||||
# get a malloc function. May be we have not its prototype in pdb file, so we need to define prototype manually
|
# get a malloc function. May be we have not its prototype in pdb file, so we need to define prototype manually
|
||||||
PVoid = pykd.typeInfo("Void*")
|
PVoid = pykd.typeInfo("Void*")
|
||||||
size_t = pykd.typeInfo("Int8B") if pykd.getCPUMode == pykd.CPUType.AMD64 else pykd.typeInfo("Int4B")
|
size_t = pykd.typeInfo("Int8B") if pykd.getCPUMode() == pykd.CPUType.AMD64 else pykd.typeInfo("Int4B")
|
||||||
mallocProto = pykd.defineFunction( PVoid, pykd.callingConvention.NearC )
|
mallocProto = pykd.defineFunction( PVoid, pykd.callingConvention.NearC )
|
||||||
mallocProto.append("size", size_t)
|
mallocProto.append("size", size_t)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user