summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-08-30 16:36:23 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-06 11:46:43 -0400
commitf163999c5760c1b2cf5095614cc5622cac360fcf (patch)
tree09b8d7ab723944adaa58f70059a075b0b57bb1c0 /python
parent76ab7681ded8dbe634e0a7a46135bcf63a238cf3 (diff)
Dont' expand operands to maintain backward compatibility
Diffstat (limited to 'python')
-rw-r--r--python/highlevelil.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index f19e6d77..89bd094a 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -959,7 +959,7 @@ class HighLevelILSwitch(ControlFlow, HighLevelILInstruction):
@property
def operands(self) -> List[HighLevelILOperandType]:
- return [self.condition, self.default, *self.cases]
+ return [self.condition, self.default, self.cases]
@dataclass(frozen=True, repr=False)
@@ -979,7 +979,7 @@ class HighLevelILCase(HighLevelILInstruction):
@property
def operands(self) -> List[HighLevelILOperandType]:
- return [*self.values, self.body]
+ return [self.values, self.body]
@dataclass(frozen=True, repr=False)
@@ -1177,7 +1177,7 @@ class HighLevelILAssign_unpack(HighLevelILInstruction):
@property
def operands(self) -> List[HighLevelILOperandType]:
- return [*self.dest, self.src]
+ return [self.dest, self.src]
@dataclass(frozen=True, repr=False)
@@ -1233,7 +1233,7 @@ class HighLevelILAssign_unpack_mem_ssa(SSA, Memory, HighLevelILInstruction):
@property
def operands(self) -> List[HighLevelILOperandType]:
- return [*self.dest, self.dest_memory, self.src, self.src_memory]
+ return [self.dest, self.dest_memory, self.src, self.src_memory]
@dataclass(frozen=True, repr=False)
@@ -1751,7 +1751,7 @@ class HighLevelILCall(Call, HighLevelILInstruction):
@property
def operands(self) -> List[HighLevelILOperandType]:
- return [self.dest, *self.params]
+ return [self.dest, self.params]
@dataclass(frozen=True, repr=False)
@@ -1783,7 +1783,7 @@ class HighLevelILCall_ssa(Call, SSA, HighLevelILInstruction):
@property
def operands(self) -> List[HighLevelILOperandType]:
- return [self.dest, *self.params, self.dest_memory, self.src_memory]
+ return [self.dest, self.params, self.dest_memory, self.src_memory]
@dataclass(frozen=True, repr=False)
@@ -1896,7 +1896,7 @@ class HighLevelILSyscall_ssa(Syscall, SSA, HighLevelILInstruction):
@property
def operands(self) -> List[HighLevelILOperandType]:
- return [*self.params, self.dest_memory, self.src_memory]
+ return [self.params, self.dest_memory, self.src_memory]
@dataclass(frozen=True, repr=False)
@@ -1920,7 +1920,7 @@ class HighLevelILTailcall(Tailcall, HighLevelILInstruction):
@property
def operands(self) -> List[HighLevelILOperandType]:
- return [self.dest, *self.params]
+ return [self.dest, self.params]
@@ -1962,7 +1962,7 @@ class HighLevelILIntrinsic(HighLevelILInstruction):
@property
def operands(self) -> List[HighLevelILOperandType]:
- return [self.intrinsic, *self.params]
+ return [self.intrinsic, self.params]
@dataclass(frozen=True, repr=False)
@@ -1994,7 +1994,7 @@ class HighLevelILIntrinsic_ssa(SSA, HighLevelILInstruction):
@property
def operands(self) -> List[HighLevelILOperandType]:
- return [self.intrinsic, *self.params, self.dest_memory, self.src_memory]
+ return [self.intrinsic, self.params, self.dest_memory, self.src_memory]
@dataclass(frozen=True, repr=False)