diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2020-09-23 15:26:15 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2020-09-23 15:26:15 -0400 |
| commit | 251982483e5ac70e05b3ade60e4f312061b6e3de (patch) | |
| tree | bd02c5b8caac1af114824f785cd28ed448685482 /python/binaryview.py | |
| parent | 0eb7e152c9d7bf34fe0b597d926cdecc68ae32dc (diff) | |
small documentation updates
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 49c7c788..a9c8e186 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -742,7 +742,7 @@ class BinaryViewType(with_metaclass(_BinaryViewTypeMetaclass, object)): ``open`` opens an instance of a particular BinaryViewType and returns it, or None if not possible. :param str src: path to filename or bndb to open - :param FileMetaData file_metadata: Optional parameter for a :py:class:`FileMetaData` object + :param FileMetadata file_metadata: Optional parameter for a :py:class:`FileMetadata` object :return: returns a :py:class:`BinaryView` object for the given filename :rtype: :py:class:`BinaryView` or ``None`` """ @@ -803,8 +803,8 @@ class BinaryViewType(with_metaclass(_BinaryViewTypeMetaclass, object)): initialize and returns ``None``. .. note:: Calling this method without providing options is not necessarily equivalent to simply calling :func:`get_view_of_file`. This is because \ - :py:class:`BinaryViewType`s are 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 \ + 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. :param str filename: path to filename or bndb to open |
