diff options
Diffstat (limited to 'python')
| -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 |
