You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
digraph iCFG {
|
|
9 [label="9: DeclStmt \n *&i:int =0 [line 11]\n APPLY_ABSTRACTION; [line 11]\n " shape="box"]
|
|
|
|
|
|
9 -> 4 ;
|
|
8 [label="8: UnaryOperator \n n$1=*&i:int [line 13]\n *&i:int =(n$1 + 1) [line 13]\n REMOVE_TEMPS(n$1); [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
|
|
|
|
|
8 -> 4 ;
|
|
7 [label="7: Prune (false branch) \n PRUNE(((n$0 <= 10) == 0), false); [line 12]\n REMOVE_TEMPS(n$0); [line 12]\n " shape="invhouse"]
|
|
|
|
|
|
7 -> 3 ;
|
|
6 [label="6: Prune (true branch) \n PRUNE(((n$0 <= 10) != 0), true); [line 12]\n REMOVE_TEMPS(n$0); [line 12]\n " shape="invhouse"]
|
|
|
|
|
|
6 -> 8 ;
|
|
5 [label="5: BinaryOperatorStmt: LE \n n$0=*&i:int [line 12]\n " shape="box"]
|
|
|
|
|
|
5 -> 6 ;
|
|
5 -> 7 ;
|
|
4 [label="4: + \n " ]
|
|
|
|
|
|
4 -> 5 ;
|
|
3 [label="3: Return Stmt \n NULLIFY(&i,false); [line 15]\n *&return:int =0 [line 15]\n APPLY_ABSTRACTION; [line 15]\n " shape="box"]
|
|
|
|
|
|
3 -> 2 ;
|
|
2 [label="2: Exit main \n " color=yellow style=filled]
|
|
|
|
|
|
1 [label="1: Start main\nFormals: \nLocals: i:int \n DECLARE_LOCALS(&return,&i); [line 10]\n NULLIFY(&i,false); [line 10]\n " color=yellow style=filled]
|
|
|
|
|
|
1 -> 9 ;
|
|
}
|