diff options
| author | Brian Potchik <brian@vector35.com> | 2022-04-30 09:24:36 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2022-04-30 09:24:36 -0400 |
| commit | 6cd0cdec5042f57fe28937c28852aa27c0d2aaf6 (patch) | |
| tree | 0a934630d0e932c12c7b268ff87e7e8e4d883ce8 /python/function.py | |
| parent | 617934323edd3dbeb249abbbb85cc85ec3342732 (diff) | |
Add debug report alias.
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/python/function.py b/python/function.py index 9f63b650..40b9901d 100644 --- a/python/function.py +++ b/python/function.py @@ -3010,6 +3010,15 @@ class Function: :param str name: Name of the debug report :rtype: None """ + debug_report_alias = { + "stack" : "stack_adjust_graph", + "mlil" : "mlil_translator", + "hlil" : "high_level_il" + } + + if name in debug_report_alias: + name = debug_report_alias[name] + core.BNRequestFunctionDebugReport(self.handle, name) self.view.update_analysis() |
