diff options
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index d84ed0aa..5786a5c8 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -1099,6 +1099,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)) @@ -1739,7 +1748,7 @@ class BinaryView(object): self.file.redo() def navigate(self, view, offset): - self.file.navigate(view, offset) + return self.file.navigate(view, offset) def read(self, addr, length): """ |
