diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-09-24 10:31:26 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-24 10:31:26 -0400 |
| commit | 258a0d27e16c5d94ce547003ac863102e845f3b3 (patch) | |
| tree | 3ce74843ee13512d2a95ef8e3cefcaf573d8c390 /python | |
| parent | 5a288649e8fcb999c11cca17ad0c1956f3ef8e11 (diff) | |
Make repr for llil and mlil have different titles
Diffstat (limited to 'python')
| -rw-r--r-- | python/lowlevelil.py | 2 | ||||
| -rw-r--r-- | python/mediumlevelil.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py index 2bf290e0..b5c25188 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -467,7 +467,7 @@ class LowLevelILInstruction: return result def __repr__(self): - return "<il: %s>" % str(self) + return "<llil: {self}>" def __eq__(self, other:'LowLevelILInstruction') -> bool: if not isinstance(other, LowLevelILInstruction): diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index d890a860..2c8f6291 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -271,7 +271,7 @@ class MediumLevelILInstruction: return result def __repr__(self): - return f"<il: {self}>" + return f"<mlil: {self}>" def __eq__(self, other:'MediumLevelILInstruction') -> bool: if not isinstance(other, MediumLevelILInstruction): |
