summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2018-08-28 17:19:32 -0400
committerRusty Wagner <rusty@vector35.com>2018-08-28 17:19:32 -0400
commit20e06506a3d96c7327ca5d729ab01e8c2a7cff3c (patch)
tree65880063ccbdcb45cc247a0138915d8560d2ec27 /python/binaryview.py
parent5841af2db8e8dcf4e0da0c438ac040c5fa90038b (diff)
parent426bb3d8b47b93658bf969c429a8b98adae13c30 (diff)
Merge branch 'dev' into test_stack_adjust
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py11
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):
"""