From 2f28cc9cfd18f6a0746a9c3f551320931167d340 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Thu, 18 Feb 2021 20:00:45 -0500 Subject: add warning to remove_auto_segment --- python/binaryview.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'python/binaryview.py') 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): -- cgit v1.3.1