All operands in the expression tree in prefix order
(self)
| 832 | |
| 833 | @property |
| 834 | def prefix_operands(self) -> List[LowLevelILOperandType]: |
| 835 | """All operands in the expression tree in prefix order""" |
| 836 | result: List[LowLevelILOperandType] = [LowLevelILOperationAndSize(self.instr.operation, self.instr.size)] |
| 837 | for operand in self.operands: |
| 838 | if isinstance(operand, LowLevelILInstruction): |
| 839 | assert id(self) != id(operand), f"circular reference {operand}({repr(operand)}) is {self}({repr(self)})" |
| 840 | result.extend(operand.prefix_operands) |
| 841 | else: |
| 842 | result.append(operand) |
| 843 | return result |
| 844 | |
| 845 | @property |
| 846 | def postfix_operands(self) -> List[LowLevelILOperandType]: |
nothing calls this directly
no test coverage detected