diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-06-24 09:19:08 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-05 10:08:09 -0400 |
| commit | d37f7abfe4c1b23426b0fbdc85ae31788602ff28 (patch) | |
| tree | ff106d8d52afc7cb4d85a1378a41e5c72a288c7d /python/highlevelil.py | |
| parent | e0389d244e6211126267e060a9c61a1e75481b76 (diff) | |
Don't inherit from object anymore
Diffstat (limited to 'python/highlevelil.py')
| -rw-r--r-- | python/highlevelil.py | 10 |
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. |
