I know it's a silly question 😂😂
I'm using IDA and I want to know if there is a plugin to identify all called APIs inside a function instead of entering each function manually?
Reverse Engineering Stack Exchange is a question and answer site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation. It only takes a minute to sign up.
Sign up to join this communityTo have an overview of called API in a function you can use Graph feature without pluging :
View > Graphs > Users xrefs chart...
Starting Direction
check only Cross references from
Ignore
group, check all except Externals
I am not sure about a plugin. But, this answer gives an IDC script for similar purpose.
I also wrote a script to get called function graph a long time ago. You can leverage this and tweak this according to your needs (idapython).
def generate_graph():
callees = {}
# loop through all functions
for ea in idautils.Functions():
function = idc.get_func_name(ea)
callees[function] = set()
for h in idautils.FuncItems(ea):
for xref in idautils.XrefsFrom(h, 0):
callees[function].add(idc.get_func_name(xref.to))
return callees
Another way would be to dump the import table at runtime using ollydbg and load it into your ida using a script. I used to copy the data (address and function name) from ollydbg's import table and parse it into ida using a script I wrote. I can't quite find the script anymore though..