You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
``get_strings`` returns a list of strings defined in the binary in the optional virtual address range:
4232
4232
``start-(start+length)``
4233
4233
4234
+
Note that this API will only return strings that have been identified by the string-analysis and thus governed by the minimum and maximum length settings and unrelated to the type system.
4235
+
4234
4236
:param int start: optional virtual address to start the string list from, defaults to start of the binary
4235
4237
:param int length: optional length range to return strings from, defaults to length of the binary
4236
4238
:return: a list of all strings or a list of strings defined between ``start`` and ``start+length``
``get_string_at`` returns the string that falls on given virtual address.
4260
4262
4263
+
.. note:: This returns discovered strings and is therefore governed by `analysis.limits.minStringLength` and other settings. For an alternative API that simply returns any potential c-string at a given location, use :py:BinaryView:`binaryview.get_ascii_string_at`.
4264
+
4261
4265
:param int addr: virtual address to get the string from
4262
4266
:param bool partial: whether to return a partial string reference or not
4263
4267
:return: returns the StringReference at the given virtual address, otherwise None.
``get_ascii_string_at`` returns the string found at ``addr``
4287
+
``get_ascii_string_at`` returns an ascii string found at ``addr``.
4288
+
4289
+
.. note:: This returns an ascii string irrespective of whether the core analysis identified a string at that location. For an alternative API that uses existing identified strings, use :py:BinaryView:`binaryview.get_string_at`.
4284
4290
4285
4291
:param int addr: virtual address to start the string
4286
4292
:param int min_length: minimum length to define a string
0 commit comments