summaryrefslogtreecommitdiff
path: root/python/mediumlevelil.py
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2021-11-01 23:37:09 -0400
committerKyleMiles <krm504@nyu.edu>2021-11-11 16:16:40 -0500
commitf80fe07a3534cf2869d616aef12681bd83a00b0e (patch)
tree68dab106570089a8cca985ea7b45395c630bc0f8 /python/mediumlevelil.py
parentcf762601b42ae4365d271c3825d59720718047a2 (diff)
Resolves #2681; Return the SSAFunction's version of .ssa_vars from the non-SSA forms (pass the call from *LevelILFunction to *LevelILSSAFunction)
Diffstat (limited to 'python/mediumlevelil.py')
-rw-r--r--python/mediumlevelil.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py
index 0474fcea..becc22da 100644
--- a/python/mediumlevelil.py
+++ b/python/mediumlevelil.py
@@ -3082,6 +3082,8 @@ class MediumLevelILFunction:
return result
finally:
core.BNFreeVariableList(core_variables)
+ elif self.il_form in [FunctionGraphType.MediumLevelILFunctionGraph, FunctionGraphType.MappedMediumLevelILFunctionGraph]:
+ return self.ssa_form.ssa_vars
return []