diff options
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 8a439ce2..3c33ccfe 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -7941,6 +7941,14 @@ class BinaryView: :param bool force: enable rebasing while the UI is active :return: the new :py:class:`BinaryView` object or ``None`` on failure :rtype: :py:class:`BinaryView` or ``None`` + :Example: + >>> from binaryninja import load + >>> bv = load('/bin/ls') + >>> print(bv) + <BinaryView: '/bin/ls', start 0x100000000, len 0x182f8> + >>> newbv = bv.rebase(0x400000) + >>> print(newbv) + <BinaryView: '/bin/ls', start 0x400000, len 0x182f8> """ result = False if core.BNIsUIEnabled() and not force: |
