|
|
|
/* @generated */
|
|
|
|
digraph iCFG {
|
|
|
|
"main5" [label="5: DeclStmt \n *&y:int =3 [line 11]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main5" -> "main4" ;
|
|
|
|
"main4" [label="4: BinaryOperatorStmt: Assign \n *&X:int =4 [line 14]\n n$0=*&X:int [line 15]\n *&y:int =n$0 [line 13]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main4" -> "main3" ;
|
|
|
|
"main3" [label="3: Return Stmt \n *&return:int =0 [line 17]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main3" -> "main2" ;
|
|
|
|
"main2" [label="2: Exit main \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"main1" [label="1: Start main\nFormals: \nLocals: X:int y:int \n DECLARE_LOCALS(&return,&X,&y); [line 10]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"main1" -> "main5" ;
|
|
|
|
"test3" [label="3: Return Stmt \n n$2=*&p:int * [line 22]\n n$3=*n$2:int [line 22]\n *&x:int =n$3 [line 22]\n *&y:int =1 [line 23]\n n$0=*&x:int [line 24]\n n$1=*&y:int [line 24]\n *&return:int =(n$0 + n$1) [line 21]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"test3" -> "test2" ;
|
|
|
|
"test2" [label="2: Exit test \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"test1" [label="1: Start test\nFormals: p:int *\nLocals: y:int x:int \n DECLARE_LOCALS(&return,&y,&x); [line 20]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"test1" -> "test3" ;
|
|
|
|
}
|