summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 60359a20..976ebc79 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -79,8 +79,8 @@ class HighLevelILOperationAndSize:
def __repr__(self):
if self.size == 0:
- return f"<{self.operation.name}>"
- return f"<{self.operation.name} {self.size}>"
+ return f"<HighLevelILOperationAndSize: {self.operation.name}>"
+ return f"<HighLevelILOperationAndSize: {self.operation.name} {self.size}>"
@dataclass
@@ -89,7 +89,7 @@ class GotoLabel:
id: int
def __repr__(self):
- return f"<label: {self.name}>"
+ return f"<GotoLabel: {self.name}>"
def __str__(self):
return self.name
@@ -351,7 +351,7 @@ class HighLevelILInstruction(BaseILInstruction):
first_line += token.text
if len(list(lines)) > 1:
continuation = "..."
- return f"<{self.operation.name}: {first_line}{continuation}>"
+ return f"<{self.__class__.__name__}: {first_line}{continuation}>"
def __eq__(self, other: 'HighLevelILInstruction'):
if not isinstance(other, HighLevelILInstruction):