For example, in the Registers windows of IDA pro, It show the following.
( I think "WS2_32.dll:ws2_32_shutdown" is a string that IDA automatically resolved.)
EAX 766D32B0 WS2_32.dll:ws2_32_shutdown
So, would you please tell me how to get the function name string (such as WS2_32.dll:ws2_32_shutdown) from the Address (such as 766D32B0) by IDAPython ?
I try to do the following, but it don’t show the function name string..
eax_adddress = idc.get_reg_value("EAX")
print("EAX-->%x" % eax_adddress)
print("FunctionName-->%s" % idc.get_func_name(eax_adddress))