CFG: Function Call

The CFG for a function call site is shown in the example below. The dashed horizontal lines show the inter-procedural CFG edges. Note that the inter-procedural successors of the exit of f are ALL points to which f may return, not just the point [...] after the given call. The vertical dotted line shows an intra-procedural edge that is omitted from the inter-procedural CFG.

Example

... 
f();
...
diagram: CFG for example code
void f(){
    return;
}

Browse