summaryrefslogtreecommitdiff
path: root/python/platform.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-10-04 16:32:40 -0400
committerPeter LaFosse <peter@vector35.com>2021-10-04 16:32:40 -0400
commitc7e2482967cf0cdf25ed114fab6d4f7948caea8f (patch)
tree8765c1cd5e9a49593b3939299a1774369d7b2697 /python/platform.py
parentc74767234278164eb0c3ff3c7a8fc8116a5898b7 (diff)
Fix display name of custom Platform objects
Diffstat (limited to 'python/platform.py')
-rw-r--r--python/platform.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/platform.py b/python/platform.py
index 2328fb17..97d36c8d 100644
--- a/python/platform.py
+++ b/python/platform.py
@@ -82,6 +82,7 @@ class Platform(metaclass=_PlatformMetaClass):
assert _arch is not None
self.handle = _handle
self._arch = _arch
+ self.name = core.BNGetPlatformName(self.handle)
def __del__(self):
if core is not None: