From 4152126289652104982292308858511197568097 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Fri, 31 May 2024 18:31:09 -0400 Subject: Add CorePlatform to python api for proper subclassing --- python/debuginfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/debuginfo.py') 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 -- cgit v1.3.1