diff options
| author | Ryan <ryan@vector35.com> | 2018-07-27 20:24:10 -0400 |
|---|---|---|
| committer | Ryan <ryan@vector35.com> | 2018-07-27 20:37:18 -0400 |
| commit | b8f49d5fecc354ad25533efad8660f4c07b9879b (patch) | |
| tree | 0f430cc33b60ee5676053dd3dc7a03dd7c901841 /python | |
| parent | 1f986c2698ff9df6d42429b1b7699842223634e5 (diff) | |
Expose the ability to suppress analysis of auto-discovered functions
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 9 |
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)) |
