Update 'find_data_ptr.py'

main
gmh5225 2 years ago
parent 20b24010c9
commit f1a7e02520

@ -58,7 +58,7 @@ for global_var_name, info_dict in global_vars.items():
if info_dict['calls']: if info_dict['calls']:
print(" Calls:") print(" Calls:")
for call_ea, call_instr_ea in info_dict['calls']: for call_ea, call_instr_ea in info_dict['calls']:
unc = idaapi.get_func(call_ea) func = idaapi.get_func(call_ea)
func_ea = func.start_ea func_ea = func.start_ea
func_name = idaapi.get_func_name(func_ea) func_name = idaapi.get_func_name(func_ea)
print(" Function %s (called at: 0x%x)" % (func_name, call_instr_ea)) print(" Function %s (called at: 0x%x)" % (func_name, call_instr_ea))

Loading…
Cancel
Save