summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index f6c05b81..4c63be77 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -5602,6 +5602,16 @@ class BinaryView(object):
core.BNAddAutoSegment(self.handle, start, length, data_offset, data_length, flags)
def remove_auto_segment(self, start, length):
+ """
+ ``remove_auto_segment`` removes an automatically generated segment from the current segment mapping.
+
+ :param int start: virtual address of the start of the segment
+ :param int length: length of the segment
+ :rtype: None
+
+ .. warning:: This action is not persistent across saving of a BNDB and must be re-applied each time a BNDB is loaded.
+
+ """
core.BNRemoveAutoSegment(self.handle, start, length)
def add_user_segment(self, start, length, data_offset, data_length, flags):