diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2024-05-07 06:22:32 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2024-05-07 06:22:39 -0400 |
| commit | d051a46dde98c1d9c86c4c5865a672ae2a221243 (patch) | |
| tree | 0671f8022b85741e5e2d70e948494f42fba80e91 /python/mediumlevelil.py | |
| parent | 26b0d8544a4db5915e1843ad705d3b64222d2f17 (diff) | |
fix def_sites and use_sites
Diffstat (limited to 'python/mediumlevelil.py')
| -rw-r--r-- | python/mediumlevelil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 291da4b9..6971e120 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -91,14 +91,14 @@ class SSAVariable: """ Gets the MediumLevelILInstruction where this SSAVariable is defined. """ - return self.var.function.get_ssa_var_definition(self) + return self.function.mlil.get_ssa_var_definition(self) @property def use_sites(self) -> List['MediumLevelILInstruction']: """ Gets the list of MediumLevelILInstructions where this SSAVariable is used inside of this function. """ - return self.var.function.get_ssa_var_uses(self) + return self.function.mlil.get_ssa_var_uses(self) class MediumLevelILLabel: |
