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

Method postfix_operands

python/lowlevelil.py:846–856  ·  view source on GitHub ↗

All operands in the expression tree in postfix order

(self)

Source from the content-addressed store, hash-verified

844
845 @property
846 def postfix_operands(self) -> List[LowLevelILOperandType]:
847 """All operands in the expression tree in postfix order"""
848 result: List[LowLevelILOperandType] = []
849 for operand in self.operands:
850 if isinstance(operand, LowLevelILInstruction):
851 assert id(self) != id(operand), f"circular reference {operand}({repr(operand)}) is {self}({repr(self)})"
852 result.extend(operand.postfix_operands)
853 else:
854 result.append(operand)
855 result.append(LowLevelILOperationAndSize(self.instr.operation, self.instr.size))
856 return result
857
858 @property
859 def attributes(self) -> Set[ILInstructionAttribute]:

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45

Tested by

no test coverage detected