summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2018-08-17 22:11:20 -0400
committerRusty Wagner <rusty@vector35.com>2018-08-17 22:11:20 -0400
commit8e320c4be695cd47ae93673320d525ce513cec90 (patch)
treec04f8c9c3a05016fd5bce94496c1a9fe72fd137e /python
parent1df50c8093bf3b949055d2670836fa1bb742fc1b (diff)
Fix report collection reference count bug and add debug report support
Diffstat (limited to 'python')
-rw-r--r--python/function.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/function.py b/python/function.py
index 64aea87f..295eec7e 100644
--- a/python/function.py
+++ b/python/function.py
@@ -1591,6 +1591,10 @@ class Function(object):
arch = self.arch
return core.BNIsCallInstruction(self.handle, arch.handle, addr)
+ def request_debug_report(self, name):
+ core.BNRequestFunctionDebugReport(self.handle, name)
+ self.view.update_analysis()
+
class AdvancedFunctionAnalysisDataRequestor(object):
def __init__(self, func = None):