summaryrefslogtreecommitdiff
path: root/python/mediumlevelil.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2023-06-29 11:15:37 -0400
committerPeter LaFosse <peter@vector35.com>2023-06-29 11:54:03 -0400
commitd7ce6518974f5df461c5423c5cf89054e7bc2cea (patch)
tree41503af4c1b8a6e3f0903c6e34f49a39f77547ff /python/mediumlevelil.py
parentcc1f563988449d813705c32124413904799ac532 (diff)
Implement __repr__ for all basic blocks in the base class
Diffstat (limited to 'python/mediumlevelil.py')
-rw-r--r--python/mediumlevelil.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py
index 66bf079e..df5ae4a0 100644
--- a/python/mediumlevelil.py
+++ b/python/mediumlevelil.py
@@ -3679,13 +3679,6 @@ class MediumLevelILBasicBlock(basicblock.BasicBlock):
super(MediumLevelILBasicBlock, self).__init__(handle, view)
self._il_function = owner
- def __repr__(self):
- arch = self.arch
- if arch:
- return f"<mlil block: {arch.name}@{self.start}-{self.end}>"
- else:
- return f"<mlil block: {self.start}-{self.end}>"
-
def __iter__(self):
for idx in range(self.start, self.end):
yield self._il_function[idx]