diff options
| author | Brian Potchik <brian@vector35.com> | 2021-02-04 13:04:24 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2021-02-04 13:04:24 -0500 |
| commit | 6ca08f688ab555660ccbfeeb748a2740e58b2ba2 (patch) | |
| tree | 3af2226ec7277f67e945002271f73404d6f24b8d /python/binaryview.py | |
| parent | 38b760d88dcb0c16553fbba4f02f4cb7e9ec2d61 (diff) | |
Update documentation for get_view_of_file_with_options.
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 40a4ebf2..21850a54 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -874,8 +874,8 @@ class BinaryViewType(with_metaclass(_BinaryViewTypeMetaclass, object)): .. note:: Calling this method without providing options is not necessarily equivalent to simply calling :func:`get_view_of_file`. This is because \ a :py:class:`BinaryViewType` is in control of generating load options, this method allows an alternative default way to open a file. For \ - example, opening a relocatable object file with :func:`get_view_of_file` sets 'loader.imageBase' to `0`, whereas opening with \ - :func:`get_view_of_file_with_options` sets **'loader.imageBase'** to ``0x400000`` for 64-bit binaries, or ``0x10000`` for 32-bit binaries, by default. + example, opening a relocatable object file with :func:`get_view_of_file` sets 'loader.imageBase' to `0`, whereas enabling the **'files.pic.autoRebase'** \ + setting and opening with :func:`get_view_of_file_with_options` sets **'loader.imageBase'** to ``0x400000`` for 64-bit binaries, or ``0x10000`` for 32-bit binaries. :param str filename: path to filename or bndb to open :param bool update_analysis: whether or not to run :func:`update_analysis_and_wait` after opening a :py:class:`BinaryView`, defaults to ``True`` |
