@@ -56,12 +56,23 @@ class CallgraphEdge(__builtin__.object)
5656 | __new__ = <built-in method __new__ of gcc.WrapperMeta object>
5757 | T.__new__(S, ...) -> a new object with type S, a subtype of T
5858
59+ cgn:
60+ cgn.decl: gcc.FunctionDecl('printf')
61+ cgn.decl.location.in_system_header: True
62+ cgn.callers: [gcc.CallgraphEdge()]
63+ cgn.callees: []
64+ gcc.CallgraphEdge()
65+ e.caller: gcc.CallgraphNode()
66+ e.callee: gcc.CallgraphNode()
67+ e.call_stmt: gcc.GimpleCall() printf ("hello %s\n", name.0);
5968cgn:
6069 cgn.decl: gcc.FunctionDecl('baz')
70+ cgn.decl.location.in_system_header: False
6171 cgn.callers: []
6272 cgn.callees: [gcc.CallgraphEdge(), gcc.CallgraphEdge(), gcc.CallgraphEdge()]
6373cgn:
6474 cgn.decl: gcc.FunctionDecl('bar')
75+ cgn.decl.location.in_system_header: False
6576 cgn.callers: [gcc.CallgraphEdge(), gcc.CallgraphEdge(), gcc.CallgraphEdge()]
6677 cgn.callees: [gcc.CallgraphEdge(), gcc.CallgraphEdge(), gcc.CallgraphEdge()]
6778gcc.CallgraphEdge()
@@ -78,8 +89,9 @@ e.callee: gcc.CallgraphNode()
7889e.call_stmt: gcc.GimpleCall() bar ();
7990cgn:
8091 cgn.decl: gcc.FunctionDecl('foo')
92+ cgn.decl.location.in_system_header: False
8193 cgn.callers: [gcc.CallgraphEdge(), gcc.CallgraphEdge(), gcc.CallgraphEdge()]
82- cgn.callees: []
94+ cgn.callees: [gcc.CallgraphEdge() ]
8395gcc.CallgraphEdge()
8496e.caller: gcc.CallgraphNode()
8597e.callee: gcc.CallgraphNode()
0 commit comments