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.
82 lines
2.6 KiB
82 lines
2.6 KiB
digraph iCFG {
|
|
20 [label="20: DeclStmt \n *&foo_g:int =(2 + 10) [line 23]\n " shape="box"]
|
|
|
|
|
|
20 -> 19 ;
|
|
19 [label="19: DeclStmt \n *&foo_a:int =0 [line 24]\n " shape="box"]
|
|
|
|
|
|
19 -> 14 ;
|
|
18 [label="18: Return Stmt \n *&return:int =0 [line 28]\n APPLY_ABSTRACTION; [line 28]\n " shape="box"]
|
|
|
|
|
|
18 -> 11 ;
|
|
17 [label="17: Return Stmt \n n$1=*&foo_g:int [line 26]\n n$2=*&foo_a:int [line 26]\n *&return:int =(n$1 / n$2) [line 26]\n REMOVE_TEMPS(n$1,n$2); [line 26]\n NULLIFY(&foo_a); [line 26]\n NULLIFY(&foo_g); [line 26]\n APPLY_ABSTRACTION; [line 26]\n " shape="box"]
|
|
|
|
|
|
17 -> 11 ;
|
|
16 [label="16: Prune (false branch) \n PRUNE(((n$0 == 12) == 0), false); [line 25]\n REMOVE_TEMPS(n$0); [line 25]\n NULLIFY(&foo_a); [line 25]\n NULLIFY(&foo_g); [line 25]\n " shape="invhouse"]
|
|
|
|
|
|
16 -> 18 ;
|
|
15 [label="15: Prune (true branch) \n PRUNE(((n$0 == 12) != 0), true); [line 25]\n REMOVE_TEMPS(n$0); [line 25]\n " shape="invhouse"]
|
|
|
|
|
|
15 -> 17 ;
|
|
14 [label="14: BinaryOperatorStmt: EQ \n n$0=*&foo_g:int [line 25]\n " shape="box"]
|
|
|
|
|
|
14 -> 15 ;
|
|
14 -> 16 ;
|
|
13 [label="13: between_join_and_exit \n APPLY_ABSTRACTION; [line 25]\n " shape="box"]
|
|
|
|
|
|
13 -> 11 ;
|
|
12 [label="12: + \n " ]
|
|
|
|
|
|
12 -> 13 ;
|
|
11 [label="11: Exit test \n " color=yellow style=filled]
|
|
|
|
|
|
10 [label="10: Start test\nFormals: \nLocals: foo_a:int foo_g:int \n DECLARE_LOCALS(&return,&foo_a,&foo_g); [line 22]\n " color=yellow style=filled]
|
|
|
|
|
|
10 -> 20 ;
|
|
9 [label="9: DeclStmt \n *&foo_a:int =0 [line 13]\n NULLIFY(&foo_a); [line 13]\n " shape="box"]
|
|
|
|
|
|
9 -> 8 ;
|
|
8 [label="8: DeclStmt \n *&foo_b:int =1 [line 14]\n NULLIFY(&foo_b); [line 14]\n " shape="box"]
|
|
|
|
|
|
8 -> 7 ;
|
|
7 [label="7: DeclStmt \n *&foo_c:int =10 [line 15]\n NULLIFY(&foo_c); [line 15]\n " shape="box"]
|
|
|
|
|
|
7 -> 6 ;
|
|
6 [label="6: DeclStmt \n *&foo_d:int =11 [line 16]\n NULLIFY(&foo_d); [line 16]\n " shape="box"]
|
|
|
|
|
|
6 -> 5 ;
|
|
5 [label="5: DeclStmt \n *&foo_e:int =1 [line 17]\n NULLIFY(&foo_e); [line 17]\n " shape="box"]
|
|
|
|
|
|
5 -> 4 ;
|
|
4 [label="4: DeclStmt \n *&foo_f:int =2 [line 18]\n NULLIFY(&foo_f); [line 18]\n " shape="box"]
|
|
|
|
|
|
4 -> 3 ;
|
|
3 [label="3: DeclStmt \n *&foo_g:int =(2 + 10) [line 19]\n NULLIFY(&foo_g); [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="box"]
|
|
|
|
|
|
3 -> 2 ;
|
|
2 [label="2: Exit main \n " color=yellow style=filled]
|
|
|
|
|
|
1 [label="1: Start main\nFormals: \nLocals: foo_g:int foo_f:int foo_e:int foo_d:int foo_c:int foo_b:int foo_a:int \n DECLARE_LOCALS(&return,&foo_g,&foo_f,&foo_e,&foo_d,&foo_c,&foo_b,&foo_a); [line 12]\n " color=yellow style=filled]
|
|
|
|
|
|
1 -> 9 ;
|
|
}
|