summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/architecture.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/architecture.py b/python/architecture.py
index 145abe3b..0b46c8ff 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -483,6 +483,9 @@ class Architecture(metaclass=_ArchitectureMetaClass):
def __hash__(self):
return hash(ctypes.addressof(self.handle.contents))
+ def __str__(self):
+ return self.name
+
@classmethod
def register(cls) -> None:
binaryninja._init_plugins()