summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2022-10-17 00:07:54 -0400
committerJordan Wiens <jordan@psifertex.com>2022-10-17 00:07:54 -0400
commitfba5ef5a7cb2c0f76cf2531adddda9d3023c2357 (patch)
tree2db941a53fdfbe316bfc59c5db12792c2f6933ae /python
parentc25d206f065b9017318a1bac1770981cf6786e1f (diff)
fix Platform.os_list
Diffstat (limited to 'python')
-rw-r--r--python/platform.py4
1 files changed, 2 insertions, 2 deletions
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)