Hi all,
I want to output the structure type of certain variables in a program.
Should I go through programAST or CFG ? Which will be easier to get information from ?
Thanks
Mohit Asudani
Hi all,
I want to output the structure type of certain variables in a program.
Should I go through programAST or CFG ? Which will be easier to get information from ?
Thanks
Mohit Asudani
The AST. Find the VarDecl, use ValueDecl::getType() to get its type, and then dissect that type with Type::getAs().