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/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index 3f667b5f..5b447584 100644 --- a/python/function.py +++ b/python/function.py @@ -503,7 +503,7 @@ class Function: plat = core.BNGetFunctionPlatform(self.handle) if plat is None: return None - self._platform = _platform.Platform(handle=plat) + self._platform = _platform.CorePlatform._from_cache(handle=plat) return self._platform @property -- cgit v1.3.1