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 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.