diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2024-01-24 18:25:37 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2024-01-24 18:25:37 -0500 |
| commit | 31bd9f2ca5922b9bd9e87669d7c0ece734d7bca8 (patch) | |
| tree | 2ad320c8b41a7698c7111ccf041e3644f7ba8295 /python | |
| parent | 2d45ae4ea90d0792627927def462ed7c2350bb89 (diff) | |
fix typo on data refs API documentation
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 5b78fca9..7cad071b 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -4427,7 +4427,7 @@ class BinaryView: .. note:: Note that `get_code_refs` returns xrefs to code that references the address being queried. \ `get_data_refs` on the other hand returns references that exist in data (pointers in global variables for example). \ - The related :py:func:`get_refs_from` looks for references that are outgoing from the queried address to other locations. + The related :py:func:`get_code_refs_from` looks for references that are outgoing from the queried address to other locations. :param int addr: virtual address to query for references :param int length: optional length of query @@ -4502,7 +4502,7 @@ class BinaryView: .. warning:: If you're looking at this API, please double check that you don't mean to use :py:func:`get_code_refs` instead. \ `get_code_refs` returns references from code to the specified address while this API returns references from data \ - (pointers in global variables for example). + (pointers in global variables for example). Also, note there exists :py:func:`get_data_refs_from`. :param int addr: virtual address to query for references :param int length: optional length of query @@ -4533,7 +4533,7 @@ class BinaryView: ``get_data_refs_from`` returns a list of virtual addresses referenced by the address ``addr``. Optionally specifying a length. When ``length`` is set ``get_data_refs_from`` returns the data referenced in the range ``addr``-``addr``+``length``. This function returns both autoanalysis ("auto") and user-specified ("user") xrefs. To add a user-specified - reference, see :py:func:`add_user_data_ref`. + reference, see :py:func:`add_user_data_ref`. Also, note there exists :py:func:`get_data_refs`. :param int addr: virtual address to query for references :param int length: optional length of query |
