summaryrefslogtreecommitdiff
path: root/python/debuginfo.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-05-31 18:31:09 -0400
committerGlenn Smith <glenn@vector35.com>2024-06-04 00:29:49 -0400
commit4152126289652104982292308858511197568097 (patch)
tree1f1def136b994e7746b6fe650963d151da209cf8 /python/debuginfo.py
parent6520026964065327558472841838510176646568 (diff)
Add CorePlatform to python api for proper subclassing
Diffstat (limited to 'python/debuginfo.py')
-rw-r--r--python/debuginfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/debuginfo.py b/python/debuginfo.py
index 806e61a8..f3172ae2 100644
--- a/python/debuginfo.py
+++ b/python/debuginfo.py
@@ -351,7 +351,7 @@ class DebugInfo(object):
function_type = None
if function.platform:
- func_platform = _platform.Platform(handle=core.BNNewPlatformReference(function.platform))
+ func_platform = _platform.CorePlatform._from_cache(handle=core.BNNewPlatformReference(function.platform))
else:
func_platform = None