summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-06-24 09:19:08 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-05 10:08:09 -0400
commitd37f7abfe4c1b23426b0fbdc85ae31788602ff28 (patch)
treeff106d8d52afc7cb4d85a1378a41e5c72a288c7d /python/highlevelil.py
parente0389d244e6211126267e060a9c61a1e75481b76 (diff)
Don't inherit from object anymore
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 26ad5045..2c4263d5 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -43,7 +43,7 @@ InstructionIndex = NewType('InstructionIndex', int)
HLILInstructionsType = Generator['HighLevelILInstruction', None, None]
HLILBasicBlocksType = Generator['HighLevelILBasicBlock', None, None]
-class HighLevelILOperationAndSize(object):
+class HighLevelILOperationAndSize:
def __init__(self, operation, size):
self._operation = operation
self._size = size
@@ -85,7 +85,7 @@ class HighLevelILOperationAndSize(object):
self._size = value
-class GotoLabel(object):
+class GotoLabel:
def __init__(self, function, id):
self._function = function
self._id = id
@@ -117,7 +117,7 @@ class GotoLabel(object):
return self._function.get_label_uses(self._id)
-class HighLevelILInstruction(object):
+class HighLevelILInstruction:
"""
``class HighLevelILInstruction`` High Level Intermediate Language Instructions form an abstract syntax tree of
the code. Control flow structures are present as high level constructs in the HLIL tree.
@@ -628,7 +628,7 @@ class HighLevelILInstruction(object):
return core.BNGetHighLevelILSSAVarVersionAtILInstruction(self._function.handle, var_data, self._instr_index)
-class HighLevelILExpr(object):
+class HighLevelILExpr:
"""
``class HighLevelILExpr`` hold the index of IL Expressions.
@@ -644,7 +644,7 @@ class HighLevelILExpr(object):
-class HighLevelILFunction(object):
+class HighLevelILFunction:
"""
``class HighLevelILFunction`` contains the a HighLevelILInstruction object that makes up the abstract syntax tree of
a function.