From d37f7abfe4c1b23426b0fbdc85ae31788602ff28 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 24 Jun 2021 09:19:08 -0400 Subject: Don't inherit from object anymore --- python/highlevelil.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'python/highlevelil.py') 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. -- cgit v1.3.1