ida-headless icon indicating copy to clipboard operation
ida-headless copied to clipboard

AttributeError: cannot access 'GetFunctionName'

Open weituotian opened this issue 5 months ago • 1 comments

import rpyc

c = rpyc.connect("localhost", 18812)
idaapi = c.root.idaapi
idc = c.root.idc
idautils = c.root.idautils

addr = 0x14000f544
func = idaapi.get_func(addr)

if func is not None:
    function_name = idc.GetFunctionName(func.startEA)
    print("The instruction belongs to function: " + function_name)
else:
    print("The instruction does not belong to a function.")

many field can not access

ida pro 7.7

weituotian avatar Mar 14 '24 08:03 weituotian