How to get the type in typedef by CSA interface or function.

Dear developer:
how to get the type of variable in CSA?
for example:
I can get the name and the type of typedefs if they’re anonymous structures and the like, but normal typedefs(eg typedef int size_t) I can only get size_t. How can I get the type “int”?

typedef unsigned int WORD32;
int main(void){
WORD32 a=50;

obtain a type is WORD32,not unsigned to get unsigned int by CSA interface or function?Thanks.

You're looking for getCanonicalType().

Also that's AST stuff, not analyzer-specific stuff.