diff options
| author | Brian Potchik <brian@vector35.com> | 2017-08-10 14:43:55 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2017-08-10 14:43:55 -0400 |
| commit | c2c0d3fbbe6341a82b088f15c8732c10ff2a8ca5 (patch) | |
| tree | 30fa513ff50a8a26d142c817ee34ace10582d088 /python | |
| parent | 6359c62c247dfc85c76f58be9070f278ee162422 (diff) | |
Fix get_ssa_var_possible_values API call to core.
Diffstat (limited to 'python')
| -rw-r--r-- | python/mediumlevelil.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 8647fb35..feca0937 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -426,7 +426,8 @@ class MediumLevelILInstruction(object): var_data.index = ssa_var.var.index var_data.storage = ssa_var.var.storage value = core.BNGetMediumLevelILPossibleSSAVarValues(self.function.handle, var_data, ssa_var.version, self.instr_index) - result = function.RegisterValue(self.function.arch, value) + result = function.PossibleValueSet(self.function.arch, value) + core.BNFreePossibleValueSet(value) return result def get_ssa_var_version(self, var): |
