The versions of proc_peek_recon.py and proc_peek_recon_db.py are slightly broken.
They both suffer from the same problem. Simply change:
for xref in CodeRefsTo(location, True) + DataRefsTo(location):
To this:
for xref in list(CodeRefsTo(location, True)) + list(DataRefsTo(location)):
This will convert the generators that are returned by CodeRefsTo and DataRefsTo into lists that can be combined and iterated through.
Failure to do this will result in the following error:
Traceback (most recent call last):
File ““, line 1, in
File “C:\Program Files\IDA\python\init.py”, line 65, in runscript
execfile(script, g)
File “C:/paimei/proc_peek_recon_db.py”, line 357, in
main()
File “C:/paimei/proc_peek_recon_db.py”, line 354, in main
meat_and_potatoes(mysql)
File “C:/paimei/proc_peek_recon_db.py”, line 253, in meat_and_potatoes
for xref in CodeRefsTo(location, True) + DataRefsTo(location):
TypeError: unsupported operand type(s) for +: ‘generator’ and ‘generator’

Categories
Tag Cloud
Blog RSS
Comments RSS
Last 50 Posts
Back
Back
Void « Default
Life
Earth
Wind
Water
Fire
Light 