summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/scriptingprovider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/scriptingprovider.py b/python/scriptingprovider.py
index 4b76939f..3c673542 100644
--- a/python/scriptingprovider.py
+++ b/python/scriptingprovider.py
@@ -1823,7 +1823,7 @@ def _get_current_il_function(instance: PythonScriptingInstance):
return instance.interpreter.locals["current_mlil"]
elif ilType.view_type == FunctionGraphType.MediumLevelILSSAFormFunctionGraph:
return instance.interpreter.locals["current_mlil_ssa"]
- elif ilType.view_type == FunctionGraphType.HighLevelILFunctionGraph:
+ elif ilType.view_type == FunctionGraphType.HighLevelILFunctionGraph or ilType.view_type == FunctionGraphType.HighLevelLanguageRepresentationFunctionGraph:
return instance.interpreter.locals["current_hlil"]
elif ilType.view_type == FunctionGraphType.HighLevelILSSAFormFunctionGraph:
return instance.interpreter.locals["current_hlil_ssa"]