diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2021-02-18 20:00:45 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2021-02-18 20:00:45 -0500 |
| commit | 2f28cc9cfd18f6a0746a9c3f551320931167d340 (patch) | |
| tree | 94a5afb55b2b1ff6629d9cf489e5432f21b5e310 /python | |
| parent | 98cd461ccb286609e248aa5260cfaeb5e81d7387 (diff) | |
add warning to remove_auto_segment
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 10 |
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): |
