From c7e2482967cf0cdf25ed114fab6d4f7948caea8f Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 4 Oct 2021 16:32:40 -0400 Subject: Fix display name of custom Platform objects --- python/platform.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python') 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: -- cgit v1.3.1