From a8b33ddb2e217ec727e8a943d813bda01139a49b Mon Sep 17 00:00:00 2001 From: "SND\\ussrhero_cp" <SND\ussrhero_cp@9b283d60-5439-405e-af05-b73fd8c4d996> Date: Sun, 8 Jan 2017 23:08:57 +0000 Subject: [PATCH] [0.3.x] hotfix for previous commit git-svn-id: https://pykd.svn.codeplex.com/svn@91111 9b283d60-5439-405e-af05-b73fd8c4d996 --- samples/um/stdstring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/um/stdstring.py b/samples/um/stdstring.py index f2f4480..068192a 100644 --- a/samples/um/stdstring.py +++ b/samples/um/stdstring.py @@ -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 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.append("size", size_t)