|
|
|
/* @generated */
|
|
|
|
digraph iCFG {
|
|
|
|
"foo::value3" [label="3: Return Stmt \n *&return:int =5 [line 17]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"foo::value3" -> "foo::value2" ;
|
|
|
|
"foo::value2" [label="2: Exit foo::value \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"foo::value1" [label="1: Start foo::value\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 17]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"foo::value1" -> "foo::value3" ;
|
|
|
|
"foo::Rectangle_Rectangle2" [label="2: Exit foo::Rectangle_Rectangle \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"foo::Rectangle_Rectangle1" [label="1: Start foo::Rectangle_Rectangle\nFormals: this:class foo::Rectangle *\nLocals: \n DECLARE_LOCALS(&return); [line 19]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"foo::Rectangle_Rectangle1" -> "foo::Rectangle_Rectangle2" ;
|
|
|
|
"__infer_globals_initializer_bar::rect3" [label="3: DeclStmt \n _fun_bar::Rectangle_Rectangle(&#GB<shared/namespace/namespace.cpp>$bar::rect:class bar::Rectangle *) [line 38]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"__infer_globals_initializer_bar::rect3" -> "__infer_globals_initializer_bar::rect2" ;
|
|
|
|
"__infer_globals_initializer_bar::rect2" [label="2: Exit __infer_globals_initializer_bar::rect \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"__infer_globals_initializer_bar::rect1" [label="1: Start __infer_globals_initializer_bar::rect\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 32]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"__infer_globals_initializer_bar::rect1" -> "__infer_globals_initializer_bar::rect3" ;
|
|
|
|
"bar::Rectangle_Rectangle2" [label="2: Exit bar::Rectangle_Rectangle \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"bar::Rectangle_Rectangle1" [label="1: Start bar::Rectangle_Rectangle\nFormals: this:class bar::Rectangle *\nLocals: \n DECLARE_LOCALS(&return); [line 32]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"bar::Rectangle_Rectangle1" -> "bar::Rectangle_Rectangle2" ;
|
|
|
|
"bar::value3" [label="3: Return Stmt \n *&#GB<shared/namespace/namespace.cpp>$bar::pi:double =3.141600 [line 30]\n n$0=*&#GB<shared/namespace/namespace.cpp>$bar::pi:double [line 30]\n *&return:double =(2 * n$0) [line 30]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"bar::value3" -> "bar::value2" ;
|
|
|
|
"bar::value2" [label="2: Exit bar::value \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"bar::value1" [label="1: Start bar::value\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 30]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"bar::value1" -> "bar::value3" ;
|
|
|
|
"main12" [label="12: DeclStmt \n _fun_foo::my_record_(&x:class foo::my_record *) [line 46]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main12" -> "main11" ;
|
|
|
|
"main11" [label="11: DeclStmt \n _fun_bar::Rectangle_Rectangle(&rect1:class bar::Rectangle *) [line 48]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main11" -> "main10" ;
|
|
|
|
"main10" [label="10: Call _fun_bar::Rectangle_set_values \n _=*&rect1:class bar::Rectangle [line 49]\n _fun_bar::Rectangle_set_values(&rect1:class bar::Rectangle &,3:int ,4:int ) [line 49]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main10" -> "main9" ;
|
|
|
|
"main9" [label="9: DeclStmt \n _fun_foo::Rectangle_Rectangle(&rect2:class foo::Rectangle *) [line 51]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main9" -> "main8" ;
|
|
|
|
"main8" [label="8: Call _fun_foo::Rectangle_set_values \n _=*&rect2:class foo::Rectangle [line 52]\n _fun_foo::Rectangle_set_values(&rect2:class foo::Rectangle &,7:int ,10:int ) [line 52]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main8" -> "main7" ;
|
|
|
|
"main7" [label="7: BinaryOperatorStmt: Assign \n *&x.a:int =10 [line 54]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main7" -> "main6" ;
|
|
|
|
"main6" [label="6: BinaryOperatorStmt: Assign \n n$2=_fun_foo::value() [line 55]\n *&i:int =n$2 [line 55]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main6" -> "main5" ;
|
|
|
|
"main5" [label="5: BinaryOperatorStmt: Assign \n n$1=_fun_bar::value() [line 56]\n *&i:int =n$1 [line 56]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main5" -> "main4" ;
|
|
|
|
"main4" [label="4: BinaryOperatorStmt: Assign \n *&#GB<shared/namespace/namespace.cpp>$bar::pi:double =3.141600 [line 57]\n n$0=*&#GB<shared/namespace/namespace.cpp>$bar::pi:double [line 57]\n *&j:double =n$0 [line 57]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main4" -> "main3" ;
|
|
|
|
"main3" [label="3: Return Stmt \n *&return:int =0 [line 58]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main3" -> "main2" ;
|
|
|
|
"main2" [label="2: Exit main \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"main1" [label="1: Start main\nFormals: \nLocals: rect2:class foo::Rectangle rect1:class bar::Rectangle x:class foo::my_record j:double i:int \n DECLARE_LOCALS(&return,&rect2,&rect1,&x,&j,&i); [line 41]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"main1" -> "main12" ;
|
|
|
|
"foo::my_record_2" [label="2: Exit foo::my_record_ \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"foo::my_record_1" [label="1: Start foo::my_record_\nFormals: this:class foo::my_record *\nLocals: \n DECLARE_LOCALS(&return); [line 13]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"foo::my_record_1" -> "foo::my_record_2" ;
|
|
|
|
"__infer_globals_initializer_bar::pi3" [label="3: DeclStmt \n *&#GB<shared/namespace/namespace.cpp>$bar::pi:double =3.141600 [line 29]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"__infer_globals_initializer_bar::pi3" -> "__infer_globals_initializer_bar::pi2" ;
|
|
|
|
"__infer_globals_initializer_bar::pi2" [label="2: Exit __infer_globals_initializer_bar::pi \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"__infer_globals_initializer_bar::pi1" [label="1: Start __infer_globals_initializer_bar::pi\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 29]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"__infer_globals_initializer_bar::pi1" -> "__infer_globals_initializer_bar::pi3" ;
|
|
|
|
}
|