IDAPython 8.4
|
Classes | |
class | StringItem |
Public Member Functions | |
clear_cache (self) | |
__init__ (self, default_setup=False) | |
refresh (self) | |
setup (self, strtypes=[ida_nalt.STRTYPE_C], minlen=5, only_7bit=True, ignore_instructions=False, display_only_existing_strings=False) | |
__iter__ (self) | |
__getitem__ (self, index) | |
Public Attributes | |
int | size = 0 |
Protected Member Functions | |
_get_item (self, index) | |
Protected Attributes | |
_si = ida_strlist.string_info_t() | |
Allows iterating over the string list. The set of strings will not be modified, unless asked explicitly at setup()-time. This string list also is used by the "String window" so it may be changed when this window is updated. Example: s = Strings() for i in s: print("%x: len=%d type=%d -> '%s'" % (i.ea, i.length, i.strtype, str(i)))
__init__ | ( | self, | |
default_setup = False ) |
Initializes the Strings enumeration helper class @param default_setup: Set to True to use default setup (C strings, min len 5, ...)
__getitem__ | ( | self, | |
index ) |
Returns a string item or None
__iter__ | ( | self | ) |
|
protected |
clear_cache | ( | self | ) |
Clears the string list cache
refresh | ( | self | ) |
Refreshes the string list
setup | ( | self, | |
strtypes = [ida_nalt.STRTYPE_C], | |||
minlen = 5, | |||
only_7bit = True, | |||
ignore_instructions = False, | |||
display_only_existing_strings = False ) |
|
protected |
size = 0 |