mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
11 lines
337 B
Python
11 lines
337 B
Python
from __future__ import print_function
|
|
import idautils
|
|
|
|
s = idautils.Strings(False)
|
|
s.setup(strtypes=Strings.STR_UNICODE | Strings.STR_C)
|
|
for i, v in enumerate(s):
|
|
if v is None:
|
|
print("Failed to retrieve string index %d" % i)
|
|
else:
|
|
print("%x: len=%d type=%d index=%d-> '%s'" % (v.ea, v.length, v.type, i, str(v)))
|