diff options
| author | Josh F <josh@vector35.com> | 2022-04-11 19:20:36 -0400 |
|---|---|---|
| committer | Josh F <josh@vector35.com> | 2022-04-11 19:20:36 -0400 |
| commit | e4b11845766e2a35c61315ff746875cca3e2c410 (patch) | |
| tree | c309d524bcf20dda650946d86a53b5576cf080ad /python/scriptingprovider.py | |
| parent | 1f6b9d5b2ca5a4695d50835f65fc04f9db2e16f9 (diff) | |
Prevent hang when tab completing in large function/binary
Diffstat (limited to 'python/scriptingprovider.py')
| -rw-r--r-- | python/scriptingprovider.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/scriptingprovider.py b/python/scriptingprovider.py index 67781451..1aab55cb 100644 --- a/python/scriptingprovider.py +++ b/python/scriptingprovider.py @@ -739,9 +739,9 @@ from binaryninja import * self.locals["current_mlil"] = None self.locals["current_hlil"] = None else: - self.locals["current_llil"] = self.active_func.llil - self.locals["current_mlil"] = self.active_func.mlil - self.locals["current_hlil"] = self.active_func.hlil + self.locals["current_llil"] = self.active_func.llil_if_available + self.locals["current_mlil"] = self.active_func.mlil_if_available + self.locals["current_hlil"] = self.active_func.hlil_if_available self.locals.blacklist_enabled = True def get_selected_data(self): |
