mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 12:53:23 +08:00
[~] fixes for new type model
git-svn-id: https://pykd.svn.codeplex.com/svn@66735 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
6965f1bcee
commit
d4dc9a02e5
@ -80,8 +80,9 @@ def getObjectNameInfoFromInfoMask(p):
|
||||
# Select platform-specific function for getting name of object
|
||||
getObjectNameInfo = None
|
||||
try:
|
||||
typeInfo("nt", "_OBJECT_HEADER").NameInfoOffset
|
||||
getObjectNameInfo = getObjectNameInfoFromHeader
|
||||
except AttributeError:
|
||||
except TypeException:
|
||||
getObjectNameInfo = getObjectNameInfoFromInfoMask
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user