In the IDA SDK,there is a header file----typeinfo.hpp.I find that a lot of functions and structures has mentioned the structure "til_t". In this file it is explained as type information library.
there are two structure in the file "typeinfo.hpp":
struct funcarg_info_t
{
argloc_t argloc; // argument location (stack offset or register if ARGLOC_REG)
qstring name; // argument name (might be empty)
qtype type; // argument type
qtype fields; // argument field names (used for local structure types)
};
struct func_type_info_t : public qvector<funcarg_info_t>
{
int flags;
#define FTI_SPOILED 0x0001 // __spoils information is present
qtype rettype; // return type
qtype retfields; // return type field names (if structure)
argloc_t retloc; // return location
uval_t stkargs; // size of stack arguments
reginfovec_t spoiled; // spoiled register information
// if spoiled register info is present, it overrides
// the standard spoil info (eax, edx, ecx for x86)
cm_t cc; // calling convention
type_t basetype; // function base type (the first byte of the type)
};
as we see,maybe it can get all the function type infomation. But the problem is some functions gained from the file such as build_funcarg_info(...),get_func_rettype(...), has the parameter " til_t *til". How can I related the " til_t *til" with the function type?
thanks for any hint!






