summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
authorRyan <ryan@vector35.com>2018-07-27 20:24:10 -0400
committerRyan <ryan@vector35.com>2018-07-27 20:37:18 -0400
commitb8f49d5fecc354ad25533efad8660f4c07b9879b (patch)
tree0f430cc33b60ee5676053dd3dc7a03dd7c901841 /python/binaryview.py
parent1f986c2698ff9df6d42429b1b7699842223634e5 (diff)
Expose the ability to suppress analysis of auto-discovered functions
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 25953b34..35ef6a40 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -1098,6 +1098,15 @@ class BinaryView(object):
def max_function_size_for_analysis(self, size):
core.BNSetMaxFunctionSizeForAnalysis(self.handle, size)
+ @property
+ def new_auto_function_analysis_suppressed(self):
+ """Whether or not automatically discovered functions will be analyzed"""
+ return core.BNGetNewAutoFunctionAnalysisSuppressed(self.handle)
+
+ @new_auto_function_analysis_suppressed.setter
+ def new_auto_function_analysis_suppressed(self, suppress):
+ core.BNSetNewAutoFunctionAnalysisSuppressed(self.handle, suppress)
+
def __len__(self):
return int(core.BNGetViewLength(self.handle))