Given an address, e.g. 0x70011DC
, is there any IDAPython API that returns the function, e.g. sub_0x7001024
which this address belong to?
1 Answer
you are looking for GetFunctionName(ea)
from idc.
Here is a link to the API. The idc and idautils functions are preferable, since they are slightly more high-level: API