MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / prefix_operands

Method prefix_operands

python/lowlevelil.py:834–843  ·  view source on GitHub ↗

All operands in the expression tree in prefix order

(self)

Source from the content-addressed store, hash-verified

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]:

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45

Tested by

no test coverage detected