List of variables read by instruction
(self)
| 738 | |
| 739 | @property |
| 740 | def vars_read(self) -> List[Union[variable.Variable, SSAVariable]]: |
| 741 | """List of variables read by instruction""" |
| 742 | result = [] |
| 743 | for operand in self.operands: |
| 744 | if isinstance(operand, (variable.Variable, SSAVariable)): |
| 745 | result.append(operand) |
| 746 | elif isinstance(operand, MediumLevelILInstruction): |
| 747 | result += operand.vars_read |
| 748 | return result |
| 749 | |
| 750 | @property |
| 751 | def vars_address_taken(self) -> List[Union[variable.Variable, SSAVariable]]: |