Closed aqjune closed 5 years ago
IIRC the gcc.Function represents the body of a function, and g's body isn't available: g was declared but was not defined.
You ought to be able to get at a gcc.FunctionDecl for the decl of g from the call statement.
It works, thanks! :)
How can I get gcc.Function of a declared function which is not in Callgraph?
For example, in following code:
gcc.get_callgraph_nodes()
return f only, but not g.Thanks