I have a decompiled result from calling idaapi.decompile().
From the decompiled result, I obtain the treeitems and loop through them looking for items that are of type cexpr_t and have the opname of "call".
I can then grab the argument list (carglist_t) and I can easily see that I have the call I am looking for based on the number of carg_t items in the list.
What I would like to get is the text belonging to the carg_t object. If I call 'string', it returns None.
How can I do this?
I know that the text can be generated because I can call get_pseudocode on the decompiled result and print the lines of the function. However, I wanted to avoid parsing the function call text and instead have IDA give me each argument since it has already done all of the required parsing.
If it matters, I am running IDA 6.9.