mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-25 02:26:55 +01:00
16 lines
388 B
Python
16 lines
388 B
Python
|
import idaapi
|
||
|
|
||
|
def main():
|
||
|
if not idaapi.is_debugger_on():
|
||
|
print "Please run the process first!"
|
||
|
return
|
||
|
if idaapi.get_process_state() != -1:
|
||
|
print "Please suspend the debugger first!"
|
||
|
return
|
||
|
|
||
|
dn = idaapi.get_debug_names(idaapi.cvar.inf.minEA, idaapi.cvar.inf.maxEA)
|
||
|
for i in dn:
|
||
|
print "%08x: %s" % (i, dn[i])
|
||
|
|
||
|
main()
|