From fba5ef5a7cb2c0f76cf2531adddda9d3023c2357 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Mon, 17 Oct 2022 00:07:54 -0400 Subject: fix Platform.os_list --- python/platform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/platform.py') diff --git a/python/platform.py b/python/platform.py index 71410d84..4351fe94 100644 --- a/python/platform.py +++ b/python/platform.py @@ -117,9 +117,9 @@ class Platform(metaclass=_PlatformMetaClass): self._name = core.BNGetPlatformName(self.handle) return self._name - @property @classmethod - def os_list(cls) -> List[str]: + @property + def os_list(self) -> List[str]: binaryninja._init_plugins() count = ctypes.c_ulonglong() platforms = core.BNGetPlatformOSList(count) -- cgit v1.3.1