diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2022-10-17 00:07:54 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2022-10-17 00:07:54 -0400 |
| commit | fba5ef5a7cb2c0f76cf2531adddda9d3023c2357 (patch) | |
| tree | 2db941a53fdfbe316bfc59c5db12792c2f6933ae | |
| parent | c25d206f065b9017318a1bac1770981cf6786e1f (diff) | |
fix Platform.os_list
| -rw-r--r-- | python/platform.py | 4 |
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) |
