diff --git a/infer/src/IR/Cfg.ml b/infer/src/IR/Cfg.ml index 8163b41b9..f55b9fc4a 100644 --- a/infer/src/IR/Cfg.ml +++ b/infer/src/IR/Cfg.ml @@ -37,20 +37,20 @@ let create_proc_desc cfg (proc_attributes: ProcAttributes.t) = (** Iterate over all the nodes in the cfg *) -let iter_all_nodes ?(sorted= false) f cfg = +let iter_all_nodes ?(sorted= false) cfg ~f = let do_proc_desc _ (pdesc: Procdesc.t) = List.iter ~f:(fun node -> f pdesc node) (Procdesc.get_nodes pdesc) in if not sorted then Typ.Procname.Hash.iter do_proc_desc cfg else Typ.Procname.Hash.fold - (fun _ pdesc desc_nodes -> - List.fold - ~f:(fun desc_nodes node -> (pdesc, node) :: desc_nodes) - ~init:desc_nodes (Procdesc.get_nodes pdesc) ) + (fun pname pdesc result -> + Procdesc.get_nodes pdesc + |> List.fold ~init:result ~f:(fun inner_result node -> (pname, pdesc, node) :: inner_result) + ) cfg [] - |> List.sort ~compare:[%compare : Procdesc.t * Procdesc.Node.t] - |> List.iter ~f:(fun (d, n) -> f d n) + |> List.sort ~compare:[%compare : Typ.Procname.t * Procdesc.t * Procdesc.Node.t] + |> List.iter ~f:(fun (_, d, n) -> f d n) let is_proc_cfg_connected proc_desc = diff --git a/infer/src/IR/Cfg.mli b/infer/src/IR/Cfg.mli index 960f22736..0b8216e95 100644 --- a/infer/src/IR/Cfg.mli +++ b/infer/src/IR/Cfg.mli @@ -29,7 +29,7 @@ val create : unit -> t val create_proc_desc : t -> ProcAttributes.t -> Procdesc.t (** Create a new procdesc and add it to the cfg *) -val iter_all_nodes : ?sorted:bool -> (Procdesc.t -> Procdesc.Node.t -> unit) -> t -> unit +val iter_all_nodes : ?sorted:bool -> t -> f:(Procdesc.t -> Procdesc.Node.t -> unit) -> unit (** Iterate over all the nodes in the cfg *) val is_proc_cfg_connected : Procdesc.t -> bool diff --git a/infer/src/backend/dotty.ml b/infer/src/backend/dotty.ml index 10366b092..6dc2f10d2 100644 --- a/infer/src/backend/dotty.ml +++ b/infer/src/backend/dotty.ml @@ -1178,7 +1178,7 @@ let print_icfg source fmt cfg = if Config.dotty_cfg_libs || SourceFile.equal loc.Location.file source then F.fprintf fmt "%a@\n" (pp_cfgnode pdesc) node in - Cfg.iter_all_nodes ~sorted:true print_node cfg + Cfg.iter_all_nodes ~sorted:true cfg ~f:print_node let write_icfg_dotty_to_file source cfg fname = diff --git a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main.cpp.dot b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main.cpp.dot index b6e0da31d..1196dd3a2 100644 --- a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main.cpp.dot +++ b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main.cpp.dot @@ -1,84 +1,49 @@ /* @generated */ digraph cfg { -"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: s:std::basic_string,std::allocator> x:int* \n DECLARE_LOCALS(&return,&s,&x); [line 17, column 1]\n " color=yellow style=filled] - - - "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; -"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] - - -"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Destruction \n _=*&s:std::basic_string,std::allocator> [line 24, column 1]\n _fun_std::basic_string,std::allocator>_~basic_string(&s:std::basic_string,std::allocator>*) [line 24, column 1]\n _=*&x:int* [line 24, column 1]\n _fun_std::shared_ptr_~shared_ptr(&x:int**) [line 24, column 1]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; -"main.fad58de7366495db4650cfefac2fcd61_4" [label="4: DeclStmt \n _fun_std::basic_string,std::allocator>_basic_string(&s:std::basic_string,std::allocator>*,\"1234\":char const *) [line 22, column 15]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; -"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: DeclStmt \n _fun_std::shared_ptr_shared_ptr(&x:int**) [line 21, column 24]\n n$2=*&x:int* [line 21, column 24]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Call _fun_external::fun \n n$3=_fun_external::fun(1:int) [line 20, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Call _fun_internal_exclude::fun \n n$4=_fun_internal_exclude::fun(1:int) [line 19, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; -"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Call _fun_internal::fun \n n$5=_fun_internal::fun(1:int) [line 18, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" [label="1: Start internal::fun\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - - - "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" ; -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" [label="2: Exit internal::fun \n " color=yellow style=filled] +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 967, column 1]\n " color=yellow style=filled] -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" [label="3: Return Stmt \n n$0=*&a:int [line 12, column 25]\n *&return:int=n$0 [line 12, column 18]\n " shape="box"] + "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" ; +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" ; -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" [label="1: Start internal::used_in_main_header\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 967, column 51]\n _=*n$0:std::atomic_flag [line 967, column 51]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 967, column 51]\n " shape="box"] - "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" ; -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" [label="2: Exit internal::used_in_main_header \n " color=yellow style=filled] + "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" ; +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 966, column 1]\n " color=yellow style=filled] -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" [label="3: Return Stmt \n n$0=*&a:int [line 19, column 41]\n *&return:int=n$0 [line 19, column 34]\n " shape="box"] + "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" ; +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" [label="1: Start unused_deref_in_header\nFormals: a:int*\nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 16, column 1]\n " color=yellow style=filled] +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 966, column 60]\n _=*n$0:std::atomic_flag [line 966, column 60]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 966, column 60]\n " shape="box"] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" [label="2: Exit unused_deref_in_header \n " color=yellow style=filled] + "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" ; +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 972, column 1]\n " color=yellow style=filled] -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" [label="3: Return Stmt \n n$0=*&a:int* [line 18, column 11]\n n$1=*n$0:int [line 18, column 10]\n *&return:int=n$1 [line 18, column 3]\n " shape="box"] + "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" ; +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" [label="4: DeclStmt \n n$2=_fun_internal::used_in_main_header(0:int) [line 17, column 11]\n *&x:int=n$2 [line 17, column 3]\n " shape="box"] +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 973, column 3]\n _=*n$0:std::atomic_flag [line 973, column 3]\n n$2=*&mo:int [line 973, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 973, column 3]\n " shape="box"] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" ; -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 952, column 1]\n " color=yellow style=filled] + "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" ; +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 968, column 1]\n " color=yellow style=filled] - "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" ; -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" [label="2: Exit std::atomic_flag_test_and_set \n " color=yellow style=filled] + "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" ; +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" [label="3: Return Stmt \n n$0=*&f:std::atomic_flag* [line 953, column 10]\n _=*n$0:std::atomic_flag [line 953, column 10]\n n$2=_fun_std::atomic_flag_test_and_set(n$0:std::atomic_flag*,5:int) [line 953, column 10]\n *&return:_Bool=n$2 [line 953, column 3]\n " shape="box"] +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 970, column 3]\n _=*n$0:std::atomic_flag [line 970, column 3]\n n$2=*&mo:int [line 970, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 970, column 3]\n " shape="box"] - "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" ; + "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" ; "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 955, column 1]\n " color=yellow style=filled] @@ -90,28 +55,17 @@ digraph cfg { "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_3" -> "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_2" ; -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 966, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" ; -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - - -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 966, column 60]\n _=*n$0:std::atomic_flag [line 966, column 60]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 966, column 60]\n " shape="box"] - - - "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" ; -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 967, column 1]\n " color=yellow style=filled] +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 952, column 1]\n " color=yellow style=filled] - "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" ; -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" ; +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" [label="2: Exit std::atomic_flag_test_and_set \n " color=yellow style=filled] -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 967, column 51]\n _=*n$0:std::atomic_flag [line 967, column 51]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 967, column 51]\n " shape="box"] +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" [label="3: Return Stmt \n n$0=*&f:std::atomic_flag* [line 953, column 10]\n _=*n$0:std::atomic_flag [line 953, column 10]\n n$2=_fun_std::atomic_flag_test_and_set(n$0:std::atomic_flag*,5:int) [line 953, column 10]\n *&return:_Bool=n$2 [line 953, column 3]\n " shape="box"] - "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" ; + "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" ; "atomic_flag_test_and_set_explicit#std#17397655144703252762.c6e589e3ba2e8123c95eda828e44339b_1" [label="1: Start std::atomic_flag_test_and_set_explicit\nFormals: f:std::atomic_flag* m:int\nLocals: \n DECLARE_LOCALS(&return); [line 958, column 1]\n " color=yellow style=filled] @@ -134,35 +88,6 @@ digraph cfg { "atomic_flag_test_and_set_explicit#std#7255134785098398782.34c19b21bb282ac2300d973f3b04f887_3" -> "atomic_flag_test_and_set_explicit#std#7255134785098398782.34c19b21bb282ac2300d973f3b04f887_2" ; -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 968, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" ; -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - - -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 970, column 3]\n _=*n$0:std::atomic_flag [line 970, column 3]\n n$2=*&mo:int [line 970, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 970, column 3]\n " shape="box"] - - - "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" ; -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 972, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" ; -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - - -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 973, column 3]\n _=*n$0:std::atomic_flag [line 973, column 3]\n n$2=*&mo:int [line 973, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 973, column 3]\n " shape="box"] - - - "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" ; -"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" [label="1: Start std::atomic_thread_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 976, column 1]\n " color=yellow style=filled] - - - "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" -> "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" ; -"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" [label="2: Exit std::atomic_thread_fence \n " color=yellow style=filled] - - "atomic_signal_fence#std#6355610664018428588.7a78429494f0c76954bdfa39cac652e7_1" [label="1: Start std::atomic_signal_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 977, column 1]\n " color=yellow style=filled] @@ -170,80 +95,81 @@ digraph cfg { "atomic_signal_fence#std#6355610664018428588.7a78429494f0c76954bdfa39cac652e7_2" [label="2: Exit std::atomic_signal_fence \n " color=yellow style=filled] -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:int\nLocals: \n DECLARE_LOCALS(&return); [line 54, column 3]\n " color=yellow style=filled] +"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" [label="1: Start std::atomic_thread_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 976, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" ; -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" -> "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" ; +"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" [label="2: Exit std::atomic_thread_fence \n " color=yellow style=filled] -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 55, column 6]\n n$1=*&value:int [line 55, column 13]\n *n$0:void const *=n$1 [line 55, column 5]\n " shape="box"] +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" [label="1: Start internal::fun\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" ; -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:void*\nLocals: \n DECLARE_LOCALS(&return); [line 66, column 3]\n " color=yellow style=filled] + "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" ; +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" [label="2: Exit internal::fun \n " color=yellow style=filled] - "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" ; -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" [label="3: Return Stmt \n n$0=*&a:int [line 12, column 25]\n *&return:int=n$0 [line 12, column 18]\n " shape="box"] -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 67, column 6]\n n$1=*&value:void* [line 67, column 37]\n *n$0:void const *=n$1 [line 67, column 5]\n " shape="box"] + "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" ; +"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: s:std::basic_string,std::allocator> x:int* \n DECLARE_LOCALS(&return,&s,&x); [line 17, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; +"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] +"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Destruction \n _=*&s:std::basic_string,std::allocator> [line 24, column 1]\n _fun_std::basic_string,std::allocator>_~basic_string(&s:std::basic_string,std::allocator>*) [line 24, column 1]\n _=*&x:int* [line 24, column 1]\n _fun_std::shared_ptr_~shared_ptr(&x:int**) [line 24, column 1]\n " shape="box"] -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; +"main.fad58de7366495db4650cfefac2fcd61_4" [label="4: DeclStmt \n _fun_std::basic_string,std::allocator>_basic_string(&s:std::basic_string,std::allocator>*,\"1234\":char const *) [line 22, column 15]\n " shape="box"] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; +"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: DeclStmt \n _fun_std::shared_ptr_shared_ptr(&x:int**) [line 21, column 24]\n n$2=*&x:int* [line 21, column 24]\n " shape="box"] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Call _fun_external::fun \n n$3=_fun_external::fun(1:int) [line 20, column 3]\n " shape="box"] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Call _fun_internal_exclude::fun \n n$4=_fun_internal_exclude::fun(1:int) [line 19, column 3]\n " shape="box"] -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; +"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Call _fun_internal::fun \n n$5=_fun_internal::fun(1:int) [line 18, column 3]\n " shape="box"] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" [label="1: Start unused_deref_in_header\nFormals: a:int*\nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 16, column 1]\n " color=yellow style=filled] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" [label="2: Exit unused_deref_in_header \n " color=yellow style=filled] - "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" [label="3: Return Stmt \n n$0=*&a:int* [line 18, column 11]\n n$1=*n$0:int [line 18, column 10]\n *&return:int=n$1 [line 18, column 3]\n " shape="box"] -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" [label="4: DeclStmt \n n$2=_fun_internal::used_in_main_header(0:int) [line 17, column 11]\n *&x:int=n$2 [line 17, column 3]\n " shape="box"] - "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" ; +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" [label="1: Start internal::used_in_main_header\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] - "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] + "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" ; +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" [label="2: Exit internal::used_in_main_header \n " color=yellow style=filled] -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" [label="3: Return Stmt \n n$0=*&a:int [line 19, column 41]\n *&return:int=n$0 [line 19, column 34]\n " shape="box"] - "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ; + "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" ; "__infer_atomic_base#__infer_atomic_base#std#{13775723528237147754|constexpr}.1a6095f0713eed47cffb337d5bd470ba_1" [label="1: Start std::__infer_atomic_base___infer_atomic_base\nFormals: this:std::__infer_atomic_base* desired:long\nLocals: \n DECLARE_LOCALS(&return); [line 167, column 3]\n " color=yellow style=filled] @@ -552,6 +478,21 @@ digraph cfg { "__infer_atomic_integral#__infer_atomic_integral#std#{10860901722123512962|constexpr}.f85ea1dfc790b10c2617a4d4f5cafd29_3" -> "__infer_atomic_integral#__infer_atomic_integral#std#{10860901722123512962|constexpr}.f85ea1dfc790b10c2617a4d4f5cafd29_2" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] + + +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; "atomic#atomic#std#{18219637643674479567|constexpr}.a4a5467727100ba5642b3dca850c391b_1" [label="1: Start std::atomic_atomic\nFormals: this:std::atomic* d:unsigned short\nLocals: \n DECLARE_LOCALS(&return); [line 408, column 3]\n " color=yellow style=filled] @@ -717,6 +658,76 @@ digraph cfg { "atomic_flag#atomic_flag#std#{10931176997288531904|constexpr}.57d7555f5addc9691c180d812b1aad13_3" -> "atomic_flag#atomic_flag#std#{10931176997288531904|constexpr}.57d7555f5addc9691c180d812b1aad13_2" ; +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 945, column 3]\n " color=yellow style=filled] + + + "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" ; +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + + +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 946, column 5]\n *n$0.a:_Bool=0 [line 946, column 5]\n " shape="box"] + + + "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" ; +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 948, column 3]\n " color=yellow style=filled] + + + "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" ; +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + + +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 948, column 65]\n *n$0.a:_Bool=0 [line 948, column 65]\n " shape="box"] + + + "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" ; +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:void*\nLocals: \n DECLARE_LOCALS(&return); [line 66, column 3]\n " color=yellow style=filled] + + + "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" ; +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + + +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 67, column 6]\n n$1=*&value:void* [line 67, column 37]\n *n$0:void const *=n$1 [line 67, column 5]\n " shape="box"] + + + "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:int\nLocals: \n DECLARE_LOCALS(&return); [line 54, column 3]\n " color=yellow style=filled] + + + "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" ; +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + + +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 55, column 6]\n n$1=*&value:int [line 55, column 13]\n *n$0:void const *=n$1 [line 55, column 5]\n " shape="box"] + + + "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" ; +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] + + + "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] + + +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] + + + "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] + + +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; "test_and_set#atomic_flag#std#(6342589292624928640).e1a95571862fb026e9cf3fed47e15f71_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: this:std::atomic_flag* mo:int\nLocals: ret:_Bool \n DECLARE_LOCALS(&return,&ret); [line 934, column 3]\n " color=yellow style=filled] @@ -755,26 +766,15 @@ digraph cfg { "test_and_set#atomic_flag#std#(6471561702066990866).1f32ee5584df8a2cd5807312ee98cdb7_5" -> "test_and_set#atomic_flag#std#(6471561702066990866).1f32ee5584df8a2cd5807312ee98cdb7_4" ; -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 945, column 3]\n " color=yellow style=filled] - - - "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" ; -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - - -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 946, column 5]\n *n$0.a:_Bool=0 [line 946, column 5]\n " shape="box"] - - - "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" ; -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 948, column 3]\n " color=yellow style=filled] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] - "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" ; -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 948, column 65]\n *n$0.a:_Bool=0 [line 948, column 65]\n " shape="box"] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] - "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" ; + "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; } diff --git a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_root.cpp.dot b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_root.cpp.dot index b6e0da31d..1196dd3a2 100644 --- a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_root.cpp.dot +++ b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_root.cpp.dot @@ -1,84 +1,49 @@ /* @generated */ digraph cfg { -"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: s:std::basic_string,std::allocator> x:int* \n DECLARE_LOCALS(&return,&s,&x); [line 17, column 1]\n " color=yellow style=filled] - - - "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; -"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] - - -"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Destruction \n _=*&s:std::basic_string,std::allocator> [line 24, column 1]\n _fun_std::basic_string,std::allocator>_~basic_string(&s:std::basic_string,std::allocator>*) [line 24, column 1]\n _=*&x:int* [line 24, column 1]\n _fun_std::shared_ptr_~shared_ptr(&x:int**) [line 24, column 1]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; -"main.fad58de7366495db4650cfefac2fcd61_4" [label="4: DeclStmt \n _fun_std::basic_string,std::allocator>_basic_string(&s:std::basic_string,std::allocator>*,\"1234\":char const *) [line 22, column 15]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; -"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: DeclStmt \n _fun_std::shared_ptr_shared_ptr(&x:int**) [line 21, column 24]\n n$2=*&x:int* [line 21, column 24]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Call _fun_external::fun \n n$3=_fun_external::fun(1:int) [line 20, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Call _fun_internal_exclude::fun \n n$4=_fun_internal_exclude::fun(1:int) [line 19, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; -"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Call _fun_internal::fun \n n$5=_fun_internal::fun(1:int) [line 18, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" [label="1: Start internal::fun\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - - - "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" ; -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" [label="2: Exit internal::fun \n " color=yellow style=filled] +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 967, column 1]\n " color=yellow style=filled] -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" [label="3: Return Stmt \n n$0=*&a:int [line 12, column 25]\n *&return:int=n$0 [line 12, column 18]\n " shape="box"] + "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" ; +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" ; -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" [label="1: Start internal::used_in_main_header\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 967, column 51]\n _=*n$0:std::atomic_flag [line 967, column 51]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 967, column 51]\n " shape="box"] - "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" ; -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" [label="2: Exit internal::used_in_main_header \n " color=yellow style=filled] + "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" ; +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 966, column 1]\n " color=yellow style=filled] -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" [label="3: Return Stmt \n n$0=*&a:int [line 19, column 41]\n *&return:int=n$0 [line 19, column 34]\n " shape="box"] + "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" ; +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" [label="1: Start unused_deref_in_header\nFormals: a:int*\nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 16, column 1]\n " color=yellow style=filled] +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 966, column 60]\n _=*n$0:std::atomic_flag [line 966, column 60]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 966, column 60]\n " shape="box"] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" [label="2: Exit unused_deref_in_header \n " color=yellow style=filled] + "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" ; +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 972, column 1]\n " color=yellow style=filled] -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" [label="3: Return Stmt \n n$0=*&a:int* [line 18, column 11]\n n$1=*n$0:int [line 18, column 10]\n *&return:int=n$1 [line 18, column 3]\n " shape="box"] + "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" ; +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" [label="4: DeclStmt \n n$2=_fun_internal::used_in_main_header(0:int) [line 17, column 11]\n *&x:int=n$2 [line 17, column 3]\n " shape="box"] +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 973, column 3]\n _=*n$0:std::atomic_flag [line 973, column 3]\n n$2=*&mo:int [line 973, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 973, column 3]\n " shape="box"] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" ; -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 952, column 1]\n " color=yellow style=filled] + "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" ; +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 968, column 1]\n " color=yellow style=filled] - "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" ; -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" [label="2: Exit std::atomic_flag_test_and_set \n " color=yellow style=filled] + "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" ; +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" [label="3: Return Stmt \n n$0=*&f:std::atomic_flag* [line 953, column 10]\n _=*n$0:std::atomic_flag [line 953, column 10]\n n$2=_fun_std::atomic_flag_test_and_set(n$0:std::atomic_flag*,5:int) [line 953, column 10]\n *&return:_Bool=n$2 [line 953, column 3]\n " shape="box"] +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 970, column 3]\n _=*n$0:std::atomic_flag [line 970, column 3]\n n$2=*&mo:int [line 970, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 970, column 3]\n " shape="box"] - "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" ; + "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" ; "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 955, column 1]\n " color=yellow style=filled] @@ -90,28 +55,17 @@ digraph cfg { "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_3" -> "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_2" ; -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 966, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" ; -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - - -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 966, column 60]\n _=*n$0:std::atomic_flag [line 966, column 60]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 966, column 60]\n " shape="box"] - - - "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" ; -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 967, column 1]\n " color=yellow style=filled] +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 952, column 1]\n " color=yellow style=filled] - "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" ; -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" ; +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" [label="2: Exit std::atomic_flag_test_and_set \n " color=yellow style=filled] -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 967, column 51]\n _=*n$0:std::atomic_flag [line 967, column 51]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 967, column 51]\n " shape="box"] +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" [label="3: Return Stmt \n n$0=*&f:std::atomic_flag* [line 953, column 10]\n _=*n$0:std::atomic_flag [line 953, column 10]\n n$2=_fun_std::atomic_flag_test_and_set(n$0:std::atomic_flag*,5:int) [line 953, column 10]\n *&return:_Bool=n$2 [line 953, column 3]\n " shape="box"] - "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" ; + "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" ; "atomic_flag_test_and_set_explicit#std#17397655144703252762.c6e589e3ba2e8123c95eda828e44339b_1" [label="1: Start std::atomic_flag_test_and_set_explicit\nFormals: f:std::atomic_flag* m:int\nLocals: \n DECLARE_LOCALS(&return); [line 958, column 1]\n " color=yellow style=filled] @@ -134,35 +88,6 @@ digraph cfg { "atomic_flag_test_and_set_explicit#std#7255134785098398782.34c19b21bb282ac2300d973f3b04f887_3" -> "atomic_flag_test_and_set_explicit#std#7255134785098398782.34c19b21bb282ac2300d973f3b04f887_2" ; -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 968, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" ; -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - - -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 970, column 3]\n _=*n$0:std::atomic_flag [line 970, column 3]\n n$2=*&mo:int [line 970, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 970, column 3]\n " shape="box"] - - - "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" ; -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 972, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" ; -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - - -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 973, column 3]\n _=*n$0:std::atomic_flag [line 973, column 3]\n n$2=*&mo:int [line 973, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 973, column 3]\n " shape="box"] - - - "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" ; -"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" [label="1: Start std::atomic_thread_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 976, column 1]\n " color=yellow style=filled] - - - "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" -> "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" ; -"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" [label="2: Exit std::atomic_thread_fence \n " color=yellow style=filled] - - "atomic_signal_fence#std#6355610664018428588.7a78429494f0c76954bdfa39cac652e7_1" [label="1: Start std::atomic_signal_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 977, column 1]\n " color=yellow style=filled] @@ -170,80 +95,81 @@ digraph cfg { "atomic_signal_fence#std#6355610664018428588.7a78429494f0c76954bdfa39cac652e7_2" [label="2: Exit std::atomic_signal_fence \n " color=yellow style=filled] -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:int\nLocals: \n DECLARE_LOCALS(&return); [line 54, column 3]\n " color=yellow style=filled] +"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" [label="1: Start std::atomic_thread_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 976, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" ; -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" -> "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" ; +"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" [label="2: Exit std::atomic_thread_fence \n " color=yellow style=filled] -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 55, column 6]\n n$1=*&value:int [line 55, column 13]\n *n$0:void const *=n$1 [line 55, column 5]\n " shape="box"] +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" [label="1: Start internal::fun\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" ; -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:void*\nLocals: \n DECLARE_LOCALS(&return); [line 66, column 3]\n " color=yellow style=filled] + "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" ; +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" [label="2: Exit internal::fun \n " color=yellow style=filled] - "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" ; -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" [label="3: Return Stmt \n n$0=*&a:int [line 12, column 25]\n *&return:int=n$0 [line 12, column 18]\n " shape="box"] -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 67, column 6]\n n$1=*&value:void* [line 67, column 37]\n *n$0:void const *=n$1 [line 67, column 5]\n " shape="box"] + "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" ; +"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: s:std::basic_string,std::allocator> x:int* \n DECLARE_LOCALS(&return,&s,&x); [line 17, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; +"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] +"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Destruction \n _=*&s:std::basic_string,std::allocator> [line 24, column 1]\n _fun_std::basic_string,std::allocator>_~basic_string(&s:std::basic_string,std::allocator>*) [line 24, column 1]\n _=*&x:int* [line 24, column 1]\n _fun_std::shared_ptr_~shared_ptr(&x:int**) [line 24, column 1]\n " shape="box"] -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; +"main.fad58de7366495db4650cfefac2fcd61_4" [label="4: DeclStmt \n _fun_std::basic_string,std::allocator>_basic_string(&s:std::basic_string,std::allocator>*,\"1234\":char const *) [line 22, column 15]\n " shape="box"] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; +"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: DeclStmt \n _fun_std::shared_ptr_shared_ptr(&x:int**) [line 21, column 24]\n n$2=*&x:int* [line 21, column 24]\n " shape="box"] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Call _fun_external::fun \n n$3=_fun_external::fun(1:int) [line 20, column 3]\n " shape="box"] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Call _fun_internal_exclude::fun \n n$4=_fun_internal_exclude::fun(1:int) [line 19, column 3]\n " shape="box"] -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; +"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Call _fun_internal::fun \n n$5=_fun_internal::fun(1:int) [line 18, column 3]\n " shape="box"] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" [label="1: Start unused_deref_in_header\nFormals: a:int*\nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 16, column 1]\n " color=yellow style=filled] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" [label="2: Exit unused_deref_in_header \n " color=yellow style=filled] - "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" [label="3: Return Stmt \n n$0=*&a:int* [line 18, column 11]\n n$1=*n$0:int [line 18, column 10]\n *&return:int=n$1 [line 18, column 3]\n " shape="box"] -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" [label="4: DeclStmt \n n$2=_fun_internal::used_in_main_header(0:int) [line 17, column 11]\n *&x:int=n$2 [line 17, column 3]\n " shape="box"] - "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" ; +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" [label="1: Start internal::used_in_main_header\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] - "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] + "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" ; +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" [label="2: Exit internal::used_in_main_header \n " color=yellow style=filled] -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" [label="3: Return Stmt \n n$0=*&a:int [line 19, column 41]\n *&return:int=n$0 [line 19, column 34]\n " shape="box"] - "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ; + "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" ; "__infer_atomic_base#__infer_atomic_base#std#{13775723528237147754|constexpr}.1a6095f0713eed47cffb337d5bd470ba_1" [label="1: Start std::__infer_atomic_base___infer_atomic_base\nFormals: this:std::__infer_atomic_base* desired:long\nLocals: \n DECLARE_LOCALS(&return); [line 167, column 3]\n " color=yellow style=filled] @@ -552,6 +478,21 @@ digraph cfg { "__infer_atomic_integral#__infer_atomic_integral#std#{10860901722123512962|constexpr}.f85ea1dfc790b10c2617a4d4f5cafd29_3" -> "__infer_atomic_integral#__infer_atomic_integral#std#{10860901722123512962|constexpr}.f85ea1dfc790b10c2617a4d4f5cafd29_2" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] + + +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; "atomic#atomic#std#{18219637643674479567|constexpr}.a4a5467727100ba5642b3dca850c391b_1" [label="1: Start std::atomic_atomic\nFormals: this:std::atomic* d:unsigned short\nLocals: \n DECLARE_LOCALS(&return); [line 408, column 3]\n " color=yellow style=filled] @@ -717,6 +658,76 @@ digraph cfg { "atomic_flag#atomic_flag#std#{10931176997288531904|constexpr}.57d7555f5addc9691c180d812b1aad13_3" -> "atomic_flag#atomic_flag#std#{10931176997288531904|constexpr}.57d7555f5addc9691c180d812b1aad13_2" ; +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 945, column 3]\n " color=yellow style=filled] + + + "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" ; +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + + +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 946, column 5]\n *n$0.a:_Bool=0 [line 946, column 5]\n " shape="box"] + + + "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" ; +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 948, column 3]\n " color=yellow style=filled] + + + "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" ; +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + + +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 948, column 65]\n *n$0.a:_Bool=0 [line 948, column 65]\n " shape="box"] + + + "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" ; +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:void*\nLocals: \n DECLARE_LOCALS(&return); [line 66, column 3]\n " color=yellow style=filled] + + + "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" ; +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + + +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 67, column 6]\n n$1=*&value:void* [line 67, column 37]\n *n$0:void const *=n$1 [line 67, column 5]\n " shape="box"] + + + "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:int\nLocals: \n DECLARE_LOCALS(&return); [line 54, column 3]\n " color=yellow style=filled] + + + "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" ; +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + + +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 55, column 6]\n n$1=*&value:int [line 55, column 13]\n *n$0:void const *=n$1 [line 55, column 5]\n " shape="box"] + + + "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" ; +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] + + + "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] + + +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] + + + "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] + + +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; "test_and_set#atomic_flag#std#(6342589292624928640).e1a95571862fb026e9cf3fed47e15f71_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: this:std::atomic_flag* mo:int\nLocals: ret:_Bool \n DECLARE_LOCALS(&return,&ret); [line 934, column 3]\n " color=yellow style=filled] @@ -755,26 +766,15 @@ digraph cfg { "test_and_set#atomic_flag#std#(6471561702066990866).1f32ee5584df8a2cd5807312ee98cdb7_5" -> "test_and_set#atomic_flag#std#(6471561702066990866).1f32ee5584df8a2cd5807312ee98cdb7_4" ; -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 945, column 3]\n " color=yellow style=filled] - - - "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" ; -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - - -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 946, column 5]\n *n$0.a:_Bool=0 [line 946, column 5]\n " shape="box"] - - - "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" ; -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 948, column 3]\n " color=yellow style=filled] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] - "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" ; -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 948, column 65]\n *n$0.a:_Bool=0 [line 948, column 65]\n " shape="box"] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] - "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" ; + "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; } diff --git a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_symlink.cpp.dot b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_symlink.cpp.dot index b6e0da31d..1196dd3a2 100644 --- a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_symlink.cpp.dot +++ b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_symlink.cpp.dot @@ -1,84 +1,49 @@ /* @generated */ digraph cfg { -"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: s:std::basic_string,std::allocator> x:int* \n DECLARE_LOCALS(&return,&s,&x); [line 17, column 1]\n " color=yellow style=filled] - - - "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; -"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] - - -"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Destruction \n _=*&s:std::basic_string,std::allocator> [line 24, column 1]\n _fun_std::basic_string,std::allocator>_~basic_string(&s:std::basic_string,std::allocator>*) [line 24, column 1]\n _=*&x:int* [line 24, column 1]\n _fun_std::shared_ptr_~shared_ptr(&x:int**) [line 24, column 1]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; -"main.fad58de7366495db4650cfefac2fcd61_4" [label="4: DeclStmt \n _fun_std::basic_string,std::allocator>_basic_string(&s:std::basic_string,std::allocator>*,\"1234\":char const *) [line 22, column 15]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; -"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: DeclStmt \n _fun_std::shared_ptr_shared_ptr(&x:int**) [line 21, column 24]\n n$2=*&x:int* [line 21, column 24]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Call _fun_external::fun \n n$3=_fun_external::fun(1:int) [line 20, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Call _fun_internal_exclude::fun \n n$4=_fun_internal_exclude::fun(1:int) [line 19, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; -"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Call _fun_internal::fun \n n$5=_fun_internal::fun(1:int) [line 18, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" [label="1: Start internal::fun\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - - - "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" ; -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" [label="2: Exit internal::fun \n " color=yellow style=filled] +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 967, column 1]\n " color=yellow style=filled] -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" [label="3: Return Stmt \n n$0=*&a:int [line 12, column 25]\n *&return:int=n$0 [line 12, column 18]\n " shape="box"] + "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" ; +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" ; -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" [label="1: Start internal::used_in_main_header\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 967, column 51]\n _=*n$0:std::atomic_flag [line 967, column 51]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 967, column 51]\n " shape="box"] - "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" ; -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" [label="2: Exit internal::used_in_main_header \n " color=yellow style=filled] + "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" ; +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 966, column 1]\n " color=yellow style=filled] -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" [label="3: Return Stmt \n n$0=*&a:int [line 19, column 41]\n *&return:int=n$0 [line 19, column 34]\n " shape="box"] + "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" ; +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" [label="1: Start unused_deref_in_header\nFormals: a:int*\nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 16, column 1]\n " color=yellow style=filled] +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 966, column 60]\n _=*n$0:std::atomic_flag [line 966, column 60]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 966, column 60]\n " shape="box"] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" [label="2: Exit unused_deref_in_header \n " color=yellow style=filled] + "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" ; +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 972, column 1]\n " color=yellow style=filled] -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" [label="3: Return Stmt \n n$0=*&a:int* [line 18, column 11]\n n$1=*n$0:int [line 18, column 10]\n *&return:int=n$1 [line 18, column 3]\n " shape="box"] + "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" ; +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" [label="4: DeclStmt \n n$2=_fun_internal::used_in_main_header(0:int) [line 17, column 11]\n *&x:int=n$2 [line 17, column 3]\n " shape="box"] +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 973, column 3]\n _=*n$0:std::atomic_flag [line 973, column 3]\n n$2=*&mo:int [line 973, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 973, column 3]\n " shape="box"] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" ; -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 952, column 1]\n " color=yellow style=filled] + "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" ; +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 968, column 1]\n " color=yellow style=filled] - "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" ; -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" [label="2: Exit std::atomic_flag_test_and_set \n " color=yellow style=filled] + "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" ; +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" [label="3: Return Stmt \n n$0=*&f:std::atomic_flag* [line 953, column 10]\n _=*n$0:std::atomic_flag [line 953, column 10]\n n$2=_fun_std::atomic_flag_test_and_set(n$0:std::atomic_flag*,5:int) [line 953, column 10]\n *&return:_Bool=n$2 [line 953, column 3]\n " shape="box"] +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 970, column 3]\n _=*n$0:std::atomic_flag [line 970, column 3]\n n$2=*&mo:int [line 970, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 970, column 3]\n " shape="box"] - "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" ; + "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" ; "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 955, column 1]\n " color=yellow style=filled] @@ -90,28 +55,17 @@ digraph cfg { "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_3" -> "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_2" ; -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 966, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" ; -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - - -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 966, column 60]\n _=*n$0:std::atomic_flag [line 966, column 60]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 966, column 60]\n " shape="box"] - - - "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" ; -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 967, column 1]\n " color=yellow style=filled] +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 952, column 1]\n " color=yellow style=filled] - "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" ; -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" ; +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" [label="2: Exit std::atomic_flag_test_and_set \n " color=yellow style=filled] -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 967, column 51]\n _=*n$0:std::atomic_flag [line 967, column 51]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 967, column 51]\n " shape="box"] +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" [label="3: Return Stmt \n n$0=*&f:std::atomic_flag* [line 953, column 10]\n _=*n$0:std::atomic_flag [line 953, column 10]\n n$2=_fun_std::atomic_flag_test_and_set(n$0:std::atomic_flag*,5:int) [line 953, column 10]\n *&return:_Bool=n$2 [line 953, column 3]\n " shape="box"] - "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" ; + "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" ; "atomic_flag_test_and_set_explicit#std#17397655144703252762.c6e589e3ba2e8123c95eda828e44339b_1" [label="1: Start std::atomic_flag_test_and_set_explicit\nFormals: f:std::atomic_flag* m:int\nLocals: \n DECLARE_LOCALS(&return); [line 958, column 1]\n " color=yellow style=filled] @@ -134,35 +88,6 @@ digraph cfg { "atomic_flag_test_and_set_explicit#std#7255134785098398782.34c19b21bb282ac2300d973f3b04f887_3" -> "atomic_flag_test_and_set_explicit#std#7255134785098398782.34c19b21bb282ac2300d973f3b04f887_2" ; -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 968, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" ; -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - - -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 970, column 3]\n _=*n$0:std::atomic_flag [line 970, column 3]\n n$2=*&mo:int [line 970, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 970, column 3]\n " shape="box"] - - - "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" ; -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 972, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" ; -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - - -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 973, column 3]\n _=*n$0:std::atomic_flag [line 973, column 3]\n n$2=*&mo:int [line 973, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 973, column 3]\n " shape="box"] - - - "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" ; -"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" [label="1: Start std::atomic_thread_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 976, column 1]\n " color=yellow style=filled] - - - "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" -> "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" ; -"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" [label="2: Exit std::atomic_thread_fence \n " color=yellow style=filled] - - "atomic_signal_fence#std#6355610664018428588.7a78429494f0c76954bdfa39cac652e7_1" [label="1: Start std::atomic_signal_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 977, column 1]\n " color=yellow style=filled] @@ -170,80 +95,81 @@ digraph cfg { "atomic_signal_fence#std#6355610664018428588.7a78429494f0c76954bdfa39cac652e7_2" [label="2: Exit std::atomic_signal_fence \n " color=yellow style=filled] -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:int\nLocals: \n DECLARE_LOCALS(&return); [line 54, column 3]\n " color=yellow style=filled] +"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" [label="1: Start std::atomic_thread_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 976, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" ; -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" -> "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" ; +"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" [label="2: Exit std::atomic_thread_fence \n " color=yellow style=filled] -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 55, column 6]\n n$1=*&value:int [line 55, column 13]\n *n$0:void const *=n$1 [line 55, column 5]\n " shape="box"] +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" [label="1: Start internal::fun\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" ; -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:void*\nLocals: \n DECLARE_LOCALS(&return); [line 66, column 3]\n " color=yellow style=filled] + "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" ; +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" [label="2: Exit internal::fun \n " color=yellow style=filled] - "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" ; -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" [label="3: Return Stmt \n n$0=*&a:int [line 12, column 25]\n *&return:int=n$0 [line 12, column 18]\n " shape="box"] -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 67, column 6]\n n$1=*&value:void* [line 67, column 37]\n *n$0:void const *=n$1 [line 67, column 5]\n " shape="box"] + "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" ; +"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: s:std::basic_string,std::allocator> x:int* \n DECLARE_LOCALS(&return,&s,&x); [line 17, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; +"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] +"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Destruction \n _=*&s:std::basic_string,std::allocator> [line 24, column 1]\n _fun_std::basic_string,std::allocator>_~basic_string(&s:std::basic_string,std::allocator>*) [line 24, column 1]\n _=*&x:int* [line 24, column 1]\n _fun_std::shared_ptr_~shared_ptr(&x:int**) [line 24, column 1]\n " shape="box"] -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; +"main.fad58de7366495db4650cfefac2fcd61_4" [label="4: DeclStmt \n _fun_std::basic_string,std::allocator>_basic_string(&s:std::basic_string,std::allocator>*,\"1234\":char const *) [line 22, column 15]\n " shape="box"] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; +"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: DeclStmt \n _fun_std::shared_ptr_shared_ptr(&x:int**) [line 21, column 24]\n n$2=*&x:int* [line 21, column 24]\n " shape="box"] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Call _fun_external::fun \n n$3=_fun_external::fun(1:int) [line 20, column 3]\n " shape="box"] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Call _fun_internal_exclude::fun \n n$4=_fun_internal_exclude::fun(1:int) [line 19, column 3]\n " shape="box"] -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; +"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Call _fun_internal::fun \n n$5=_fun_internal::fun(1:int) [line 18, column 3]\n " shape="box"] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" [label="1: Start unused_deref_in_header\nFormals: a:int*\nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 16, column 1]\n " color=yellow style=filled] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" [label="2: Exit unused_deref_in_header \n " color=yellow style=filled] - "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" [label="3: Return Stmt \n n$0=*&a:int* [line 18, column 11]\n n$1=*n$0:int [line 18, column 10]\n *&return:int=n$1 [line 18, column 3]\n " shape="box"] -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" [label="4: DeclStmt \n n$2=_fun_internal::used_in_main_header(0:int) [line 17, column 11]\n *&x:int=n$2 [line 17, column 3]\n " shape="box"] - "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" ; +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" [label="1: Start internal::used_in_main_header\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] - "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] + "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" ; +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" [label="2: Exit internal::used_in_main_header \n " color=yellow style=filled] -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" [label="3: Return Stmt \n n$0=*&a:int [line 19, column 41]\n *&return:int=n$0 [line 19, column 34]\n " shape="box"] - "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ; + "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" ; "__infer_atomic_base#__infer_atomic_base#std#{13775723528237147754|constexpr}.1a6095f0713eed47cffb337d5bd470ba_1" [label="1: Start std::__infer_atomic_base___infer_atomic_base\nFormals: this:std::__infer_atomic_base* desired:long\nLocals: \n DECLARE_LOCALS(&return); [line 167, column 3]\n " color=yellow style=filled] @@ -552,6 +478,21 @@ digraph cfg { "__infer_atomic_integral#__infer_atomic_integral#std#{10860901722123512962|constexpr}.f85ea1dfc790b10c2617a4d4f5cafd29_3" -> "__infer_atomic_integral#__infer_atomic_integral#std#{10860901722123512962|constexpr}.f85ea1dfc790b10c2617a4d4f5cafd29_2" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] + + +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; "atomic#atomic#std#{18219637643674479567|constexpr}.a4a5467727100ba5642b3dca850c391b_1" [label="1: Start std::atomic_atomic\nFormals: this:std::atomic* d:unsigned short\nLocals: \n DECLARE_LOCALS(&return); [line 408, column 3]\n " color=yellow style=filled] @@ -717,6 +658,76 @@ digraph cfg { "atomic_flag#atomic_flag#std#{10931176997288531904|constexpr}.57d7555f5addc9691c180d812b1aad13_3" -> "atomic_flag#atomic_flag#std#{10931176997288531904|constexpr}.57d7555f5addc9691c180d812b1aad13_2" ; +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 945, column 3]\n " color=yellow style=filled] + + + "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" ; +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + + +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 946, column 5]\n *n$0.a:_Bool=0 [line 946, column 5]\n " shape="box"] + + + "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" ; +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 948, column 3]\n " color=yellow style=filled] + + + "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" ; +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + + +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 948, column 65]\n *n$0.a:_Bool=0 [line 948, column 65]\n " shape="box"] + + + "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" ; +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:void*\nLocals: \n DECLARE_LOCALS(&return); [line 66, column 3]\n " color=yellow style=filled] + + + "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" ; +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + + +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 67, column 6]\n n$1=*&value:void* [line 67, column 37]\n *n$0:void const *=n$1 [line 67, column 5]\n " shape="box"] + + + "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:int\nLocals: \n DECLARE_LOCALS(&return); [line 54, column 3]\n " color=yellow style=filled] + + + "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" ; +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + + +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 55, column 6]\n n$1=*&value:int [line 55, column 13]\n *n$0:void const *=n$1 [line 55, column 5]\n " shape="box"] + + + "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" ; +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] + + + "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] + + +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] + + + "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] + + +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; "test_and_set#atomic_flag#std#(6342589292624928640).e1a95571862fb026e9cf3fed47e15f71_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: this:std::atomic_flag* mo:int\nLocals: ret:_Bool \n DECLARE_LOCALS(&return,&ret); [line 934, column 3]\n " color=yellow style=filled] @@ -755,26 +766,15 @@ digraph cfg { "test_and_set#atomic_flag#std#(6471561702066990866).1f32ee5584df8a2cd5807312ee98cdb7_5" -> "test_and_set#atomic_flag#std#(6471561702066990866).1f32ee5584df8a2cd5807312ee98cdb7_4" ; -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 945, column 3]\n " color=yellow style=filled] - - - "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" ; -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - - -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 946, column 5]\n *n$0.a:_Bool=0 [line 946, column 5]\n " shape="box"] - - - "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" ; -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 948, column 3]\n " color=yellow style=filled] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] - "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" ; -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 948, column 65]\n *n$0.a:_Bool=0 [line 948, column 65]\n " shape="box"] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] - "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" ; + "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; } diff --git a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_symlink.cpp.dot b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_symlink.cpp.dot index b6e0da31d..1196dd3a2 100644 --- a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_symlink.cpp.dot +++ b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_symlink.cpp.dot @@ -1,84 +1,49 @@ /* @generated */ digraph cfg { -"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: s:std::basic_string,std::allocator> x:int* \n DECLARE_LOCALS(&return,&s,&x); [line 17, column 1]\n " color=yellow style=filled] - - - "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; -"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] - - -"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Destruction \n _=*&s:std::basic_string,std::allocator> [line 24, column 1]\n _fun_std::basic_string,std::allocator>_~basic_string(&s:std::basic_string,std::allocator>*) [line 24, column 1]\n _=*&x:int* [line 24, column 1]\n _fun_std::shared_ptr_~shared_ptr(&x:int**) [line 24, column 1]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; -"main.fad58de7366495db4650cfefac2fcd61_4" [label="4: DeclStmt \n _fun_std::basic_string,std::allocator>_basic_string(&s:std::basic_string,std::allocator>*,\"1234\":char const *) [line 22, column 15]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; -"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: DeclStmt \n _fun_std::shared_ptr_shared_ptr(&x:int**) [line 21, column 24]\n n$2=*&x:int* [line 21, column 24]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Call _fun_external::fun \n n$3=_fun_external::fun(1:int) [line 20, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Call _fun_internal_exclude::fun \n n$4=_fun_internal_exclude::fun(1:int) [line 19, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; -"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Call _fun_internal::fun \n n$5=_fun_internal::fun(1:int) [line 18, column 3]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" [label="1: Start internal::fun\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - - - "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" ; -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" [label="2: Exit internal::fun \n " color=yellow style=filled] +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 967, column 1]\n " color=yellow style=filled] -"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" [label="3: Return Stmt \n n$0=*&a:int [line 12, column 25]\n *&return:int=n$0 [line 12, column 18]\n " shape="box"] + "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" ; +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" ; -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" [label="1: Start internal::used_in_main_header\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] +"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 967, column 51]\n _=*n$0:std::atomic_flag [line 967, column 51]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 967, column 51]\n " shape="box"] - "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" ; -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" [label="2: Exit internal::used_in_main_header \n " color=yellow style=filled] + "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" ; +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 966, column 1]\n " color=yellow style=filled] -"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" [label="3: Return Stmt \n n$0=*&a:int [line 19, column 41]\n *&return:int=n$0 [line 19, column 34]\n " shape="box"] + "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" ; +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" [label="1: Start unused_deref_in_header\nFormals: a:int*\nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 16, column 1]\n " color=yellow style=filled] +"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 966, column 60]\n _=*n$0:std::atomic_flag [line 966, column 60]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 966, column 60]\n " shape="box"] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" [label="2: Exit unused_deref_in_header \n " color=yellow style=filled] + "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" ; +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 972, column 1]\n " color=yellow style=filled] -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" [label="3: Return Stmt \n n$0=*&a:int* [line 18, column 11]\n n$1=*n$0:int [line 18, column 10]\n *&return:int=n$1 [line 18, column 3]\n " shape="box"] + "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" ; +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" ; -"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" [label="4: DeclStmt \n n$2=_fun_internal::used_in_main_header(0:int) [line 17, column 11]\n *&x:int=n$2 [line 17, column 3]\n " shape="box"] +"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 973, column 3]\n _=*n$0:std::atomic_flag [line 973, column 3]\n n$2=*&mo:int [line 973, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 973, column 3]\n " shape="box"] - "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" ; -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 952, column 1]\n " color=yellow style=filled] + "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" ; +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 968, column 1]\n " color=yellow style=filled] - "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" ; -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" [label="2: Exit std::atomic_flag_test_and_set \n " color=yellow style=filled] + "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" ; +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] -"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" [label="3: Return Stmt \n n$0=*&f:std::atomic_flag* [line 953, column 10]\n _=*n$0:std::atomic_flag [line 953, column 10]\n n$2=_fun_std::atomic_flag_test_and_set(n$0:std::atomic_flag*,5:int) [line 953, column 10]\n *&return:_Bool=n$2 [line 953, column 3]\n " shape="box"] +"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 970, column 3]\n _=*n$0:std::atomic_flag [line 970, column 3]\n n$2=*&mo:int [line 970, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 970, column 3]\n " shape="box"] - "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" ; + "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" ; "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 955, column 1]\n " color=yellow style=filled] @@ -90,28 +55,17 @@ digraph cfg { "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_3" -> "atomic_flag_test_and_set#std#7118173663506619749.13841ca29c4792e1c80a6a0c7836266a_2" ; -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 966, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_1" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" ; -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - - -"atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 966, column 60]\n _=*n$0:std::atomic_flag [line 966, column 60]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 966, column 60]\n " shape="box"] - - - "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_3" -> "atomic_flag_clear#std#8417018393663174481.295be794cdae89c82fc079ad828db14c_2" ; -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" [label="1: Start std::atomic_flag_clear\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 967, column 1]\n " color=yellow style=filled] +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: f:std::atomic_flag*\nLocals: \n DECLARE_LOCALS(&return); [line 952, column 1]\n " color=yellow style=filled] - "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_1" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" ; -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_1" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" ; +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" [label="2: Exit std::atomic_flag_test_and_set \n " color=yellow style=filled] -"atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 967, column 51]\n _=*n$0:std::atomic_flag [line 967, column 51]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,5:int) [line 967, column 51]\n " shape="box"] +"atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" [label="3: Return Stmt \n n$0=*&f:std::atomic_flag* [line 953, column 10]\n _=*n$0:std::atomic_flag [line 953, column 10]\n n$2=_fun_std::atomic_flag_test_and_set(n$0:std::atomic_flag*,5:int) [line 953, column 10]\n *&return:_Bool=n$2 [line 953, column 3]\n " shape="box"] - "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_3" -> "atomic_flag_clear#std#17550914922100779771.d1fb16da8327178ccc23af6843a8ea0b_2" ; + "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_3" -> "atomic_flag_test_and_set#std#75594002239380467.79e49468f8f4c300b83436f9bcd1157e_2" ; "atomic_flag_test_and_set_explicit#std#17397655144703252762.c6e589e3ba2e8123c95eda828e44339b_1" [label="1: Start std::atomic_flag_test_and_set_explicit\nFormals: f:std::atomic_flag* m:int\nLocals: \n DECLARE_LOCALS(&return); [line 958, column 1]\n " color=yellow style=filled] @@ -134,35 +88,6 @@ digraph cfg { "atomic_flag_test_and_set_explicit#std#7255134785098398782.34c19b21bb282ac2300d973f3b04f887_3" -> "atomic_flag_test_and_set_explicit#std#7255134785098398782.34c19b21bb282ac2300d973f3b04f887_2" ; -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 968, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_1" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" ; -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - - -"atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 970, column 3]\n _=*n$0:std::atomic_flag [line 970, column 3]\n n$2=*&mo:int [line 970, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 970, column 3]\n " shape="box"] - - - "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_3" -> "atomic_flag_clear_explicit#std#17643441563504553916.f821a0b7a94ce430273c34c2a0bc2777_2" ; -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" [label="1: Start std::atomic_flag_clear_explicit\nFormals: f:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 972, column 1]\n " color=yellow style=filled] - - - "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_1" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" ; -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" [label="2: Exit std::atomic_flag_clear_explicit \n " color=yellow style=filled] - - -"atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" [label="3: Call _fun_std::atomic_flag_clear \n n$0=*&f:std::atomic_flag* [line 973, column 3]\n _=*n$0:std::atomic_flag [line 973, column 3]\n n$2=*&mo:int [line 973, column 12]\n _fun_std::atomic_flag_clear(n$0:std::atomic_flag*,n$2:int) [line 973, column 3]\n " shape="box"] - - - "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_3" -> "atomic_flag_clear_explicit#std#13508243229460098920.9096df62446733c75716182054ac50b0_2" ; -"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" [label="1: Start std::atomic_thread_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 976, column 1]\n " color=yellow style=filled] - - - "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" -> "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" ; -"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" [label="2: Exit std::atomic_thread_fence \n " color=yellow style=filled] - - "atomic_signal_fence#std#6355610664018428588.7a78429494f0c76954bdfa39cac652e7_1" [label="1: Start std::atomic_signal_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 977, column 1]\n " color=yellow style=filled] @@ -170,80 +95,81 @@ digraph cfg { "atomic_signal_fence#std#6355610664018428588.7a78429494f0c76954bdfa39cac652e7_2" [label="2: Exit std::atomic_signal_fence \n " color=yellow style=filled] -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:int\nLocals: \n DECLARE_LOCALS(&return); [line 54, column 3]\n " color=yellow style=filled] +"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" [label="1: Start std::atomic_thread_fence\nFormals: mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 976, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" ; -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_1" -> "atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" ; +"atomic_thread_fence#std#3443284552162909508.f45950fd8a613f28d01dd70e54201ca7_2" [label="2: Exit std::atomic_thread_fence \n " color=yellow style=filled] -"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 55, column 6]\n n$1=*&value:int [line 55, column 13]\n *n$0:void const *=n$1 [line 55, column 5]\n " shape="box"] +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" [label="1: Start internal::fun\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" ; -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:void*\nLocals: \n DECLARE_LOCALS(&return); [line 66, column 3]\n " color=yellow style=filled] + "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_1" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" ; +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" [label="2: Exit internal::fun \n " color=yellow style=filled] - "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" ; -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] +"fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" [label="3: Return Stmt \n n$0=*&a:int [line 12, column 25]\n *&return:int=n$0 [line 12, column 18]\n " shape="box"] -"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 67, column 6]\n n$1=*&value:void* [line 67, column 37]\n *n$0:void const *=n$1 [line 67, column 5]\n " shape="box"] + "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_3" -> "fun#internal#3922054098004616643.55c3f2ad552457f847bc1570fce79224_2" ; +"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: s:std::basic_string,std::allocator> x:int* \n DECLARE_LOCALS(&return,&s,&x); [line 17, column 1]\n " color=yellow style=filled] - "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; +"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] +"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Destruction \n _=*&s:std::basic_string,std::allocator> [line 24, column 1]\n _fun_std::basic_string,std::allocator>_~basic_string(&s:std::basic_string,std::allocator>*) [line 24, column 1]\n _=*&x:int* [line 24, column 1]\n _fun_std::shared_ptr_~shared_ptr(&x:int**) [line 24, column 1]\n " shape="box"] -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; +"main.fad58de7366495db4650cfefac2fcd61_4" [label="4: DeclStmt \n _fun_std::basic_string,std::allocator>_basic_string(&s:std::basic_string,std::allocator>*,\"1234\":char const *) [line 22, column 15]\n " shape="box"] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; +"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: DeclStmt \n _fun_std::shared_ptr_shared_ptr(&x:int**) [line 21, column 24]\n n$2=*&x:int* [line 21, column 24]\n " shape="box"] - "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Call _fun_external::fun \n n$3=_fun_external::fun(1:int) [line 20, column 3]\n " shape="box"] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Call _fun_internal_exclude::fun \n n$4=_fun_internal_exclude::fun(1:int) [line 19, column 3]\n " shape="box"] -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; +"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Call _fun_internal::fun \n n$5=_fun_internal::fun(1:int) [line 18, column 3]\n " shape="box"] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" [label="1: Start unused_deref_in_header\nFormals: a:int*\nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 16, column 1]\n " color=yellow style=filled] - "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_1" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" [label="2: Exit unused_deref_in_header \n " color=yellow style=filled] - "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" [label="3: Return Stmt \n n$0=*&a:int* [line 18, column 11]\n n$1=*n$0:int [line 18, column 10]\n *&return:int=n$1 [line 18, column 3]\n " shape="box"] -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_2" ; +"unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" [label="4: DeclStmt \n n$2=_fun_internal::used_in_main_header(0:int) [line 17, column 11]\n *&x:int=n$2 [line 17, column 3]\n " shape="box"] - "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] + "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_4" -> "unused_deref_in_header#15260603227785084028.ec2f844a26989dc35e9856ba0d7a485b_3" ; +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" [label="1: Start internal::used_in_main_header\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] - "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] + "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_1" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" ; +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" [label="2: Exit internal::used_in_main_header \n " color=yellow style=filled] -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] +"used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" [label="3: Return Stmt \n n$0=*&a:int [line 19, column 41]\n *&return:int=n$0 [line 19, column 34]\n " shape="box"] - "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ; + "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_3" -> "used_in_main_header#internal#16695915931787022844.43e60de71a2b141c8436dddf68ff1b63_2" ; "__infer_atomic_base#__infer_atomic_base#std#{13775723528237147754|constexpr}.1a6095f0713eed47cffb337d5bd470ba_1" [label="1: Start std::__infer_atomic_base___infer_atomic_base\nFormals: this:std::__infer_atomic_base* desired:long\nLocals: \n DECLARE_LOCALS(&return); [line 167, column 3]\n " color=yellow style=filled] @@ -552,6 +478,21 @@ digraph cfg { "__infer_atomic_integral#__infer_atomic_integral#std#{10860901722123512962|constexpr}.f85ea1dfc790b10c2617a4d4f5cafd29_3" -> "__infer_atomic_integral#__infer_atomic_integral#std#{10860901722123512962|constexpr}.f85ea1dfc790b10c2617a4d4f5cafd29_2" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] + + +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] + + + "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; "atomic#atomic#std#{18219637643674479567|constexpr}.a4a5467727100ba5642b3dca850c391b_1" [label="1: Start std::atomic_atomic\nFormals: this:std::atomic* d:unsigned short\nLocals: \n DECLARE_LOCALS(&return); [line 408, column 3]\n " color=yellow style=filled] @@ -717,6 +658,76 @@ digraph cfg { "atomic_flag#atomic_flag#std#{10931176997288531904|constexpr}.57d7555f5addc9691c180d812b1aad13_3" -> "atomic_flag#atomic_flag#std#{10931176997288531904|constexpr}.57d7555f5addc9691c180d812b1aad13_2" ; +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 945, column 3]\n " color=yellow style=filled] + + + "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" ; +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + + +"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 946, column 5]\n *n$0.a:_Bool=0 [line 946, column 5]\n " shape="box"] + + + "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" ; +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 948, column 3]\n " color=yellow style=filled] + + + "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" ; +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + + +"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 948, column 65]\n *n$0.a:_Bool=0 [line 948, column 65]\n " shape="box"] + + + "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" ; +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:void*\nLocals: \n DECLARE_LOCALS(&return); [line 66, column 3]\n " color=yellow style=filled] + + + "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_1" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" ; +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + + +"model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 67, column 6]\n n$1=*&value:void* [line 67, column 37]\n *n$0:void const *=n$1 [line 67, column 5]\n " shape="box"] + + + "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" [label="1: Start std::shared_ptr_model_set\nFormals: self:void const ** value:int\nLocals: \n DECLARE_LOCALS(&return); [line 54, column 3]\n " color=yellow style=filled] + + + "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_1" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" ; +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" [label="2: Exit std::shared_ptr_model_set \n " color=yellow style=filled] + + +"model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:void const ** [line 55, column 6]\n n$1=*&value:int [line 55, column 13]\n *n$0:void const *=n$1 [line 55, column 5]\n " shape="box"] + + + "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_3" -> "model_set#shared_ptr#std#(4842545188773067100).667f44fdf24815c87b171dd5a05fce4a_2" ; +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] + + + "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] + + +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] + + + "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] + + +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] + + + "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; "test_and_set#atomic_flag#std#(6342589292624928640).e1a95571862fb026e9cf3fed47e15f71_1" [label="1: Start std::atomic_flag_test_and_set\nFormals: this:std::atomic_flag* mo:int\nLocals: ret:_Bool \n DECLARE_LOCALS(&return,&ret); [line 934, column 3]\n " color=yellow style=filled] @@ -755,26 +766,15 @@ digraph cfg { "test_and_set#atomic_flag#std#(6471561702066990866).1f32ee5584df8a2cd5807312ee98cdb7_5" -> "test_and_set#atomic_flag#std#(6471561702066990866).1f32ee5584df8a2cd5807312ee98cdb7_4" ; -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 945, column 3]\n " color=yellow style=filled] - - - "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_1" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" ; -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] - - -"clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 946, column 5]\n *n$0.a:_Bool=0 [line 946, column 5]\n " shape="box"] - - - "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_3" -> "clear#atomic_flag#std#(3684357514402407574).b0b9e53b3e4cf6978b960d4491c0af6d_2" ; -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" [label="1: Start std::atomic_flag_clear\nFormals: this:std::atomic_flag* mo:int\nLocals: \n DECLARE_LOCALS(&return); [line 948, column 3]\n " color=yellow style=filled] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] - "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_1" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" ; -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" [label="2: Exit std::atomic_flag_clear \n " color=yellow style=filled] + "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] -"clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:std::atomic_flag* [line 948, column 65]\n *n$0.a:_Bool=0 [line 948, column 65]\n " shape="box"] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] - "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_3" -> "clear#atomic_flag#std#(4757429354090136896).a3ca4a9a64ba2fa439a627057e253cfc_2" ; + "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; } diff --git a/infer/tests/codetoanalyze/c/frontend/arithmetic/negate.c.dot b/infer/tests/codetoanalyze/c/frontend/arithmetic/negate.c.dot index 24856c340..25fe826c7 100644 --- a/infer/tests/codetoanalyze/c/frontend/arithmetic/negate.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/arithmetic/negate.c.dot @@ -1,37 +1,5 @@ /* @generated */ digraph cfg { -"neg_char.53ef6b31d84386046a4728d1c45b5f7a_1" [label="1: Start neg_char\nFormals: a:char\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 12, column 1]\n " color=yellow style=filled] - - - "neg_char.53ef6b31d84386046a4728d1c45b5f7a_1" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_4" ; - "neg_char.53ef6b31d84386046a4728d1c45b5f7a_1" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_5" ; -"neg_char.53ef6b31d84386046a4728d1c45b5f7a_2" [label="2: Exit neg_char \n " color=yellow style=filled] - - -"neg_char.53ef6b31d84386046a4728d1c45b5f7a_3" [label="3: + \n " ] - - - "neg_char.53ef6b31d84386046a4728d1c45b5f7a_3" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_8" ; -"neg_char.53ef6b31d84386046a4728d1c45b5f7a_4" [label="4: Prune (true branch, boolean exp) \n n$1=*&a:char [line 12, column 32]\n PRUNE(n$1, true); [line 12, column 32]\n " shape="invhouse"] - - - "neg_char.53ef6b31d84386046a4728d1c45b5f7a_4" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_6" ; -"neg_char.53ef6b31d84386046a4728d1c45b5f7a_5" [label="5: Prune (false branch, boolean exp) \n n$1=*&a:char [line 12, column 32]\n PRUNE(!n$1, false); [line 12, column 32]\n " shape="invhouse"] - - - "neg_char.53ef6b31d84386046a4728d1c45b5f7a_5" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_7" ; -"neg_char.53ef6b31d84386046a4728d1c45b5f7a_6" [label="6: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=0 [line 12, column 31]\n " shape="box"] - - - "neg_char.53ef6b31d84386046a4728d1c45b5f7a_6" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_3" ; -"neg_char.53ef6b31d84386046a4728d1c45b5f7a_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=1 [line 12, column 31]\n " shape="box"] - - - "neg_char.53ef6b31d84386046a4728d1c45b5f7a_7" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_3" ; -"neg_char.53ef6b31d84386046a4728d1c45b5f7a_8" [label="8: Return Stmt \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 12, column 31]\n *&return:int=n$2 [line 12, column 24]\n " shape="box"] - - - "neg_char.53ef6b31d84386046a4728d1c45b5f7a_8" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_2" ; "neg_bool.e953d6477eaaeafaa430423a26fbaac9_1" [label="1: Start neg_bool\nFormals: a:_Bool\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 14, column 1]\n " color=yellow style=filled] @@ -64,6 +32,38 @@ digraph cfg { "neg_bool.e953d6477eaaeafaa430423a26fbaac9_8" -> "neg_bool.e953d6477eaaeafaa430423a26fbaac9_2" ; +"neg_char.53ef6b31d84386046a4728d1c45b5f7a_1" [label="1: Start neg_char\nFormals: a:char\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 12, column 1]\n " color=yellow style=filled] + + + "neg_char.53ef6b31d84386046a4728d1c45b5f7a_1" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_4" ; + "neg_char.53ef6b31d84386046a4728d1c45b5f7a_1" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_5" ; +"neg_char.53ef6b31d84386046a4728d1c45b5f7a_2" [label="2: Exit neg_char \n " color=yellow style=filled] + + +"neg_char.53ef6b31d84386046a4728d1c45b5f7a_3" [label="3: + \n " ] + + + "neg_char.53ef6b31d84386046a4728d1c45b5f7a_3" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_8" ; +"neg_char.53ef6b31d84386046a4728d1c45b5f7a_4" [label="4: Prune (true branch, boolean exp) \n n$1=*&a:char [line 12, column 32]\n PRUNE(n$1, true); [line 12, column 32]\n " shape="invhouse"] + + + "neg_char.53ef6b31d84386046a4728d1c45b5f7a_4" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_6" ; +"neg_char.53ef6b31d84386046a4728d1c45b5f7a_5" [label="5: Prune (false branch, boolean exp) \n n$1=*&a:char [line 12, column 32]\n PRUNE(!n$1, false); [line 12, column 32]\n " shape="invhouse"] + + + "neg_char.53ef6b31d84386046a4728d1c45b5f7a_5" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_7" ; +"neg_char.53ef6b31d84386046a4728d1c45b5f7a_6" [label="6: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=0 [line 12, column 31]\n " shape="box"] + + + "neg_char.53ef6b31d84386046a4728d1c45b5f7a_6" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_3" ; +"neg_char.53ef6b31d84386046a4728d1c45b5f7a_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=1 [line 12, column 31]\n " shape="box"] + + + "neg_char.53ef6b31d84386046a4728d1c45b5f7a_7" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_3" ; +"neg_char.53ef6b31d84386046a4728d1c45b5f7a_8" [label="8: Return Stmt \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 12, column 31]\n *&return:int=n$2 [line 12, column 24]\n " shape="box"] + + + "neg_char.53ef6b31d84386046a4728d1c45b5f7a_8" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_2" ; "neg_int.2aa25aca565c41dd997912d11504462c_1" [label="1: Start neg_int\nFormals: a:int\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 10, column 1]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c.dot b/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c.dot index 62340e627..3e07eef4a 100644 --- a/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c.dot @@ -1,5 +1,12 @@ /* @generated */ digraph cfg { +"check.0ba4439ee9a46d9d9f14c60f88f45f87_1" [label="1: Start check\nFormals: x:int\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] + + + "check.0ba4439ee9a46d9d9f14c60f88f45f87_1" -> "check.0ba4439ee9a46d9d9f14c60f88f45f87_2" ; +"check.0ba4439ee9a46d9d9f14c60f88f45f87_2" [label="2: Exit check \n " color=yellow style=filled] + + "main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:int x:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0,&x); [line 12, column 1]\n " color=yellow style=filled] @@ -40,11 +47,4 @@ digraph cfg { "main.fad58de7366495db4650cfefac2fcd61_10" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"check.0ba4439ee9a46d9d9f14c60f88f45f87_1" [label="1: Start check\nFormals: x:int\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] - - - "check.0ba4439ee9a46d9d9f14c60f88f45f87_1" -> "check.0ba4439ee9a46d9d9f14c60f88f45f87_2" ; -"check.0ba4439ee9a46d9d9f14c60f88f45f87_2" [label="2: Exit check \n " color=yellow style=filled] - - } diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c.dot index 182855883..37a237879 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c.dot @@ -1,5 +1,91 @@ /* @generated */ digraph cfg { +"bar.37b51d194a7513e45b56f6524f2d51f2_1" [label="1: Start bar\nFormals: \nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:int 0$?%__sil_tmpSIL_temp_conditional___n$1:int 0$?%__sil_tmpSIL_temp_conditional___n$5:int y:int x:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0,&0$?%__sil_tmpSIL_temp_conditional___n$1,&0$?%__sil_tmpSIL_temp_conditional___n$5,&y,&x); [line 21, column 1]\n " color=yellow style=filled] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_1" -> "bar.37b51d194a7513e45b56f6524f2d51f2_16" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_2" [label="2: Exit bar \n " color=yellow style=filled] + + +"bar.37b51d194a7513e45b56f6524f2d51f2_3" [label="3: + \n " ] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_3" -> "bar.37b51d194a7513e45b56f6524f2d51f2_14" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_4" [label="4: + \n " ] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_4" -> "bar.37b51d194a7513e45b56f6524f2d51f2_9" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_5" [label="5: Prune (true branch, boolean exp) \n PRUNE((3 > 4), true); [line 24, column 17]\n " shape="invhouse"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_5" -> "bar.37b51d194a7513e45b56f6524f2d51f2_7" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_6" [label="6: Prune (false branch, boolean exp) \n PRUNE(!(3 > 4), false); [line 24, column 17]\n " shape="invhouse"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_6" -> "bar.37b51d194a7513e45b56f6524f2d51f2_8" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int=1 [line 24, column 17]\n " shape="box"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_7" -> "bar.37b51d194a7513e45b56f6524f2d51f2_4" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int=2 [line 24, column 17]\n " shape="box"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_8" -> "bar.37b51d194a7513e45b56f6524f2d51f2_4" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_9" [label="9: BinaryOperatorStmt: GT \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int [line 24, column 17]\n " shape="box"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_9" -> "bar.37b51d194a7513e45b56f6524f2d51f2_10" ; + "bar.37b51d194a7513e45b56f6524f2d51f2_9" -> "bar.37b51d194a7513e45b56f6524f2d51f2_11" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_10" [label="10: Prune (true branch, boolean exp) \n PRUNE((n$2 > 1), true); [line 24, column 16]\n " shape="invhouse"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_10" -> "bar.37b51d194a7513e45b56f6524f2d51f2_12" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_11" [label="11: Prune (false branch, boolean exp) \n PRUNE(!(n$2 > 1), false); [line 24, column 16]\n " shape="invhouse"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_11" -> "bar.37b51d194a7513e45b56f6524f2d51f2_13" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_12" [label="12: ConditinalStmt Branch \n *&x:int=1 [line 24, column 39]\n n$3=*&x:int [line 24, column 39]\n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=n$3 [line 24, column 16]\n " shape="box"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_12" -> "bar.37b51d194a7513e45b56f6524f2d51f2_3" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_13" [label="13: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=0 [line 24, column 16]\n " shape="box"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_13" -> "bar.37b51d194a7513e45b56f6524f2d51f2_3" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_14" [label="14: Return Stmt \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 24, column 16]\n *&return:int=(0 + n$4) [line 24, column 3]\n " shape="box"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_14" -> "bar.37b51d194a7513e45b56f6524f2d51f2_2" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_15" [label="15: + \n " ] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_15" -> "bar.37b51d194a7513e45b56f6524f2d51f2_21" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_16" [label="16: BinaryOperatorStmt: GT \n *&x:int=1 [line 23, column 8]\n n$6=*&x:int [line 23, column 8]\n " shape="box"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_16" -> "bar.37b51d194a7513e45b56f6524f2d51f2_17" ; + "bar.37b51d194a7513e45b56f6524f2d51f2_16" -> "bar.37b51d194a7513e45b56f6524f2d51f2_18" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_17" [label="17: Prune (true branch, boolean exp) \n PRUNE((n$6 > 1), true); [line 23, column 7]\n " shape="invhouse"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_17" -> "bar.37b51d194a7513e45b56f6524f2d51f2_19" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_18" [label="18: Prune (false branch, boolean exp) \n PRUNE(!(n$6 > 1), false); [line 23, column 7]\n " shape="invhouse"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_18" -> "bar.37b51d194a7513e45b56f6524f2d51f2_20" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_19" [label="19: ConditinalStmt Branch \n n$7=*&x:int [line 23, column 22]\n *&x:int=(n$7 + 1) [line 23, column 22]\n *&0$?%__sil_tmpSIL_temp_conditional___n$5:int=(n$7 + 1) [line 23, column 7]\n " shape="box"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_19" -> "bar.37b51d194a7513e45b56f6524f2d51f2_15" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_20" [label="20: ConditinalStmt Branch \n n$8=*&x:int [line 23, column 30]\n *&x:int=(n$8 - 1) [line 23, column 30]\n *&0$?%__sil_tmpSIL_temp_conditional___n$5:int=n$8 [line 23, column 7]\n " shape="box"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_20" -> "bar.37b51d194a7513e45b56f6524f2d51f2_15" ; +"bar.37b51d194a7513e45b56f6524f2d51f2_21" [label="21: BinaryOperatorStmt: Assign \n n$9=*&0$?%__sil_tmpSIL_temp_conditional___n$5:int [line 23, column 7]\n *&y:int=n$9 [line 23, column 3]\n " shape="box"] + + + "bar.37b51d194a7513e45b56f6524f2d51f2_21" -> "bar.37b51d194a7513e45b56f6524f2d51f2_5" ; + "bar.37b51d194a7513e45b56f6524f2d51f2_21" -> "bar.37b51d194a7513e45b56f6524f2d51f2_6" ; "foo.acbd18db4cc2f85cedef654fccc4a4d8_1" [label="1: Start foo\nFormals: \nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:int 0$?%__sil_tmpSIL_temp_conditional___n$2:int 0$?%__sil_tmpSIL_temp_conditional___n$3:int n:int 0$?%__sil_tmpSIL_temp_conditional___n$6:int y:int x:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0,&0$?%__sil_tmpSIL_temp_conditional___n$2,&0$?%__sil_tmpSIL_temp_conditional___n$3,&n,&0$?%__sil_tmpSIL_temp_conditional___n$6,&y,&x); [line 10, column 1]\n " color=yellow style=filled] @@ -154,90 +240,4 @@ digraph cfg { "foo.acbd18db4cc2f85cedef654fccc4a4d8_37" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_31" ; "foo.acbd18db4cc2f85cedef654fccc4a4d8_37" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_32" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_1" [label="1: Start bar\nFormals: \nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:int 0$?%__sil_tmpSIL_temp_conditional___n$1:int 0$?%__sil_tmpSIL_temp_conditional___n$5:int y:int x:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0,&0$?%__sil_tmpSIL_temp_conditional___n$1,&0$?%__sil_tmpSIL_temp_conditional___n$5,&y,&x); [line 21, column 1]\n " color=yellow style=filled] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_1" -> "bar.37b51d194a7513e45b56f6524f2d51f2_16" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_2" [label="2: Exit bar \n " color=yellow style=filled] - - -"bar.37b51d194a7513e45b56f6524f2d51f2_3" [label="3: + \n " ] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_3" -> "bar.37b51d194a7513e45b56f6524f2d51f2_14" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_4" [label="4: + \n " ] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_4" -> "bar.37b51d194a7513e45b56f6524f2d51f2_9" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_5" [label="5: Prune (true branch, boolean exp) \n PRUNE((3 > 4), true); [line 24, column 17]\n " shape="invhouse"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_5" -> "bar.37b51d194a7513e45b56f6524f2d51f2_7" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_6" [label="6: Prune (false branch, boolean exp) \n PRUNE(!(3 > 4), false); [line 24, column 17]\n " shape="invhouse"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_6" -> "bar.37b51d194a7513e45b56f6524f2d51f2_8" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int=1 [line 24, column 17]\n " shape="box"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_7" -> "bar.37b51d194a7513e45b56f6524f2d51f2_4" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int=2 [line 24, column 17]\n " shape="box"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_8" -> "bar.37b51d194a7513e45b56f6524f2d51f2_4" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_9" [label="9: BinaryOperatorStmt: GT \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int [line 24, column 17]\n " shape="box"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_9" -> "bar.37b51d194a7513e45b56f6524f2d51f2_10" ; - "bar.37b51d194a7513e45b56f6524f2d51f2_9" -> "bar.37b51d194a7513e45b56f6524f2d51f2_11" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_10" [label="10: Prune (true branch, boolean exp) \n PRUNE((n$2 > 1), true); [line 24, column 16]\n " shape="invhouse"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_10" -> "bar.37b51d194a7513e45b56f6524f2d51f2_12" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_11" [label="11: Prune (false branch, boolean exp) \n PRUNE(!(n$2 > 1), false); [line 24, column 16]\n " shape="invhouse"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_11" -> "bar.37b51d194a7513e45b56f6524f2d51f2_13" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_12" [label="12: ConditinalStmt Branch \n *&x:int=1 [line 24, column 39]\n n$3=*&x:int [line 24, column 39]\n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=n$3 [line 24, column 16]\n " shape="box"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_12" -> "bar.37b51d194a7513e45b56f6524f2d51f2_3" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_13" [label="13: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=0 [line 24, column 16]\n " shape="box"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_13" -> "bar.37b51d194a7513e45b56f6524f2d51f2_3" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_14" [label="14: Return Stmt \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 24, column 16]\n *&return:int=(0 + n$4) [line 24, column 3]\n " shape="box"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_14" -> "bar.37b51d194a7513e45b56f6524f2d51f2_2" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_15" [label="15: + \n " ] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_15" -> "bar.37b51d194a7513e45b56f6524f2d51f2_21" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_16" [label="16: BinaryOperatorStmt: GT \n *&x:int=1 [line 23, column 8]\n n$6=*&x:int [line 23, column 8]\n " shape="box"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_16" -> "bar.37b51d194a7513e45b56f6524f2d51f2_17" ; - "bar.37b51d194a7513e45b56f6524f2d51f2_16" -> "bar.37b51d194a7513e45b56f6524f2d51f2_18" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_17" [label="17: Prune (true branch, boolean exp) \n PRUNE((n$6 > 1), true); [line 23, column 7]\n " shape="invhouse"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_17" -> "bar.37b51d194a7513e45b56f6524f2d51f2_19" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_18" [label="18: Prune (false branch, boolean exp) \n PRUNE(!(n$6 > 1), false); [line 23, column 7]\n " shape="invhouse"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_18" -> "bar.37b51d194a7513e45b56f6524f2d51f2_20" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_19" [label="19: ConditinalStmt Branch \n n$7=*&x:int [line 23, column 22]\n *&x:int=(n$7 + 1) [line 23, column 22]\n *&0$?%__sil_tmpSIL_temp_conditional___n$5:int=(n$7 + 1) [line 23, column 7]\n " shape="box"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_19" -> "bar.37b51d194a7513e45b56f6524f2d51f2_15" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_20" [label="20: ConditinalStmt Branch \n n$8=*&x:int [line 23, column 30]\n *&x:int=(n$8 - 1) [line 23, column 30]\n *&0$?%__sil_tmpSIL_temp_conditional___n$5:int=n$8 [line 23, column 7]\n " shape="box"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_20" -> "bar.37b51d194a7513e45b56f6524f2d51f2_15" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_21" [label="21: BinaryOperatorStmt: Assign \n n$9=*&0$?%__sil_tmpSIL_temp_conditional___n$5:int [line 23, column 7]\n *&y:int=n$9 [line 23, column 3]\n " shape="box"] - - - "bar.37b51d194a7513e45b56f6524f2d51f2_21" -> "bar.37b51d194a7513e45b56f6524f2d51f2_5" ; - "bar.37b51d194a7513e45b56f6524f2d51f2_21" -> "bar.37b51d194a7513e45b56f6524f2d51f2_6" ; } diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c.dot index f7a0770e5..0fdee54bc 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c.dot @@ -68,6 +68,17 @@ digraph cfg { "test1.5a105e8b9d40e1329780d62ea2265d8a_9" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_3" ; +"test2.ad0234829205b9033196ba818f7a872b_1" [label="1: Start test2\nFormals: x:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] + + + "test2.ad0234829205b9033196ba818f7a872b_1" -> "test2.ad0234829205b9033196ba818f7a872b_3" ; +"test2.ad0234829205b9033196ba818f7a872b_2" [label="2: Exit test2 \n " color=yellow style=filled] + + +"test2.ad0234829205b9033196ba818f7a872b_3" [label="3: Return Stmt \n n$0=*&x:int [line 12, column 27]\n *&return:int=n$0 [line 12, column 20]\n " shape="box"] + + + "test2.ad0234829205b9033196ba818f7a872b_3" -> "test2.ad0234829205b9033196ba818f7a872b_2" ; "test3.8ad8757baa8564dc136c1e07507f4a98_1" [label="1: Start test3\nFormals: b:int\nLocals: x:int 0$?%__sil_tmpSIL_temp_conditional___n$2:int \n DECLARE_LOCALS(&return,&x,&0$?%__sil_tmpSIL_temp_conditional___n$2); [line 21, column 1]\n " color=yellow style=filled] @@ -180,42 +191,6 @@ digraph cfg { "test5.e3d704f3542b44a621ebed70dc0efe13_9" -> "test5.e3d704f3542b44a621ebed70dc0efe13_2" ; -"test7.b04083e53e242626595e2b8ea327e525_1" [label="1: Start test7\nFormals: b:int\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$2:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$2); [line 35, column 1]\n " color=yellow style=filled] - - - "test7.b04083e53e242626595e2b8ea327e525_1" -> "test7.b04083e53e242626595e2b8ea327e525_8" ; -"test7.b04083e53e242626595e2b8ea327e525_2" [label="2: Exit test7 \n " color=yellow style=filled] - - -"test7.b04083e53e242626595e2b8ea327e525_3" [label="3: + \n " ] - - - "test7.b04083e53e242626595e2b8ea327e525_3" -> "test7.b04083e53e242626595e2b8ea327e525_9" ; -"test7.b04083e53e242626595e2b8ea327e525_4" [label="4: Prune (true branch, boolean exp) \n PRUNE(n$1, true); [line 35, column 27]\n " shape="invhouse"] - - - "test7.b04083e53e242626595e2b8ea327e525_4" -> "test7.b04083e53e242626595e2b8ea327e525_6" ; -"test7.b04083e53e242626595e2b8ea327e525_5" [label="5: Prune (false branch, boolean exp) \n PRUNE(!n$1, false); [line 35, column 27]\n " shape="invhouse"] - - - "test7.b04083e53e242626595e2b8ea327e525_5" -> "test7.b04083e53e242626595e2b8ea327e525_7" ; -"test7.b04083e53e242626595e2b8ea327e525_6" [label="6: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$2:int=n$1 [line 35, column 27]\n " shape="box"] - - - "test7.b04083e53e242626595e2b8ea327e525_6" -> "test7.b04083e53e242626595e2b8ea327e525_3" ; -"test7.b04083e53e242626595e2b8ea327e525_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$2:int=2 [line 35, column 27]\n " shape="box"] - - - "test7.b04083e53e242626595e2b8ea327e525_7" -> "test7.b04083e53e242626595e2b8ea327e525_3" ; -"test7.b04083e53e242626595e2b8ea327e525_8" [label="8: BinaryConditinalStmt Init \n n$0=_fun_test2(2:int) [line 35, column 37]\n n$1=_fun_test2((2 + n$0):int) [line 35, column 27]\n " shape="box"] - - - "test7.b04083e53e242626595e2b8ea327e525_8" -> "test7.b04083e53e242626595e2b8ea327e525_4" ; - "test7.b04083e53e242626595e2b8ea327e525_8" -> "test7.b04083e53e242626595e2b8ea327e525_5" ; -"test7.b04083e53e242626595e2b8ea327e525_9" [label="9: Return Stmt \n n$3=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 35, column 27]\n *&return:int=n$3 [line 35, column 20]\n " shape="box"] - - - "test7.b04083e53e242626595e2b8ea327e525_9" -> "test7.b04083e53e242626595e2b8ea327e525_2" ; "test6.4cfad7076129962ee70c36839a1e3e15_1" [label="1: Start test6\nFormals: p:int*\nLocals: z:int 0$?%__sil_tmpSIL_temp_conditional___n$1:int \n DECLARE_LOCALS(&return,&z,&0$?%__sil_tmpSIL_temp_conditional___n$1); [line 30, column 1]\n " color=yellow style=filled] @@ -252,15 +227,40 @@ digraph cfg { "test6.4cfad7076129962ee70c36839a1e3e15_9" -> "test6.4cfad7076129962ee70c36839a1e3e15_3" ; -"test2.ad0234829205b9033196ba818f7a872b_1" [label="1: Start test2\nFormals: x:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] +"test7.b04083e53e242626595e2b8ea327e525_1" [label="1: Start test7\nFormals: b:int\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$2:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$2); [line 35, column 1]\n " color=yellow style=filled] - "test2.ad0234829205b9033196ba818f7a872b_1" -> "test2.ad0234829205b9033196ba818f7a872b_3" ; -"test2.ad0234829205b9033196ba818f7a872b_2" [label="2: Exit test2 \n " color=yellow style=filled] + "test7.b04083e53e242626595e2b8ea327e525_1" -> "test7.b04083e53e242626595e2b8ea327e525_8" ; +"test7.b04083e53e242626595e2b8ea327e525_2" [label="2: Exit test7 \n " color=yellow style=filled] -"test2.ad0234829205b9033196ba818f7a872b_3" [label="3: Return Stmt \n n$0=*&x:int [line 12, column 27]\n *&return:int=n$0 [line 12, column 20]\n " shape="box"] +"test7.b04083e53e242626595e2b8ea327e525_3" [label="3: + \n " ] - "test2.ad0234829205b9033196ba818f7a872b_3" -> "test2.ad0234829205b9033196ba818f7a872b_2" ; + "test7.b04083e53e242626595e2b8ea327e525_3" -> "test7.b04083e53e242626595e2b8ea327e525_9" ; +"test7.b04083e53e242626595e2b8ea327e525_4" [label="4: Prune (true branch, boolean exp) \n PRUNE(n$1, true); [line 35, column 27]\n " shape="invhouse"] + + + "test7.b04083e53e242626595e2b8ea327e525_4" -> "test7.b04083e53e242626595e2b8ea327e525_6" ; +"test7.b04083e53e242626595e2b8ea327e525_5" [label="5: Prune (false branch, boolean exp) \n PRUNE(!n$1, false); [line 35, column 27]\n " shape="invhouse"] + + + "test7.b04083e53e242626595e2b8ea327e525_5" -> "test7.b04083e53e242626595e2b8ea327e525_7" ; +"test7.b04083e53e242626595e2b8ea327e525_6" [label="6: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$2:int=n$1 [line 35, column 27]\n " shape="box"] + + + "test7.b04083e53e242626595e2b8ea327e525_6" -> "test7.b04083e53e242626595e2b8ea327e525_3" ; +"test7.b04083e53e242626595e2b8ea327e525_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$2:int=2 [line 35, column 27]\n " shape="box"] + + + "test7.b04083e53e242626595e2b8ea327e525_7" -> "test7.b04083e53e242626595e2b8ea327e525_3" ; +"test7.b04083e53e242626595e2b8ea327e525_8" [label="8: BinaryConditinalStmt Init \n n$0=_fun_test2(2:int) [line 35, column 37]\n n$1=_fun_test2((2 + n$0):int) [line 35, column 27]\n " shape="box"] + + + "test7.b04083e53e242626595e2b8ea327e525_8" -> "test7.b04083e53e242626595e2b8ea327e525_4" ; + "test7.b04083e53e242626595e2b8ea327e525_8" -> "test7.b04083e53e242626595e2b8ea327e525_5" ; +"test7.b04083e53e242626595e2b8ea327e525_9" [label="9: Return Stmt \n n$3=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 35, column 27]\n *&return:int=n$3 [line 35, column 20]\n " shape="box"] + + + "test7.b04083e53e242626595e2b8ea327e525_9" -> "test7.b04083e53e242626595e2b8ea327e525_2" ; } diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c.dot index d4eeb5409..6da8537dd 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c.dot @@ -1,59 +1,5 @@ /* @generated */ digraph cfg { -"test_loop.254a9d372f8f45542e409771135b9322_1" [label="1: Start test_loop\nFormals: \nLocals: block_size:char* spec:char* \n DECLARE_LOCALS(&return,&block_size,&spec); [line 29, column 1]\n " color=yellow style=filled] - - - "test_loop.254a9d372f8f45542e409771135b9322_1" -> "test_loop.254a9d372f8f45542e409771135b9322_13" ; -"test_loop.254a9d372f8f45542e409771135b9322_2" [label="2: Exit test_loop \n " color=yellow style=filled] - - -"test_loop.254a9d372f8f45542e409771135b9322_3" [label="3: + \n " ] - - - "test_loop.254a9d372f8f45542e409771135b9322_3" -> "test_loop.254a9d372f8f45542e409771135b9322_4" ; - "test_loop.254a9d372f8f45542e409771135b9322_3" -> "test_loop.254a9d372f8f45542e409771135b9322_5" ; -"test_loop.254a9d372f8f45542e409771135b9322_4" [label="4: Prune (true branch, while) \n n$0=*&spec:char* [line 36, column 12]\n PRUNE(!n$0, true); [line 36, column 12]\n " shape="invhouse"] - - - "test_loop.254a9d372f8f45542e409771135b9322_4" -> "test_loop.254a9d372f8f45542e409771135b9322_6" ; -"test_loop.254a9d372f8f45542e409771135b9322_5" [label="5: Prune (false branch, while) \n n$0=*&spec:char* [line 36, column 12]\n PRUNE(n$0, false); [line 36, column 12]\n " shape="invhouse"] - - - "test_loop.254a9d372f8f45542e409771135b9322_5" -> "test_loop.254a9d372f8f45542e409771135b9322_2" ; -"test_loop.254a9d372f8f45542e409771135b9322_6" [label="6: BinaryOperatorStmt: Assign \n n$1=_fun_getenv(\"BLOCK_SIZE\":char const *) [line 36, column 29]\n *&spec:char*=n$1 [line 36, column 22]\n n$2=*&spec:char* [line 36, column 22]\n " shape="box"] - - - "test_loop.254a9d372f8f45542e409771135b9322_6" -> "test_loop.254a9d372f8f45542e409771135b9322_7" ; - "test_loop.254a9d372f8f45542e409771135b9322_6" -> "test_loop.254a9d372f8f45542e409771135b9322_8" ; -"test_loop.254a9d372f8f45542e409771135b9322_7" [label="7: Prune (true branch, while) \n PRUNE(!n$2, true); [line 36, column 22]\n " shape="invhouse"] - - - "test_loop.254a9d372f8f45542e409771135b9322_7" -> "test_loop.254a9d372f8f45542e409771135b9322_9" ; -"test_loop.254a9d372f8f45542e409771135b9322_8" [label="8: Prune (false branch, while) \n PRUNE(n$2, false); [line 36, column 22]\n " shape="invhouse"] - - - "test_loop.254a9d372f8f45542e409771135b9322_8" -> "test_loop.254a9d372f8f45542e409771135b9322_2" ; -"test_loop.254a9d372f8f45542e409771135b9322_9" [label="9: BinaryOperatorStmt: Assign \n n$3=_fun_getenv(\"BLOCKSIZE\":char const *) [line 37, column 20]\n *&spec:char*=n$3 [line 37, column 13]\n n$4=*&spec:char* [line 37, column 13]\n " shape="box"] - - - "test_loop.254a9d372f8f45542e409771135b9322_9" -> "test_loop.254a9d372f8f45542e409771135b9322_10" ; - "test_loop.254a9d372f8f45542e409771135b9322_9" -> "test_loop.254a9d372f8f45542e409771135b9322_11" ; -"test_loop.254a9d372f8f45542e409771135b9322_10" [label="10: Prune (true branch, while) \n PRUNE(!n$4, true); [line 37, column 13]\n " shape="invhouse"] - - - "test_loop.254a9d372f8f45542e409771135b9322_10" -> "test_loop.254a9d372f8f45542e409771135b9322_12" ; -"test_loop.254a9d372f8f45542e409771135b9322_11" [label="11: Prune (false branch, while) \n PRUNE(n$4, false); [line 37, column 13]\n " shape="invhouse"] - - - "test_loop.254a9d372f8f45542e409771135b9322_11" -> "test_loop.254a9d372f8f45542e409771135b9322_2" ; -"test_loop.254a9d372f8f45542e409771135b9322_12" [label="12: BinaryOperatorStmt: Assign \n *&block_size:char*=null [line 38, column 5]\n " shape="box"] - - - "test_loop.254a9d372f8f45542e409771135b9322_12" -> "test_loop.254a9d372f8f45542e409771135b9322_3" ; -"test_loop.254a9d372f8f45542e409771135b9322_13" [label="13: BinaryOperatorStmt: Assign \n n$5=_fun_getenv(\"BLOCK\":char const *) [line 34, column 10]\n *&spec:char*=n$5 [line 34, column 3]\n " shape="box"] - - - "test_loop.254a9d372f8f45542e409771135b9322_13" -> "test_loop.254a9d372f8f45542e409771135b9322_3" ; "main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: block_size:char* spec:char* \n DECLARE_LOCALS(&return,&block_size,&spec); [line 42, column 1]\n " color=yellow style=filled] @@ -133,6 +79,51 @@ digraph cfg { "main.fad58de7366495db4650cfefac2fcd61_19" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; "main.fad58de7366495db4650cfefac2fcd61_19" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_1" [label="1: Start shortcircuit_and\nFormals: x:int*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 1]\n " color=yellow style=filled] + + + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_1" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_5" ; + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_1" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_6" ; +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_2" [label="2: Exit shortcircuit_and \n " color=yellow style=filled] + + +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_3" [label="3: + \n " ] + + + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_3" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_4" ; +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_4" [label="4: between_join_and_exit \n " shape="box"] + + + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_4" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_2" ; +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_5" [label="5: Prune (true branch, if) \n n$0=*&x:int* [line 22, column 8]\n PRUNE(!n$0, true); [line 22, column 8]\n " shape="invhouse"] + + + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_5" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_7" ; +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_6" [label="6: Prune (false branch, if) \n n$0=*&x:int* [line 22, column 8]\n PRUNE(n$0, false); [line 22, column 8]\n " shape="invhouse"] + + + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_6" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" ; +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_7" [label="7: BinaryOperatorStmt: Assign \n n$1=_fun_getenv(\"BLOCK\":char const *) [line 22, column 19]\n *&x:int*=n$1 [line 22, column 15]\n n$2=*&x:int* [line 22, column 15]\n " shape="box"] + + + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_7" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_8" ; + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_7" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_9" ; +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_8" [label="8: Prune (true branch, if) \n PRUNE(!n$2, true); [line 22, column 15]\n " shape="invhouse"] + + + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_8" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_10" ; +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_9" [label="9: Prune (false branch, if) \n PRUNE(n$2, false); [line 22, column 15]\n " shape="invhouse"] + + + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_9" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" ; +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_10" [label="10: BinaryOperatorStmt: Assign \n *&x:int*=17 [line 23, column 5]\n " shape="box"] + + + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_10" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_3" ; +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" [label="11: BinaryOperatorStmt: Assign \n n$3=*&x:int* [line 25, column 6]\n *n$3:int=32 [line 25, column 5]\n " shape="box"] + + + "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_3" ; "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_1" [label="1: Start shortcircuit_or\nFormals: x:int*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] @@ -182,49 +173,58 @@ digraph cfg { "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_12" -> "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_3" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_1" [label="1: Start shortcircuit_and\nFormals: x:int*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 1]\n " color=yellow style=filled] +"test_loop.254a9d372f8f45542e409771135b9322_1" [label="1: Start test_loop\nFormals: \nLocals: block_size:char* spec:char* \n DECLARE_LOCALS(&return,&block_size,&spec); [line 29, column 1]\n " color=yellow style=filled] - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_1" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_5" ; - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_1" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_6" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_2" [label="2: Exit shortcircuit_and \n " color=yellow style=filled] + "test_loop.254a9d372f8f45542e409771135b9322_1" -> "test_loop.254a9d372f8f45542e409771135b9322_13" ; +"test_loop.254a9d372f8f45542e409771135b9322_2" [label="2: Exit test_loop \n " color=yellow style=filled] -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_3" [label="3: + \n " ] +"test_loop.254a9d372f8f45542e409771135b9322_3" [label="3: + \n " ] - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_3" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_4" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_4" [label="4: between_join_and_exit \n " shape="box"] + "test_loop.254a9d372f8f45542e409771135b9322_3" -> "test_loop.254a9d372f8f45542e409771135b9322_4" ; + "test_loop.254a9d372f8f45542e409771135b9322_3" -> "test_loop.254a9d372f8f45542e409771135b9322_5" ; +"test_loop.254a9d372f8f45542e409771135b9322_4" [label="4: Prune (true branch, while) \n n$0=*&spec:char* [line 36, column 12]\n PRUNE(!n$0, true); [line 36, column 12]\n " shape="invhouse"] - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_4" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_2" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_5" [label="5: Prune (true branch, if) \n n$0=*&x:int* [line 22, column 8]\n PRUNE(!n$0, true); [line 22, column 8]\n " shape="invhouse"] + "test_loop.254a9d372f8f45542e409771135b9322_4" -> "test_loop.254a9d372f8f45542e409771135b9322_6" ; +"test_loop.254a9d372f8f45542e409771135b9322_5" [label="5: Prune (false branch, while) \n n$0=*&spec:char* [line 36, column 12]\n PRUNE(n$0, false); [line 36, column 12]\n " shape="invhouse"] - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_5" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_7" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_6" [label="6: Prune (false branch, if) \n n$0=*&x:int* [line 22, column 8]\n PRUNE(n$0, false); [line 22, column 8]\n " shape="invhouse"] + "test_loop.254a9d372f8f45542e409771135b9322_5" -> "test_loop.254a9d372f8f45542e409771135b9322_2" ; +"test_loop.254a9d372f8f45542e409771135b9322_6" [label="6: BinaryOperatorStmt: Assign \n n$1=_fun_getenv(\"BLOCK_SIZE\":char const *) [line 36, column 29]\n *&spec:char*=n$1 [line 36, column 22]\n n$2=*&spec:char* [line 36, column 22]\n " shape="box"] - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_6" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_7" [label="7: BinaryOperatorStmt: Assign \n n$1=_fun_getenv(\"BLOCK\":char const *) [line 22, column 19]\n *&x:int*=n$1 [line 22, column 15]\n n$2=*&x:int* [line 22, column 15]\n " shape="box"] + "test_loop.254a9d372f8f45542e409771135b9322_6" -> "test_loop.254a9d372f8f45542e409771135b9322_7" ; + "test_loop.254a9d372f8f45542e409771135b9322_6" -> "test_loop.254a9d372f8f45542e409771135b9322_8" ; +"test_loop.254a9d372f8f45542e409771135b9322_7" [label="7: Prune (true branch, while) \n PRUNE(!n$2, true); [line 36, column 22]\n " shape="invhouse"] - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_7" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_8" ; - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_7" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_9" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_8" [label="8: Prune (true branch, if) \n PRUNE(!n$2, true); [line 22, column 15]\n " shape="invhouse"] + "test_loop.254a9d372f8f45542e409771135b9322_7" -> "test_loop.254a9d372f8f45542e409771135b9322_9" ; +"test_loop.254a9d372f8f45542e409771135b9322_8" [label="8: Prune (false branch, while) \n PRUNE(n$2, false); [line 36, column 22]\n " shape="invhouse"] - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_8" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_10" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_9" [label="9: Prune (false branch, if) \n PRUNE(n$2, false); [line 22, column 15]\n " shape="invhouse"] + "test_loop.254a9d372f8f45542e409771135b9322_8" -> "test_loop.254a9d372f8f45542e409771135b9322_2" ; +"test_loop.254a9d372f8f45542e409771135b9322_9" [label="9: BinaryOperatorStmt: Assign \n n$3=_fun_getenv(\"BLOCKSIZE\":char const *) [line 37, column 20]\n *&spec:char*=n$3 [line 37, column 13]\n n$4=*&spec:char* [line 37, column 13]\n " shape="box"] - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_9" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_10" [label="10: BinaryOperatorStmt: Assign \n *&x:int*=17 [line 23, column 5]\n " shape="box"] + "test_loop.254a9d372f8f45542e409771135b9322_9" -> "test_loop.254a9d372f8f45542e409771135b9322_10" ; + "test_loop.254a9d372f8f45542e409771135b9322_9" -> "test_loop.254a9d372f8f45542e409771135b9322_11" ; +"test_loop.254a9d372f8f45542e409771135b9322_10" [label="10: Prune (true branch, while) \n PRUNE(!n$4, true); [line 37, column 13]\n " shape="invhouse"] - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_10" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_3" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" [label="11: BinaryOperatorStmt: Assign \n n$3=*&x:int* [line 25, column 6]\n *n$3:int=32 [line 25, column 5]\n " shape="box"] + "test_loop.254a9d372f8f45542e409771135b9322_10" -> "test_loop.254a9d372f8f45542e409771135b9322_12" ; +"test_loop.254a9d372f8f45542e409771135b9322_11" [label="11: Prune (false branch, while) \n PRUNE(n$4, false); [line 37, column 13]\n " shape="invhouse"] - "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_3" ; + "test_loop.254a9d372f8f45542e409771135b9322_11" -> "test_loop.254a9d372f8f45542e409771135b9322_2" ; +"test_loop.254a9d372f8f45542e409771135b9322_12" [label="12: BinaryOperatorStmt: Assign \n *&block_size:char*=null [line 38, column 5]\n " shape="box"] + + + "test_loop.254a9d372f8f45542e409771135b9322_12" -> "test_loop.254a9d372f8f45542e409771135b9322_3" ; +"test_loop.254a9d372f8f45542e409771135b9322_13" [label="13: BinaryOperatorStmt: Assign \n n$5=_fun_getenv(\"BLOCK\":char const *) [line 34, column 10]\n *&spec:char*=n$5 [line 34, column 3]\n " shape="box"] + + + "test_loop.254a9d372f8f45542e409771135b9322_13" -> "test_loop.254a9d372f8f45542e409771135b9322_3" ; } diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c.dot index 7b5da1899..42a378d4d 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c.dot @@ -1,16 +1,5 @@ /* @generated */ digraph cfg { -"identity.ff483d1ff591898a9942916050d2ca3f_1" [label="1: Start identity\nFormals: x:int\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] - - - "identity.ff483d1ff591898a9942916050d2ca3f_1" -> "identity.ff483d1ff591898a9942916050d2ca3f_3" ; -"identity.ff483d1ff591898a9942916050d2ca3f_2" [label="2: Exit identity \n " color=yellow style=filled] - - -"identity.ff483d1ff591898a9942916050d2ca3f_3" [label="3: Return Stmt \n n$0=*&x:int [line 10, column 30]\n *&return:int=n$0 [line 10, column 23]\n " shape="box"] - - - "identity.ff483d1ff591898a9942916050d2ca3f_3" -> "identity.ff483d1ff591898a9942916050d2ca3f_2" ; "bar.37b51d194a7513e45b56f6524f2d51f2_1" [label="1: Start bar\nFormals: x:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] @@ -104,6 +93,17 @@ digraph cfg { "baz.73feffa4b7f6bb68e44cf984c85f6e88_14" -> "baz.73feffa4b7f6bb68e44cf984c85f6e88_2" ; +"identity.ff483d1ff591898a9942916050d2ca3f_1" [label="1: Start identity\nFormals: x:int\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] + + + "identity.ff483d1ff591898a9942916050d2ca3f_1" -> "identity.ff483d1ff591898a9942916050d2ca3f_3" ; +"identity.ff483d1ff591898a9942916050d2ca3f_2" [label="2: Exit identity \n " color=yellow style=filled] + + +"identity.ff483d1ff591898a9942916050d2ca3f_3" [label="3: Return Stmt \n n$0=*&x:int [line 10, column 30]\n *&return:int=n$0 [line 10, column 23]\n " shape="box"] + + + "identity.ff483d1ff591898a9942916050d2ca3f_3" -> "identity.ff483d1ff591898a9942916050d2ca3f_2" ; "neg.f24c2c15b9d03797c6874986a8d19516_1" [label="1: Start neg\nFormals: x:int\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 29, column 1]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c.dot index e0aa1b2aa..4264284a2 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c.dot @@ -1,37 +1,5 @@ /* @generated */ digraph cfg { -"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_1" [label="1: Start call_ife_then_access_field\nFormals: \nLocals: z:int 0$?%__sil_tmpSIL_temp_conditional___n$0:int \n DECLARE_LOCALS(&return,&z,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 20, column 1]\n " color=yellow style=filled] - - - "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_1" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_4" ; - "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_1" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_5" ; -"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_2" [label="2: Exit call_ife_then_access_field \n " color=yellow style=filled] - - -"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_3" [label="3: + \n " ] - - - "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_3" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_8" ; -"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_4" [label="4: Prune (true branch, boolean exp) \n PRUNE(1, true); [line 20, column 54]\n " shape="invhouse"] - - - "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_4" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_6" ; -"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_5" [label="5: Prune (false branch, boolean exp) \n PRUNE(!1, false); [line 20, column 54]\n " shape="invhouse"] - - - "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_5" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_7" ; -"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_6" [label="6: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=2 [line 20, column 54]\n " shape="box"] - - - "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_6" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_3" ; -"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=3 [line 20, column 54]\n " shape="box"] - - - "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_7" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_3" ; -"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_8" [label="8: DeclStmt \n n$1=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 20, column 54]\n n$2=_fun_ret_ptr(n$1:int) [line 20, column 46]\n n$3=*n$2.field:int [line 20, column 45]\n *&z:int=n$3 [line 20, column 37]\n " shape="box"] - - - "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_8" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_2" ; "access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_1" [label="1: Start access_field_in_ife_branch\nFormals: \nLocals: z:int 0$?%__sil_tmpSIL_temp_conditional___n$0:int \n DECLARE_LOCALS(&return,&z,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 22, column 1]\n " color=yellow style=filled] @@ -64,6 +32,38 @@ digraph cfg { "access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_8" -> "access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_2" ; +"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_1" [label="1: Start call_ife_then_access_field\nFormals: \nLocals: z:int 0$?%__sil_tmpSIL_temp_conditional___n$0:int \n DECLARE_LOCALS(&return,&z,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 20, column 1]\n " color=yellow style=filled] + + + "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_1" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_4" ; + "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_1" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_5" ; +"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_2" [label="2: Exit call_ife_then_access_field \n " color=yellow style=filled] + + +"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_3" [label="3: + \n " ] + + + "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_3" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_8" ; +"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_4" [label="4: Prune (true branch, boolean exp) \n PRUNE(1, true); [line 20, column 54]\n " shape="invhouse"] + + + "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_4" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_6" ; +"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_5" [label="5: Prune (false branch, boolean exp) \n PRUNE(!1, false); [line 20, column 54]\n " shape="invhouse"] + + + "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_5" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_7" ; +"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_6" [label="6: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=2 [line 20, column 54]\n " shape="box"] + + + "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_6" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_3" ; +"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=3 [line 20, column 54]\n " shape="box"] + + + "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_7" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_3" ; +"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_8" [label="8: DeclStmt \n n$1=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 20, column 54]\n n$2=_fun_ret_ptr(n$1:int) [line 20, column 46]\n n$3=*n$2.field:int [line 20, column 45]\n *&z:int=n$3 [line 20, column 37]\n " shape="box"] + + + "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_8" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_2" ; "ife_then_access_field.314daa5b993f0f569c257230f350e2e2_1" [label="1: Start ife_then_access_field\nFormals: p:s* q:s*\nLocals: z:int 0$?%__sil_tmpSIL_temp_conditional___n$0:s* \n DECLARE_LOCALS(&return,&z,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 16, column 1]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c.dot b/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c.dot index 8b2793ad4..21bde695a 100644 --- a/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c.dot @@ -1,16 +1,5 @@ /* @generated */ digraph cfg { -"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_1" [label="1: Start getValue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - - - "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_1" -> "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" ; -"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_2" [label="2: Exit getValue \n " color=yellow style=filled] - - -"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" [label="3: Return Stmt \n *&return:int=2 [line 12, column 18]\n " shape="box"] - - - "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" -> "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_2" ; "g0.8ac829e3bb8338d74cfb45ebe834d8e1_1" [label="1: Start g0\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 14, column 1]\n " color=yellow style=filled] @@ -824,4 +813,15 @@ digraph cfg { "g8.c98b82371573afc08575815d90f5eac4_32" -> "g8.c98b82371573afc08575815d90f5eac4_31" ; +"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_1" [label="1: Start getValue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] + + + "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_1" -> "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" ; +"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_2" [label="2: Exit getValue \n " color=yellow style=filled] + + +"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" [label="3: Return Stmt \n *&return:int=2 [line 12, column 18]\n " shape="box"] + + + "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" -> "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_2" ; } diff --git a/infer/tests/codetoanalyze/c/frontend/initialization/struct_initlistexpr.c.dot b/infer/tests/codetoanalyze/c/frontend/initialization/struct_initlistexpr.c.dot index 86f6a0e9e..287534146 100644 --- a/infer/tests/codetoanalyze/c/frontend/initialization/struct_initlistexpr.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/initialization/struct_initlistexpr.c.dot @@ -1,27 +1,5 @@ /* @generated */ digraph cfg { -"foo.acbd18db4cc2f85cedef654fccc4a4d8_1" [label="1: Start foo\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 15, column 1]\n " color=yellow style=filled] - - - "foo.acbd18db4cc2f85cedef654fccc4a4d8_1" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_3" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_2" [label="2: Exit foo \n " color=yellow style=filled] - - -"foo.acbd18db4cc2f85cedef654fccc4a4d8_3" [label="3: Return Stmt \n *&return:int=5 [line 15, column 13]\n " shape="box"] - - - "foo.acbd18db4cc2f85cedef654fccc4a4d8_3" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_2" ; -"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: p:Point \n DECLARE_LOCALS(&return,&p); [line 17, column 1]\n " color=yellow style=filled] - - - "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; -"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] - - -"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: DeclStmt \n *&p.x:int=1 [line 17, column 31]\n n$0=_fun_foo() [line 17, column 35]\n *&p.y:int=(n$0 + 3) [line 17, column 31]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; "field_set_correctly.b8d9a4294a85d24818c312a099420dce_1" [label="1: Start field_set_correctly\nFormals: \nLocals: e:Employee \n DECLARE_LOCALS(&return,&e); [line 34, column 1]\n " color=yellow style=filled] @@ -37,6 +15,17 @@ digraph cfg { "field_set_correctly.b8d9a4294a85d24818c312a099420dce_4" -> "field_set_correctly.b8d9a4294a85d24818c312a099420dce_3" ; +"foo.acbd18db4cc2f85cedef654fccc4a4d8_1" [label="1: Start foo\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 15, column 1]\n " color=yellow style=filled] + + + "foo.acbd18db4cc2f85cedef654fccc4a4d8_1" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_3" ; +"foo.acbd18db4cc2f85cedef654fccc4a4d8_2" [label="2: Exit foo \n " color=yellow style=filled] + + +"foo.acbd18db4cc2f85cedef654fccc4a4d8_3" [label="3: Return Stmt \n *&return:int=5 [line 15, column 13]\n " shape="box"] + + + "foo.acbd18db4cc2f85cedef654fccc4a4d8_3" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_2" ; "implicit_expr_set_correctly.dcfe49f71ad24e86323cbad97b1a70fe_1" [label="1: Start implicit_expr_set_correctly\nFormals: \nLocals: imageDrawRect:rect \n DECLARE_LOCALS(&return,&imageDrawRect); [line 56, column 1]\n " color=yellow style=filled] @@ -52,6 +41,17 @@ digraph cfg { "implicit_expr_set_correctly.dcfe49f71ad24e86323cbad97b1a70fe_4" -> "implicit_expr_set_correctly.dcfe49f71ad24e86323cbad97b1a70fe_3" ; +"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: p:Point \n DECLARE_LOCALS(&return,&p); [line 17, column 1]\n " color=yellow style=filled] + + + "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; +"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] + + +"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: DeclStmt \n *&p.x:int=1 [line 17, column 31]\n n$0=_fun_foo() [line 17, column 35]\n *&p.y:int=(n$0 + 3) [line 17, column 31]\n " shape="box"] + + + "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; "point_coords_set_correctly.3abf7d8dcf379339f0fa9b69df909b28_1" [label="1: Start point_coords_set_correctly\nFormals: p:Point*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c.dot b/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c.dot index 4ece01003..9d240abf2 100644 --- a/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c.dot @@ -1,5 +1,16 @@ /* @generated */ digraph cfg { +"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_1" [label="1: Start getValue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 137, column 1]\n " color=yellow style=filled] + + + "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_1" -> "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" ; +"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_2" [label="2: Exit getValue \n " color=yellow style=filled] + + +"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" [label="3: Return Stmt \n *&return:int=1 [line 137, column 18]\n " shape="box"] + + + "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" -> "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_2" ; "m1.ae7be26cdaa742ca148068d5ac90eaca_1" [label="1: Start m1\nFormals: \nLocals: x:int value:int \n DECLARE_LOCALS(&return,&x,&value); [line 12, column 1]\n " color=yellow style=filled] @@ -95,6 +106,82 @@ digraph cfg { "m1.ae7be26cdaa742ca148068d5ac90eaca_23" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_4" ; +"m10.e66050aa5d0a7e0ecb49429ea4b0a32b_1" [label="1: Start m10\nFormals: \nLocals: value:int \n DECLARE_LOCALS(&return,&value); [line 185, column 1]\n " color=yellow style=filled] + + + "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_1" -> "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_5" ; +"m10.e66050aa5d0a7e0ecb49429ea4b0a32b_2" [label="2: Exit m10 \n " color=yellow style=filled] + + +"m10.e66050aa5d0a7e0ecb49429ea4b0a32b_3" [label="3: Return Stmt \n *&return:int=0 [line 188, column 3]\n " shape="box"] + + + "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_3" -> "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_2" ; +"m10.e66050aa5d0a7e0ecb49429ea4b0a32b_4" [label="4: Switch_stmt \n *&value:int=7 [line 187, column 11]\n n$0=*&value:int [line 187, column 11]\n " shape="box"] + + + "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_4" -> "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_3" ; +"m10.e66050aa5d0a7e0ecb49429ea4b0a32b_5" [label="5: DeclStmt \n *&value:int=0 [line 186, column 3]\n " shape="box"] + + + "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_5" -> "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_4" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_1" [label="1: Start m11\nFormals: \nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:int value:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0,&value); [line 191, column 1]\n " color=yellow style=filled] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_1" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_14" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_2" [label="2: Exit m11 \n " color=yellow style=filled] + + +"m11.c4534fe0ca256b331e9a3f14fe17229d_3" [label="3: Return Stmt \n *&return:int=0 [line 197, column 3]\n " shape="box"] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_3" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_2" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_4" [label="4: + \n " ] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_4" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_10" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_5" [label="5: BinaryOperatorStmt: EQ \n n$1=*&value:int [line 193, column 20]\n " shape="box"] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_5" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_6" ; + "m11.c4534fe0ca256b331e9a3f14fe17229d_5" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_7" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_6" [label="6: Prune (true branch, boolean exp) \n PRUNE((n$1 == 0), true); [line 193, column 20]\n " shape="invhouse"] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_6" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_8" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_7" [label="7: Prune (false branch, boolean exp) \n PRUNE(!(n$1 == 0), false); [line 193, column 20]\n " shape="invhouse"] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_7" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_9" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=7 [line 193, column 20]\n " shape="box"] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_8" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_4" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_9" [label="9: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=9 [line 193, column 20]\n " shape="box"] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_9" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_4" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_10" [label="10: Switch_stmt \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 193, column 20]\n *&value:int=n$2 [line 193, column 11]\n n$3=*&value:int [line 193, column 11]\n " shape="box"] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_10" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_12" ; + "m11.c4534fe0ca256b331e9a3f14fe17229d_10" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_13" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_11" [label="11: Call _fun_printf \n n$4=_fun_printf(\"(0)HELLO WORLD!\":char const *) [line 195, column 7]\n " shape="box"] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_11" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_3" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_12" [label="12: Prune (true branch, switch) \n PRUNE((n$3 == 0), true); [line 194, column 5]\n " shape="invhouse"] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_12" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_11" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_13" [label="13: Prune (false branch, switch) \n PRUNE(!(n$3 == 0), false); [line 194, column 5]\n " shape="invhouse"] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_13" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_3" ; +"m11.c4534fe0ca256b331e9a3f14fe17229d_14" [label="14: DeclStmt \n *&value:int=0 [line 192, column 3]\n " shape="box"] + + + "m11.c4534fe0ca256b331e9a3f14fe17229d_14" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_5" ; "m2.aaf2f89992379705dac844c0a2a1d45f_1" [label="1: Start m2\nFormals: \nLocals: something:int z:int x:int value:int \n DECLARE_LOCALS(&return,&something,&z,&x,&value); [line 35, column 1]\n " color=yellow style=filled] @@ -505,17 +592,6 @@ digraph cfg { "m6.36604411a85db2bd9e97e22bfb5b692d_23" -> "m6.36604411a85db2bd9e97e22bfb5b692d_5" ; -"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_1" [label="1: Start getValue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 137, column 1]\n " color=yellow style=filled] - - - "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_1" -> "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" ; -"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_2" [label="2: Exit getValue \n " color=yellow style=filled] - - -"getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" [label="3: Return Stmt \n *&return:int=1 [line 137, column 18]\n " shape="box"] - - - "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_3" -> "getValue.faa0c7b1433b0c97fcdc15fa47c8180f_2" ; "m7.0449904fbf32607bf8ce5c26823dbc29_1" [label="1: Start m7\nFormals: \nLocals: z:int something:int value:int \n DECLARE_LOCALS(&return,&z,&something,&value); [line 139, column 1]\n " color=yellow style=filled] @@ -727,80 +803,4 @@ digraph cfg { "m9.5bbb291cc1e38a051365ee9edb7cbd14_5" -> "m9.5bbb291cc1e38a051365ee9edb7cbd14_4" ; -"m10.e66050aa5d0a7e0ecb49429ea4b0a32b_1" [label="1: Start m10\nFormals: \nLocals: value:int \n DECLARE_LOCALS(&return,&value); [line 185, column 1]\n " color=yellow style=filled] - - - "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_1" -> "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_5" ; -"m10.e66050aa5d0a7e0ecb49429ea4b0a32b_2" [label="2: Exit m10 \n " color=yellow style=filled] - - -"m10.e66050aa5d0a7e0ecb49429ea4b0a32b_3" [label="3: Return Stmt \n *&return:int=0 [line 188, column 3]\n " shape="box"] - - - "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_3" -> "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_2" ; -"m10.e66050aa5d0a7e0ecb49429ea4b0a32b_4" [label="4: Switch_stmt \n *&value:int=7 [line 187, column 11]\n n$0=*&value:int [line 187, column 11]\n " shape="box"] - - - "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_4" -> "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_3" ; -"m10.e66050aa5d0a7e0ecb49429ea4b0a32b_5" [label="5: DeclStmt \n *&value:int=0 [line 186, column 3]\n " shape="box"] - - - "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_5" -> "m10.e66050aa5d0a7e0ecb49429ea4b0a32b_4" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_1" [label="1: Start m11\nFormals: \nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:int value:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0,&value); [line 191, column 1]\n " color=yellow style=filled] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_1" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_14" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_2" [label="2: Exit m11 \n " color=yellow style=filled] - - -"m11.c4534fe0ca256b331e9a3f14fe17229d_3" [label="3: Return Stmt \n *&return:int=0 [line 197, column 3]\n " shape="box"] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_3" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_2" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_4" [label="4: + \n " ] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_4" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_10" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_5" [label="5: BinaryOperatorStmt: EQ \n n$1=*&value:int [line 193, column 20]\n " shape="box"] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_5" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_6" ; - "m11.c4534fe0ca256b331e9a3f14fe17229d_5" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_7" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_6" [label="6: Prune (true branch, boolean exp) \n PRUNE((n$1 == 0), true); [line 193, column 20]\n " shape="invhouse"] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_6" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_8" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_7" [label="7: Prune (false branch, boolean exp) \n PRUNE(!(n$1 == 0), false); [line 193, column 20]\n " shape="invhouse"] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_7" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_9" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=7 [line 193, column 20]\n " shape="box"] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_8" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_4" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_9" [label="9: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=9 [line 193, column 20]\n " shape="box"] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_9" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_4" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_10" [label="10: Switch_stmt \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 193, column 20]\n *&value:int=n$2 [line 193, column 11]\n n$3=*&value:int [line 193, column 11]\n " shape="box"] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_10" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_12" ; - "m11.c4534fe0ca256b331e9a3f14fe17229d_10" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_13" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_11" [label="11: Call _fun_printf \n n$4=_fun_printf(\"(0)HELLO WORLD!\":char const *) [line 195, column 7]\n " shape="box"] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_11" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_3" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_12" [label="12: Prune (true branch, switch) \n PRUNE((n$3 == 0), true); [line 194, column 5]\n " shape="invhouse"] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_12" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_11" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_13" [label="13: Prune (false branch, switch) \n PRUNE(!(n$3 == 0), false); [line 194, column 5]\n " shape="invhouse"] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_13" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_3" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_14" [label="14: DeclStmt \n *&value:int=0 [line 192, column 3]\n " shape="box"] - - - "m11.c4534fe0ca256b331e9a3f14fe17229d_14" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_5" ; } diff --git a/infer/tests/codetoanalyze/c/frontend/unusual_stmts/asm.c.dot b/infer/tests/codetoanalyze/c/frontend/unusual_stmts/asm.c.dot index 2686662cd..681c7811a 100644 --- a/infer/tests/codetoanalyze/c/frontend/unusual_stmts/asm.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/unusual_stmts/asm.c.dot @@ -1,20 +1,5 @@ /* @generated */ digraph cfg { -"test.098f6bcd4621d373cade4e832627b4f6_1" [label="1: Start test\nFormals: \nLocals: h:int z:int y:int x:int \n DECLARE_LOCALS(&return,&h,&z,&y,&x); [line 10, column 1]\n " color=yellow style=filled] - - - "test.098f6bcd4621d373cade4e832627b4f6_1" -> "test.098f6bcd4621d373cade4e832627b4f6_4" ; -"test.098f6bcd4621d373cade4e832627b4f6_2" [label="2: Exit test \n " color=yellow style=filled] - - -"test.098f6bcd4621d373cade4e832627b4f6_3" [label="3: Return Stmt \n *&return:int=0 [line 16, column 3]\n " shape="box"] - - - "test.098f6bcd4621d373cade4e832627b4f6_3" -> "test.098f6bcd4621d373cade4e832627b4f6_2" ; -"test.098f6bcd4621d373cade4e832627b4f6_4" [label="4: GCCAsmStmt \n _fun___infer_skip_gcc_asm_stmt(&x:int&,&y:int&,&z:int&,&h:int&,0:int) [line 15, column 3]\n " shape="box"] - - - "test.098f6bcd4621d373cade4e832627b4f6_4" -> "test.098f6bcd4621d373cade4e832627b4f6_3" ; "main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: dst:int src:int \n DECLARE_LOCALS(&return,&dst,&src); [line 19, column 1]\n " color=yellow style=filled] @@ -34,4 +19,19 @@ digraph cfg { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; +"test.098f6bcd4621d373cade4e832627b4f6_1" [label="1: Start test\nFormals: \nLocals: h:int z:int y:int x:int \n DECLARE_LOCALS(&return,&h,&z,&y,&x); [line 10, column 1]\n " color=yellow style=filled] + + + "test.098f6bcd4621d373cade4e832627b4f6_1" -> "test.098f6bcd4621d373cade4e832627b4f6_4" ; +"test.098f6bcd4621d373cade4e832627b4f6_2" [label="2: Exit test \n " color=yellow style=filled] + + +"test.098f6bcd4621d373cade4e832627b4f6_3" [label="3: Return Stmt \n *&return:int=0 [line 16, column 3]\n " shape="box"] + + + "test.098f6bcd4621d373cade4e832627b4f6_3" -> "test.098f6bcd4621d373cade4e832627b4f6_2" ; +"test.098f6bcd4621d373cade4e832627b4f6_4" [label="4: GCCAsmStmt \n _fun___infer_skip_gcc_asm_stmt(&x:int&,&y:int&,&z:int&,&h:int&,0:int) [line 15, column 3]\n " shape="box"] + + + "test.098f6bcd4621d373cade4e832627b4f6_4" -> "test.098f6bcd4621d373cade4e832627b4f6_3" ; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/attributes/clang_fallthrough.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/attributes/clang_fallthrough.cpp.dot index 3f91a1ff9..3a9361d6d 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/attributes/clang_fallthrough.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/attributes/clang_fallthrough.cpp.dot @@ -11,17 +11,6 @@ digraph cfg { "h#4941587955358707969.72d1ffab9146aba0866be6bd3e972603_3" -> "h#4941587955358707969.72d1ffab9146aba0866be6bd3e972603_2" ; -"test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_1" [label="1: Start test_fallthrough\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] - - - "test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_1" -> "test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_3" ; -"test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_2" [label="2: Exit test_fallthrough \n " color=yellow style=filled] - - -"test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_3" [label="3: Return Stmt \n n$0=_fun_switch_with_fallthrough(66:int) [line 27, column 38]\n *&return:int=(1 / (n$0 - 3)) [line 27, column 26]\n " shape="box"] - - - "test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_3" -> "test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_2" ; "switch_with_fallthrough#6355028676793350740.9380c19327ea36a0a69b7e115d031492_1" [label="1: Start switch_with_fallthrough\nFormals: n:int\nLocals: res:int \n DECLARE_LOCALS(&return,&res); [line 12, column 1]\n " color=yellow style=filled] @@ -81,4 +70,15 @@ digraph cfg { "switch_with_fallthrough#6355028676793350740.9380c19327ea36a0a69b7e115d031492_14" -> "switch_with_fallthrough#6355028676793350740.9380c19327ea36a0a69b7e115d031492_4" ; +"test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_1" [label="1: Start test_fallthrough\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] + + + "test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_1" -> "test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_3" ; +"test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_2" [label="2: Exit test_fallthrough \n " color=yellow style=filled] + + +"test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_3" [label="3: Return Stmt \n n$0=_fun_switch_with_fallthrough(66:int) [line 27, column 38]\n *&return:int=(1 / (n$0 - 3)) [line 27, column 26]\n " shape="box"] + + + "test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_3" -> "test_fallthrough#10031967177420807224.9a3ad886bb67a8e65c703cdc289f5661_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/builtin/new.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/builtin/new.cpp.dot index 4622fb745..d6d402a71 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/builtin/new.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/builtin/new.cpp.dot @@ -1,5 +1,16 @@ /* @generated */ digraph cfg { +"operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_1" [label="1: Start operator_new\nFormals: size:unsigned long ptr:void* ptr2:void*\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] + + + "operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_1" -> "operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_3" ; +"operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_2" [label="2: Exit operator_new \n " color=yellow style=filled] + + +"operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_3" [label="3: Return Stmt \n n$0=*&ptr2:void* [line 23, column 10]\n *&return:void*=n$0 [line 23, column 3]\n " shape="box"] + + + "operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_3" -> "operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_2" ; "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" [label="1: Start test\nFormals: \nLocals: i:int* x:int \n DECLARE_LOCALS(&return,&i,&x); [line 10, column 1]\n " color=yellow style=filled] @@ -34,15 +45,4 @@ digraph cfg { "test_placement#7589029240520377616.7f92d4e10c030674dddd1682731c0ba3_3" -> "test_placement#7589029240520377616.7f92d4e10c030674dddd1682731c0ba3_2" ; -"operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_1" [label="1: Start operator_new\nFormals: size:unsigned long ptr:void* ptr2:void*\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] - - - "operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_1" -> "operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_3" ; -"operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_2" [label="2: Exit operator_new \n " color=yellow style=filled] - - -"operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_3" [label="3: Return Stmt \n n$0=*&ptr2:void* [line 23, column 10]\n *&return:void*=n$0 [line 23, column 3]\n " shape="box"] - - - "operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_3" -> "operator_new#13351464032276683690.f7532bbe196cdd8520d944e0c3e1f7b4_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot index 12b22fdf6..fa847d983 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot @@ -1,66 +1,5 @@ /* @generated */ digraph cfg { -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_1" [label="1: Start break_scope::test_while1\nFormals: a:_Bool b:_Bool\nLocals: x2:break_scope::X x4:break_scope::X x1:break_scope::X \n DECLARE_LOCALS(&return,&x2,&x4,&x1); [line 68, column 1]\n " color=yellow style=filled] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_1" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_15" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_2" [label="2: Exit break_scope::test_while1 \n " color=yellow style=filled] - - -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_3" [label="3: Destruction \n _=*&x1:break_scope::X [line 78, column 1]\n _fun_break_scope::X_~X(&x1:break_scope::X*) [line 78, column 1]\n " shape="box"] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_3" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_2" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_4" [label="4: + \n " ] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_4" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_5" ; - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_4" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_6" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_5" [label="5: Prune (true branch, while) \n n$1=*&a:_Bool [line 70, column 10]\n PRUNE(n$1, true); [line 70, column 10]\n " shape="invhouse"] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_5" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_8" ; - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_5" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_9" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_6" [label="6: Prune (false branch, while) \n n$1=*&a:_Bool [line 70, column 10]\n PRUNE(!n$1, false); [line 70, column 10]\n " shape="invhouse"] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_6" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_3" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_7" [label="7: + \n " ] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_7" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_4" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_8" [label="8: Prune (true branch, if) \n n$2=*&b:_Bool [line 71, column 9]\n PRUNE(n$2, true); [line 71, column 9]\n " shape="invhouse"] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_8" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_12" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_9" [label="9: Prune (false branch, if) \n n$2=*&b:_Bool [line 71, column 9]\n PRUNE(!n$2, false); [line 71, column 9]\n " shape="invhouse"] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_9" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_14" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_10" [label="10: Destruction \n _=*&x2:break_scope::X [line 74, column 5]\n _fun_break_scope::X_~X(&x2:break_scope::X*) [line 74, column 5]\n " shape="box"] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_10" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_7" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_11" [label="11: Destruction \n _=*&x2:break_scope::X [line 73, column 7]\n _fun_break_scope::X_~X(&x2:break_scope::X*) [line 73, column 7]\n " shape="box"] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_11" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_3" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_12" [label="12: DeclStmt \n _fun_break_scope::X_X(&x2:break_scope::X*) [line 72, column 9]\n " shape="box"] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_12" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_11" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_13" [label="13: Destruction \n _=*&x4:break_scope::X [line 76, column 5]\n _fun_break_scope::X_~X(&x4:break_scope::X*) [line 76, column 5]\n " shape="box"] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_13" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_7" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_14" [label="14: DeclStmt \n _fun_break_scope::X_X(&x4:break_scope::X*) [line 75, column 9]\n " shape="box"] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_14" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_13" ; -"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_15" [label="15: DeclStmt \n _fun_break_scope::X_X(&x1:break_scope::X*) [line 69, column 5]\n " shape="box"] - - - "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_15" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_4" ; "test_do_while#break_scope#1068194121698893969.72aceeae2a95e32b3efdbdc08d127420_1" [label="1: Start break_scope::test_do_while\nFormals: a:_Bool b:_Bool\nLocals: x3:break_scope::X x4:break_scope::X x2:break_scope::X x1:break_scope::X \n DECLARE_LOCALS(&return,&x3,&x4,&x2,&x1); [line 80, column 1]\n " color=yellow style=filled] @@ -130,120 +69,75 @@ digraph cfg { "test_do_while#break_scope#1068194121698893969.72aceeae2a95e32b3efdbdc08d127420_17" -> "test_do_while#break_scope#1068194121698893969.72aceeae2a95e32b3efdbdc08d127420_4" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_1" [label="1: Start break_scope::test_while2\nFormals: a:_Bool b:_Bool\nLocals: x3:break_scope::X x2:break_scope::X x1:break_scope::X \n DECLARE_LOCALS(&return,&x3,&x2,&x1); [line 93, column 1]\n " color=yellow style=filled] - - - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_1" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_15" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_2" [label="2: Exit break_scope::test_while2 \n " color=yellow style=filled] - - -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_3" [label="3: Destruction \n _=*&x1:break_scope::X [line 102, column 1]\n _fun_break_scope::X_~X(&x1:break_scope::X*) [line 102, column 1]\n " shape="box"] - - - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_3" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_2" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_4" [label="4: + \n " ] - - - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_4" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_5" ; - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_4" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_6" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_5" [label="5: Prune (true branch, while) \n n$1=*&a:_Bool [line 95, column 10]\n PRUNE(n$1, true); [line 95, column 10]\n " shape="invhouse"] - - - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_5" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_14" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_6" [label="6: Prune (false branch, while) \n n$1=*&a:_Bool [line 95, column 10]\n PRUNE(!n$1, false); [line 95, column 10]\n " shape="invhouse"] - - - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_6" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_3" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_7" [label="7: Destruction \n _=*&x2:break_scope::X [line 101, column 3]\n _fun_break_scope::X_~X(&x2:break_scope::X*) [line 101, column 3]\n " shape="box"] - - - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_7" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_4" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_8" [label="8: + \n " ] - - - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_8" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_9" ; - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_8" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_10" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_9" [label="9: Prune (true branch, while) \n n$3=*&b:_Bool [line 97, column 12]\n PRUNE(n$3, true); [line 97, column 12]\n " shape="invhouse"] - - - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_9" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_13" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_10" [label="10: Prune (false branch, while) \n n$3=*&b:_Bool [line 97, column 12]\n PRUNE(!n$3, false); [line 97, column 12]\n " shape="invhouse"] - - - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_10" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_7" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_11" [label="11: Destruction \n _=*&x3:break_scope::X [line 100, column 5]\n _fun_break_scope::X_~X(&x3:break_scope::X*) [line 100, column 5]\n " shape="box"] - - - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_11" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_8" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_12" [label="12: Destruction \n _=*&x3:break_scope::X [line 99, column 7]\n _fun_break_scope::X_~X(&x3:break_scope::X*) [line 99, column 7]\n " shape="box"] +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_1" [label="1: Start break_scope::test_for\nFormals: b:_Bool\nLocals: x2:break_scope::X it:break_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$2:break_scope::iterator 0$?%__sil_tmp__temp_return_n$6:break_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$7:break_scope::iterator x1:break_scope::X vector:break_scope::vec \n DECLARE_LOCALS(&return,&x2,&it,&0$?%__sil_tmpSIL_materialize_temp__n$2,&0$?%__sil_tmp__temp_return_n$6,&0$?%__sil_tmpSIL_materialize_temp__n$7,&x1,&vector); [line 57, column 1]\n " color=yellow style=filled] - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_12" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_7" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_13" [label="13: DeclStmt \n _fun_break_scope::X_X(&x3:break_scope::X*) [line 98, column 9]\n " shape="box"] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_1" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_17" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_2" [label="2: Exit break_scope::test_for \n " color=yellow style=filled] - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_13" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_12" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_14" [label="14: DeclStmt \n _fun_break_scope::X_X(&x2:break_scope::X*) [line 96, column 7]\n " shape="box"] +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_3" [label="3: Destruction \n _=*&x2:break_scope::X [line 66, column 1]\n _fun_break_scope::X_~X(&x2:break_scope::X*) [line 66, column 1]\n _=*&vector:break_scope::vec [line 66, column 1]\n _fun_break_scope::vec_~vec(&vector:break_scope::vec*) [line 66, column 1]\n " shape="box"] - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_14" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_8" ; -"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_15" [label="15: DeclStmt \n _fun_break_scope::X_X(&x1:break_scope::X*) [line 94, column 5]\n " shape="box"] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_3" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_2" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_4" [label="4: DeclStmt \n _fun_break_scope::X_X(&x2:break_scope::X*) [line 65, column 5]\n " shape="box"] - "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_15" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_4" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_1" [label="1: Start break_scope::test_while3\nFormals: a:_Bool b:_Bool\nLocals: x3:break_scope::X x2:break_scope::X x1:break_scope::X \n DECLARE_LOCALS(&return,&x3,&x2,&x1); [line 104, column 1]\n " color=yellow style=filled] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_4" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_3" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_5" [label="5: + \n " ] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_1" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_13" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_2" [label="2: Exit break_scope::test_while3 \n " color=yellow style=filled] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_5" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_8" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_6" [label="6: DeclStmt \n _=*&vector:break_scope::vec [line 59, column 22]\n _fun_break_scope::vec_begin(&vector:break_scope::vec&,&0$?%__sil_tmpSIL_materialize_temp__n$2:break_scope::iterator*) [line 59, column 22]\n _fun_break_scope::iterator_iterator(&it:break_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$2:break_scope::iterator&) [line 59, column 22]\n " shape="box"] -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_3" [label="3: Destruction \n _=*&x3:break_scope::X [line 113, column 1]\n _fun_break_scope::X_~X(&x3:break_scope::X*) [line 113, column 1]\n _=*&x1:break_scope::X [line 113, column 1]\n _fun_break_scope::X_~X(&x1:break_scope::X*) [line 113, column 1]\n " shape="box"] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_6" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_5" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_7" [label="7: Call _fun_break_scope::iterator_operator++ \n _fun_break_scope::iterator_operator++(&it:break_scope::iterator&,&0$?%__sil_tmp__temp_return_n$6:break_scope::iterator*) [line 59, column 58]\n " shape="box"] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_3" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_2" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_4" [label="4: DeclStmt \n _fun_break_scope::X_X(&x3:break_scope::X*) [line 112, column 5]\n " shape="box"] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_7" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_5" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_8" [label="8: Call _fun_break_scope::iterator_operator!= \n _=*&vector:break_scope::vec [line 59, column 44]\n _fun_break_scope::vec_end(&vector:break_scope::vec&,&0$?%__sil_tmpSIL_materialize_temp__n$7:break_scope::iterator*) [line 59, column 44]\n n$10=_fun_break_scope::iterator_operator!=(&it:break_scope::iterator&,&0$?%__sil_tmpSIL_materialize_temp__n$7:break_scope::iterator&) [line 59, column 38]\n " shape="box"] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_4" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_3" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_5" [label="5: + \n " ] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_8" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_9" ; + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_8" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_10" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_9" [label="9: Prune (true branch, for loop) \n PRUNE(n$10, true); [line 59, column 38]\n " shape="invhouse"] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_5" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_6" ; - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_5" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_7" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_6" [label="6: Prune (true branch, while) \n n$2=*&a:_Bool [line 106, column 10]\n PRUNE(n$2, true); [line 106, column 10]\n " shape="invhouse"] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_9" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_12" ; + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_9" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_13" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_10" [label="10: Prune (false branch, for loop) \n PRUNE(!n$10, false); [line 59, column 38]\n " shape="invhouse"] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_6" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_12" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_7" [label="7: Prune (false branch, while) \n n$2=*&a:_Bool [line 106, column 10]\n PRUNE(!n$2, false); [line 106, column 10]\n " shape="invhouse"] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_10" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_4" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_11" [label="11: + \n " ] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_7" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_4" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_8" [label="8: Destruction \n _=*&x2:break_scope::X [line 111, column 3]\n _fun_break_scope::X_~X(&x2:break_scope::X*) [line 111, column 3]\n " shape="box"] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_11" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_7" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_12" [label="12: Prune (true branch, if) \n n$11=*&b:_Bool [line 60, column 9]\n PRUNE(n$11, true); [line 60, column 9]\n " shape="invhouse"] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_8" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_5" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_9" [label="9: + \n " ] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_12" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_16" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_13" [label="13: Prune (false branch, if) \n n$11=*&b:_Bool [line 60, column 9]\n PRUNE(!n$11, false); [line 60, column 9]\n " shape="invhouse"] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_9" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_10" ; - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_9" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_11" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_10" [label="10: Prune (true branch, while) \n n$4=*&b:_Bool [line 108, column 12]\n PRUNE(n$4, true); [line 108, column 12]\n " shape="invhouse"] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_13" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_11" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_14" [label="14: Destruction \n _=*&x1:break_scope::X [line 63, column 5]\n _fun_break_scope::X_~X(&x1:break_scope::X*) [line 63, column 5]\n " shape="box"] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_10" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_8" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_11" [label="11: Prune (false branch, while) \n n$4=*&b:_Bool [line 108, column 12]\n PRUNE(!n$4, false); [line 108, column 12]\n " shape="invhouse"] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_14" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_11" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_15" [label="15: Destruction \n _=*&x1:break_scope::X [line 62, column 7]\n _fun_break_scope::X_~X(&x1:break_scope::X*) [line 62, column 7]\n " shape="box"] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_11" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_8" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_12" [label="12: DeclStmt \n _fun_break_scope::X_X(&x2:break_scope::X*) [line 107, column 7]\n " shape="box"] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_15" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_4" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_16" [label="16: DeclStmt \n _fun_break_scope::X_X(&x1:break_scope::X*) [line 61, column 9]\n " shape="box"] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_12" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_9" ; -"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_13" [label="13: DeclStmt \n _fun_break_scope::X_X(&x1:break_scope::X*) [line 105, column 5]\n " shape="box"] + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_16" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_15" ; +"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_17" [label="17: DeclStmt \n _fun_break_scope::vec_vec(&vector:break_scope::vec*) [line 58, column 7]\n " shape="box"] - "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_13" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_5" ; + "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_17" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_6" ; "test_for_range#break_scope#2115859683356214080.ad34c277f8d086eb0a22c75fc80fb235_1" [label="1: Start break_scope::test_for_range\nFormals: b:_Bool\nLocals: __end:break_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$2:break_scope::iterator __begin:break_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$6:break_scope::iterator 0$?%__sil_tmp__temp_return_n$11:break_scope::iterator x2:break_scope::X x:break_scope::X 0$?%__sil_tmpSIL_materialize_temp__n$16:break_scope::X __range:break_scope::vec& x1:break_scope::X vector:break_scope::vec \n DECLARE_LOCALS(&return,&__end,&0$?%__sil_tmpSIL_materialize_temp__n$2,&__begin,&0$?%__sil_tmpSIL_materialize_temp__n$6,&0$?%__sil_tmp__temp_return_n$11,&x2,&x,&0$?%__sil_tmpSIL_materialize_temp__n$16,&__range,&x1,&vector); [line 46, column 1]\n " color=yellow style=filled] @@ -325,75 +219,6 @@ digraph cfg { "test_for_range#break_scope#2115859683356214080.ad34c277f8d086eb0a22c75fc80fb235_20" -> "test_for_range#break_scope#2115859683356214080.ad34c277f8d086eb0a22c75fc80fb235_19" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_1" [label="1: Start break_scope::test_for\nFormals: b:_Bool\nLocals: x2:break_scope::X it:break_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$2:break_scope::iterator 0$?%__sil_tmp__temp_return_n$6:break_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$7:break_scope::iterator x1:break_scope::X vector:break_scope::vec \n DECLARE_LOCALS(&return,&x2,&it,&0$?%__sil_tmpSIL_materialize_temp__n$2,&0$?%__sil_tmp__temp_return_n$6,&0$?%__sil_tmpSIL_materialize_temp__n$7,&x1,&vector); [line 57, column 1]\n " color=yellow style=filled] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_1" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_17" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_2" [label="2: Exit break_scope::test_for \n " color=yellow style=filled] - - -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_3" [label="3: Destruction \n _=*&x2:break_scope::X [line 66, column 1]\n _fun_break_scope::X_~X(&x2:break_scope::X*) [line 66, column 1]\n _=*&vector:break_scope::vec [line 66, column 1]\n _fun_break_scope::vec_~vec(&vector:break_scope::vec*) [line 66, column 1]\n " shape="box"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_3" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_2" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_4" [label="4: DeclStmt \n _fun_break_scope::X_X(&x2:break_scope::X*) [line 65, column 5]\n " shape="box"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_4" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_3" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_5" [label="5: + \n " ] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_5" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_8" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_6" [label="6: DeclStmt \n _=*&vector:break_scope::vec [line 59, column 22]\n _fun_break_scope::vec_begin(&vector:break_scope::vec&,&0$?%__sil_tmpSIL_materialize_temp__n$2:break_scope::iterator*) [line 59, column 22]\n _fun_break_scope::iterator_iterator(&it:break_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$2:break_scope::iterator&) [line 59, column 22]\n " shape="box"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_6" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_5" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_7" [label="7: Call _fun_break_scope::iterator_operator++ \n _fun_break_scope::iterator_operator++(&it:break_scope::iterator&,&0$?%__sil_tmp__temp_return_n$6:break_scope::iterator*) [line 59, column 58]\n " shape="box"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_7" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_5" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_8" [label="8: Call _fun_break_scope::iterator_operator!= \n _=*&vector:break_scope::vec [line 59, column 44]\n _fun_break_scope::vec_end(&vector:break_scope::vec&,&0$?%__sil_tmpSIL_materialize_temp__n$7:break_scope::iterator*) [line 59, column 44]\n n$10=_fun_break_scope::iterator_operator!=(&it:break_scope::iterator&,&0$?%__sil_tmpSIL_materialize_temp__n$7:break_scope::iterator&) [line 59, column 38]\n " shape="box"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_8" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_9" ; - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_8" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_10" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_9" [label="9: Prune (true branch, for loop) \n PRUNE(n$10, true); [line 59, column 38]\n " shape="invhouse"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_9" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_12" ; - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_9" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_13" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_10" [label="10: Prune (false branch, for loop) \n PRUNE(!n$10, false); [line 59, column 38]\n " shape="invhouse"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_10" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_4" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_11" [label="11: + \n " ] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_11" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_7" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_12" [label="12: Prune (true branch, if) \n n$11=*&b:_Bool [line 60, column 9]\n PRUNE(n$11, true); [line 60, column 9]\n " shape="invhouse"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_12" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_16" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_13" [label="13: Prune (false branch, if) \n n$11=*&b:_Bool [line 60, column 9]\n PRUNE(!n$11, false); [line 60, column 9]\n " shape="invhouse"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_13" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_11" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_14" [label="14: Destruction \n _=*&x1:break_scope::X [line 63, column 5]\n _fun_break_scope::X_~X(&x1:break_scope::X*) [line 63, column 5]\n " shape="box"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_14" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_11" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_15" [label="15: Destruction \n _=*&x1:break_scope::X [line 62, column 7]\n _fun_break_scope::X_~X(&x1:break_scope::X*) [line 62, column 7]\n " shape="box"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_15" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_4" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_16" [label="16: DeclStmt \n _fun_break_scope::X_X(&x1:break_scope::X*) [line 61, column 9]\n " shape="box"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_16" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_15" ; -"test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_17" [label="17: DeclStmt \n _fun_break_scope::vec_vec(&vector:break_scope::vec*) [line 58, column 7]\n " shape="box"] - - - "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_17" -> "test_for#break_scope#12580813866832058675.4c62e98ea10322d216af5dcd2cfbde37_6" ; "test_switch#break_scope#5012999682930893305.43ca855443a5fa68fa701447a90f7a1f_1" [label="1: Start break_scope::test_switch\nFormals: n:int\nLocals: x5:break_scope::X x4:break_scope::X x3:break_scope::X x2:break_scope::X x1:break_scope::X \n DECLARE_LOCALS(&return,&x5,&x4,&x3,&x2,&x1); [line 115, column 1]\n " color=yellow style=filled] @@ -472,31 +297,181 @@ digraph cfg { "test_switch#break_scope#5012999682930893305.43ca855443a5fa68fa701447a90f7a1f_19" -> "test_switch#break_scope#5012999682930893305.43ca855443a5fa68fa701447a90f7a1f_5" ; -"X#X#break_scope#{6309516816598689770|constexpr}.816885afcdb5a68230bfb3bf3d547c3d_1" [label="1: Start break_scope::X_X\nFormals: this:break_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_1" [label="1: Start break_scope::test_while1\nFormals: a:_Bool b:_Bool\nLocals: x2:break_scope::X x4:break_scope::X x1:break_scope::X \n DECLARE_LOCALS(&return,&x2,&x4,&x1); [line 68, column 1]\n " color=yellow style=filled] - "X#X#break_scope#{6309516816598689770|constexpr}.816885afcdb5a68230bfb3bf3d547c3d_1" -> "X#X#break_scope#{6309516816598689770|constexpr}.816885afcdb5a68230bfb3bf3d547c3d_2" ; -"X#X#break_scope#{6309516816598689770|constexpr}.816885afcdb5a68230bfb3bf3d547c3d_2" [label="2: Exit break_scope::X_X \n " color=yellow style=filled] + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_1" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_15" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_2" [label="2: Exit break_scope::test_while1 \n " color=yellow style=filled] -"__infer_inner_destructor_~X#X#break_scope#(321850372193847154).14fa9e76ae5ff70b9f49dbadc6e57d6c_1" [label="1: Start break_scope::X___infer_inner_destructor_~X\nFormals: this:break_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_3" [label="3: Destruction \n _=*&x1:break_scope::X [line 78, column 1]\n _fun_break_scope::X_~X(&x1:break_scope::X*) [line 78, column 1]\n " shape="box"] - "__infer_inner_destructor_~X#X#break_scope#(321850372193847154).14fa9e76ae5ff70b9f49dbadc6e57d6c_1" -> "__infer_inner_destructor_~X#X#break_scope#(321850372193847154).14fa9e76ae5ff70b9f49dbadc6e57d6c_2" ; -"__infer_inner_destructor_~X#X#break_scope#(321850372193847154).14fa9e76ae5ff70b9f49dbadc6e57d6c_2" [label="2: Exit break_scope::X___infer_inner_destructor_~X \n " color=yellow style=filled] - + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_3" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_2" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_4" [label="4: + \n " ] + -"~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_1" [label="1: Start break_scope::X_~X\nFormals: this:break_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_4" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_5" ; + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_4" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_6" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_5" [label="5: Prune (true branch, while) \n n$1=*&a:_Bool [line 70, column 10]\n PRUNE(n$1, true); [line 70, column 10]\n " shape="invhouse"] - "~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_1" -> "~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_3" ; -"~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_2" [label="2: Exit break_scope::X_~X \n " color=yellow style=filled] + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_5" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_8" ; + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_5" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_9" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_6" [label="6: Prune (false branch, while) \n n$1=*&a:_Bool [line 70, column 10]\n PRUNE(!n$1, false); [line 70, column 10]\n " shape="invhouse"] -"~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_3" [label="3: Destruction \n n$0=*&this:break_scope::X* [line 12, column 9]\n _=*n$0:break_scope::X [line 12, column 9]\n _fun_break_scope::X___infer_inner_destructor_~X(n$0:break_scope::X*) [line 12, column 9]\n " shape="box"] + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_6" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_3" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_7" [label="7: + \n " ] - "~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_3" -> "~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_2" ; + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_7" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_4" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_8" [label="8: Prune (true branch, if) \n n$2=*&b:_Bool [line 71, column 9]\n PRUNE(n$2, true); [line 71, column 9]\n " shape="invhouse"] + + + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_8" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_12" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_9" [label="9: Prune (false branch, if) \n n$2=*&b:_Bool [line 71, column 9]\n PRUNE(!n$2, false); [line 71, column 9]\n " shape="invhouse"] + + + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_9" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_14" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_10" [label="10: Destruction \n _=*&x2:break_scope::X [line 74, column 5]\n _fun_break_scope::X_~X(&x2:break_scope::X*) [line 74, column 5]\n " shape="box"] + + + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_10" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_7" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_11" [label="11: Destruction \n _=*&x2:break_scope::X [line 73, column 7]\n _fun_break_scope::X_~X(&x2:break_scope::X*) [line 73, column 7]\n " shape="box"] + + + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_11" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_3" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_12" [label="12: DeclStmt \n _fun_break_scope::X_X(&x2:break_scope::X*) [line 72, column 9]\n " shape="box"] + + + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_12" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_11" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_13" [label="13: Destruction \n _=*&x4:break_scope::X [line 76, column 5]\n _fun_break_scope::X_~X(&x4:break_scope::X*) [line 76, column 5]\n " shape="box"] + + + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_13" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_7" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_14" [label="14: DeclStmt \n _fun_break_scope::X_X(&x4:break_scope::X*) [line 75, column 9]\n " shape="box"] + + + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_14" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_13" ; +"test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_15" [label="15: DeclStmt \n _fun_break_scope::X_X(&x1:break_scope::X*) [line 69, column 5]\n " shape="box"] + + + "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_15" -> "test_while1#break_scope#17740518799763849642.b3409b963f3ece06bd5b04dd968e5c61_4" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_1" [label="1: Start break_scope::test_while2\nFormals: a:_Bool b:_Bool\nLocals: x3:break_scope::X x2:break_scope::X x1:break_scope::X \n DECLARE_LOCALS(&return,&x3,&x2,&x1); [line 93, column 1]\n " color=yellow style=filled] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_1" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_15" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_2" [label="2: Exit break_scope::test_while2 \n " color=yellow style=filled] + + +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_3" [label="3: Destruction \n _=*&x1:break_scope::X [line 102, column 1]\n _fun_break_scope::X_~X(&x1:break_scope::X*) [line 102, column 1]\n " shape="box"] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_3" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_2" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_4" [label="4: + \n " ] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_4" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_5" ; + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_4" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_6" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_5" [label="5: Prune (true branch, while) \n n$1=*&a:_Bool [line 95, column 10]\n PRUNE(n$1, true); [line 95, column 10]\n " shape="invhouse"] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_5" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_14" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_6" [label="6: Prune (false branch, while) \n n$1=*&a:_Bool [line 95, column 10]\n PRUNE(!n$1, false); [line 95, column 10]\n " shape="invhouse"] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_6" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_3" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_7" [label="7: Destruction \n _=*&x2:break_scope::X [line 101, column 3]\n _fun_break_scope::X_~X(&x2:break_scope::X*) [line 101, column 3]\n " shape="box"] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_7" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_4" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_8" [label="8: + \n " ] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_8" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_9" ; + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_8" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_10" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_9" [label="9: Prune (true branch, while) \n n$3=*&b:_Bool [line 97, column 12]\n PRUNE(n$3, true); [line 97, column 12]\n " shape="invhouse"] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_9" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_13" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_10" [label="10: Prune (false branch, while) \n n$3=*&b:_Bool [line 97, column 12]\n PRUNE(!n$3, false); [line 97, column 12]\n " shape="invhouse"] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_10" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_7" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_11" [label="11: Destruction \n _=*&x3:break_scope::X [line 100, column 5]\n _fun_break_scope::X_~X(&x3:break_scope::X*) [line 100, column 5]\n " shape="box"] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_11" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_8" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_12" [label="12: Destruction \n _=*&x3:break_scope::X [line 99, column 7]\n _fun_break_scope::X_~X(&x3:break_scope::X*) [line 99, column 7]\n " shape="box"] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_12" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_7" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_13" [label="13: DeclStmt \n _fun_break_scope::X_X(&x3:break_scope::X*) [line 98, column 9]\n " shape="box"] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_13" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_12" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_14" [label="14: DeclStmt \n _fun_break_scope::X_X(&x2:break_scope::X*) [line 96, column 7]\n " shape="box"] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_14" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_8" ; +"test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_15" [label="15: DeclStmt \n _fun_break_scope::X_X(&x1:break_scope::X*) [line 94, column 5]\n " shape="box"] + + + "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_15" -> "test_while2#break_scope#17250772168162981325.38013d039ed950814e06274bca56c75d_4" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_1" [label="1: Start break_scope::test_while3\nFormals: a:_Bool b:_Bool\nLocals: x3:break_scope::X x2:break_scope::X x1:break_scope::X \n DECLARE_LOCALS(&return,&x3,&x2,&x1); [line 104, column 1]\n " color=yellow style=filled] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_1" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_13" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_2" [label="2: Exit break_scope::test_while3 \n " color=yellow style=filled] + + +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_3" [label="3: Destruction \n _=*&x3:break_scope::X [line 113, column 1]\n _fun_break_scope::X_~X(&x3:break_scope::X*) [line 113, column 1]\n _=*&x1:break_scope::X [line 113, column 1]\n _fun_break_scope::X_~X(&x1:break_scope::X*) [line 113, column 1]\n " shape="box"] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_3" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_2" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_4" [label="4: DeclStmt \n _fun_break_scope::X_X(&x3:break_scope::X*) [line 112, column 5]\n " shape="box"] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_4" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_3" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_5" [label="5: + \n " ] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_5" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_6" ; + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_5" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_7" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_6" [label="6: Prune (true branch, while) \n n$2=*&a:_Bool [line 106, column 10]\n PRUNE(n$2, true); [line 106, column 10]\n " shape="invhouse"] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_6" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_12" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_7" [label="7: Prune (false branch, while) \n n$2=*&a:_Bool [line 106, column 10]\n PRUNE(!n$2, false); [line 106, column 10]\n " shape="invhouse"] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_7" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_4" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_8" [label="8: Destruction \n _=*&x2:break_scope::X [line 111, column 3]\n _fun_break_scope::X_~X(&x2:break_scope::X*) [line 111, column 3]\n " shape="box"] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_8" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_5" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_9" [label="9: + \n " ] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_9" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_10" ; + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_9" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_11" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_10" [label="10: Prune (true branch, while) \n n$4=*&b:_Bool [line 108, column 12]\n PRUNE(n$4, true); [line 108, column 12]\n " shape="invhouse"] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_10" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_8" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_11" [label="11: Prune (false branch, while) \n n$4=*&b:_Bool [line 108, column 12]\n PRUNE(!n$4, false); [line 108, column 12]\n " shape="invhouse"] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_11" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_8" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_12" [label="12: DeclStmt \n _fun_break_scope::X_X(&x2:break_scope::X*) [line 107, column 7]\n " shape="box"] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_12" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_9" ; +"test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_13" [label="13: DeclStmt \n _fun_break_scope::X_X(&x1:break_scope::X*) [line 105, column 5]\n " shape="box"] + + + "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_13" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_5" ; "X#X#break_scope#{17112813181908266985|constexpr}.6bb668d75bc820066f1fe22efb911729_1" [label="1: Start break_scope::X_X\nFormals: this:break_scope::X* __param_0:break_scope::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] @@ -504,21 +479,60 @@ digraph cfg { "X#X#break_scope#{17112813181908266985|constexpr}.6bb668d75bc820066f1fe22efb911729_2" [label="2: Exit break_scope::X_X \n " color=yellow style=filled] -"iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_1" [label="1: Start break_scope::iterator_iterator\nFormals: this:break_scope::iterator* __param_0:break_scope::iterator&\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 8]\n " color=yellow style=filled] +"X#X#break_scope#{6309516816598689770|constexpr}.816885afcdb5a68230bfb3bf3d547c3d_1" [label="1: Start break_scope::X_X\nFormals: this:break_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] - "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_1" -> "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_4" ; -"iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_2" [label="2: Exit break_scope::iterator_iterator \n " color=yellow style=filled] + "X#X#break_scope#{6309516816598689770|constexpr}.816885afcdb5a68230bfb3bf3d547c3d_1" -> "X#X#break_scope#{6309516816598689770|constexpr}.816885afcdb5a68230bfb3bf3d547c3d_2" ; +"X#X#break_scope#{6309516816598689770|constexpr}.816885afcdb5a68230bfb3bf3d547c3d_2" [label="2: Exit break_scope::X_X \n " color=yellow style=filled] -"iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_3" [label="3: Constructor Init \n n$0=*&this:break_scope::iterator* [line 18, column 8]\n n$1=*&__param_0:break_scope::iterator& [line 18, column 8]\n n$2=*n$1.vector:break_scope::vec const * [line 18, column 8]\n *n$0.vector:break_scope::vec const *=n$2 [line 18, column 8]\n " shape="box"] +"__infer_inner_destructor_~X#X#break_scope#(321850372193847154).14fa9e76ae5ff70b9f49dbadc6e57d6c_1" [label="1: Start break_scope::X___infer_inner_destructor_~X\nFormals: this:break_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] - "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_3" -> "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_2" ; -"iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_4" [label="4: Constructor Init \n n$3=*&this:break_scope::iterator* [line 18, column 8]\n n$4=*&__param_0:break_scope::iterator& [line 18, column 8]\n n$5=*n$4.position:int [line 18, column 8]\n *n$3.position:int=n$5 [line 18, column 8]\n " shape="box"] + "__infer_inner_destructor_~X#X#break_scope#(321850372193847154).14fa9e76ae5ff70b9f49dbadc6e57d6c_1" -> "__infer_inner_destructor_~X#X#break_scope#(321850372193847154).14fa9e76ae5ff70b9f49dbadc6e57d6c_2" ; +"__infer_inner_destructor_~X#X#break_scope#(321850372193847154).14fa9e76ae5ff70b9f49dbadc6e57d6c_2" [label="2: Exit break_scope::X___infer_inner_destructor_~X \n " color=yellow style=filled] - "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_4" -> "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_3" ; +"__infer_inner_destructor_~vec#vec#break_scope#(2726327876410250530).f113a7960f096ab5aa59d07ce9fbcbbe_1" [label="1: Start break_scope::vec___infer_inner_destructor_~vec\nFormals: this:break_scope::vec*\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 8]\n " color=yellow style=filled] + + + "__infer_inner_destructor_~vec#vec#break_scope#(2726327876410250530).f113a7960f096ab5aa59d07ce9fbcbbe_1" -> "__infer_inner_destructor_~vec#vec#break_scope#(2726327876410250530).f113a7960f096ab5aa59d07ce9fbcbbe_2" ; +"__infer_inner_destructor_~vec#vec#break_scope#(2726327876410250530).f113a7960f096ab5aa59d07ce9fbcbbe_2" [label="2: Exit break_scope::vec___infer_inner_destructor_~vec \n " color=yellow style=filled] + + +"begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_1" [label="1: Start break_scope::vec_begin\nFormals: this:break_scope::vec* __return_param:break_scope::iterator*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 36, column 3]\n " color=yellow style=filled] + + + "begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_1" -> "begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_3" ; +"begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_2" [label="2: Exit break_scope::vec_begin \n " color=yellow style=filled] + + +"begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_3" [label="3: Return Stmt \n n$0=*&__return_param:break_scope::iterator* [line 36, column 22]\n n$2=*&this:break_scope::vec* [line 36, column 38]\n _fun_break_scope::iterator_iterator(&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator*,n$2:break_scope::vec*,0:int) [line 36, column 29]\n _fun_break_scope::iterator_iterator(n$0:break_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator&) [line 36, column 29]\n " shape="box"] + + + "begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_3" -> "begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_2" ; +"end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_1" [label="1: Start break_scope::vec_end\nFormals: this:break_scope::vec* __return_param:break_scope::iterator*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 37, column 3]\n " color=yellow style=filled] + + + "end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_1" -> "end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_3" ; +"end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_2" [label="2: Exit break_scope::vec_end \n " color=yellow style=filled] + + +"end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_3" [label="3: Return Stmt \n n$0=*&__return_param:break_scope::iterator* [line 37, column 20]\n n$2=*&this:break_scope::vec* [line 37, column 36]\n _fun_break_scope::iterator_iterator(&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator*,n$2:break_scope::vec*,10:int) [line 37, column 27]\n _fun_break_scope::iterator_iterator(n$0:break_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator&) [line 37, column 27]\n " shape="box"] + + + "end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_3" -> "end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_2" ; +"get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_1" [label="1: Start break_scope::vec_get\nFormals: this:break_scope::vec* pos:int __return_param:break_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 39, column 3]\n " color=yellow style=filled] + + + "get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_1" -> "get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_3" ; +"get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_2" [label="2: Exit break_scope::vec_get \n " color=yellow style=filled] + + +"get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_3" [label="3: Return Stmt \n n$0=*&__return_param:break_scope::X* [line 39, column 26]\n n$1=*&this:break_scope::vec const * [line 39, column 33]\n n$2=*&pos:int [line 39, column 39]\n _fun_break_scope::X_X(n$0:break_scope::X*,n$1._data[n$2]:break_scope::X const &) [line 39, column 33]\n " shape="box"] + + + "get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_3" -> "get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_2" ; "iterator#iterator#break_scope#{13325232528858742422|constexpr}.df2bdd1dc650d74172db385b1dec541f_1" [label="1: Start break_scope::iterator_iterator\nFormals: this:break_scope::iterator* __param_0:break_scope::iterator const &\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 8]\n " color=yellow style=filled] @@ -534,32 +548,36 @@ digraph cfg { "iterator#iterator#break_scope#{13325232528858742422|constexpr}.df2bdd1dc650d74172db385b1dec541f_4" -> "iterator#iterator#break_scope#{13325232528858742422|constexpr}.df2bdd1dc650d74172db385b1dec541f_3" ; -"operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_1" [label="1: Start break_scope::iterator_operator*\nFormals: this:break_scope::iterator* __return_param:break_scope::X*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 44, column 1]\n " color=yellow style=filled] +"iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_1" [label="1: Start break_scope::iterator_iterator\nFormals: this:break_scope::iterator* v:break_scope::vec const * pos:int\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 3]\n " color=yellow style=filled] - "operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_1" -> "operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_3" ; -"operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_2" [label="2: Exit break_scope::iterator_operator* \n " color=yellow style=filled] + "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_1" -> "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_4" ; +"iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_2" [label="2: Exit break_scope::iterator_iterator \n " color=yellow style=filled] -"operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_3" [label="3: Return Stmt \n n$0=*&__return_param:break_scope::X* [line 44, column 33]\n n$2=*&this:break_scope::iterator const * [line 44, column 40]\n n$3=*n$2.vector:break_scope::vec const * [line 44, column 40]\n _=*n$3:break_scope::vec const [line 44, column 40]\n n$5=*&this:break_scope::iterator const * [line 44, column 52]\n n$6=*n$5.position:int [line 44, column 52]\n _fun_break_scope::vec_get(n$3:break_scope::vec const *,n$6:int,&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::X*) [line 44, column 40]\n _fun_break_scope::X_X(n$0:break_scope::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::X&) [line 44, column 40]\n " shape="box"] +"iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_3" [label="3: Constructor Init \n n$0=*&this:break_scope::iterator* [line 22, column 52]\n n$1=*&v:break_scope::vec const * [line 22, column 59]\n *n$0.vector:break_scope::vec const *=n$1 [line 22, column 52]\n " shape="box"] - "operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_3" -> "operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_2" ; -"operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_1" [label="1: Start break_scope::iterator_operator++\nFormals: this:break_scope::iterator* __return_param:break_scope::iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 3]\n " color=yellow style=filled] + "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_3" -> "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_2" ; +"iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_4" [label="4: Constructor Init \n n$2=*&this:break_scope::iterator* [line 22, column 37]\n n$3=*&pos:int [line 22, column 46]\n *n$2.position:int=n$3 [line 22, column 37]\n " shape="box"] - "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_1" -> "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_4" ; -"operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_2" [label="2: Exit break_scope::iterator_operator++ \n " color=yellow style=filled] + "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_4" -> "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_3" ; +"iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_1" [label="1: Start break_scope::iterator_iterator\nFormals: this:break_scope::iterator* __param_0:break_scope::iterator&\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 8]\n " color=yellow style=filled] -"operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_3" [label="3: Return Stmt \n n$0=*&__return_param:break_scope::iterator* [line 26, column 5]\n n$1=*&this:break_scope::iterator* [line 26, column 13]\n _fun_break_scope::iterator_iterator(n$0:break_scope::iterator*,n$1:break_scope::iterator&) [line 26, column 12]\n " shape="box"] + "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_1" -> "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_4" ; +"iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_2" [label="2: Exit break_scope::iterator_iterator \n " color=yellow style=filled] - "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_3" -> "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_2" ; -"operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_4" [label="4: UnaryOperator \n n$2=*&this:break_scope::iterator* [line 25, column 5]\n n$3=*n$2.position:int [line 25, column 5]\n *n$2.position:int=(n$3 + 1) [line 25, column 5]\n " shape="box"] +"iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_3" [label="3: Constructor Init \n n$0=*&this:break_scope::iterator* [line 18, column 8]\n n$1=*&__param_0:break_scope::iterator& [line 18, column 8]\n n$2=*n$1.vector:break_scope::vec const * [line 18, column 8]\n *n$0.vector:break_scope::vec const *=n$2 [line 18, column 8]\n " shape="box"] - "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_4" -> "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_3" ; + "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_3" -> "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_2" ; +"iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_4" [label="4: Constructor Init \n n$3=*&this:break_scope::iterator* [line 18, column 8]\n n$4=*&__param_0:break_scope::iterator& [line 18, column 8]\n n$5=*n$4.position:int [line 18, column 8]\n *n$3.position:int=n$5 [line 18, column 8]\n " shape="box"] + + + "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_4" -> "iterator#iterator#break_scope#{3654715460407933162|constexpr}.a69cb17d37da9b3963eb407e0dec4509_3" ; "operator!=#iterator#break_scope#(15861647440981693631).5a328db1c01702ad115b55855603e1eb_1" [label="1: Start break_scope::iterator_operator!=\nFormals: this:break_scope::iterator* i2:break_scope::iterator const &\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 29, column 3]\n " color=yellow style=filled] @@ -596,21 +614,32 @@ digraph cfg { "operator!=#iterator#break_scope#(15861647440981693631).5a328db1c01702ad115b55855603e1eb_9" -> "operator!=#iterator#break_scope#(15861647440981693631).5a328db1c01702ad115b55855603e1eb_2" ; -"iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_1" [label="1: Start break_scope::iterator_iterator\nFormals: this:break_scope::iterator* v:break_scope::vec const * pos:int\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 3]\n " color=yellow style=filled] +"operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_1" [label="1: Start break_scope::iterator_operator*\nFormals: this:break_scope::iterator* __return_param:break_scope::X*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 44, column 1]\n " color=yellow style=filled] - "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_1" -> "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_4" ; -"iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_2" [label="2: Exit break_scope::iterator_iterator \n " color=yellow style=filled] + "operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_1" -> "operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_3" ; +"operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_2" [label="2: Exit break_scope::iterator_operator* \n " color=yellow style=filled] -"iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_3" [label="3: Constructor Init \n n$0=*&this:break_scope::iterator* [line 22, column 52]\n n$1=*&v:break_scope::vec const * [line 22, column 59]\n *n$0.vector:break_scope::vec const *=n$1 [line 22, column 52]\n " shape="box"] +"operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_3" [label="3: Return Stmt \n n$0=*&__return_param:break_scope::X* [line 44, column 33]\n n$2=*&this:break_scope::iterator const * [line 44, column 40]\n n$3=*n$2.vector:break_scope::vec const * [line 44, column 40]\n _=*n$3:break_scope::vec const [line 44, column 40]\n n$5=*&this:break_scope::iterator const * [line 44, column 52]\n n$6=*n$5.position:int [line 44, column 52]\n _fun_break_scope::vec_get(n$3:break_scope::vec const *,n$6:int,&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::X*) [line 44, column 40]\n _fun_break_scope::X_X(n$0:break_scope::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::X&) [line 44, column 40]\n " shape="box"] - "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_3" -> "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_2" ; -"iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_4" [label="4: Constructor Init \n n$2=*&this:break_scope::iterator* [line 22, column 37]\n n$3=*&pos:int [line 22, column 46]\n *n$2.position:int=n$3 [line 22, column 37]\n " shape="box"] + "operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_3" -> "operator*#iterator#break_scope#(4328339407583570703).cdad0941eaaed797f70482510d139870_2" ; +"operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_1" [label="1: Start break_scope::iterator_operator++\nFormals: this:break_scope::iterator* __return_param:break_scope::iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 3]\n " color=yellow style=filled] - "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_4" -> "iterator#iterator#break_scope#{16869174875139255019}.6ab4697f81ed961d5f192c83dffe5de4_3" ; + "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_1" -> "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_4" ; +"operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_2" [label="2: Exit break_scope::iterator_operator++ \n " color=yellow style=filled] + + +"operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_3" [label="3: Return Stmt \n n$0=*&__return_param:break_scope::iterator* [line 26, column 5]\n n$1=*&this:break_scope::iterator* [line 26, column 13]\n _fun_break_scope::iterator_iterator(n$0:break_scope::iterator*,n$1:break_scope::iterator&) [line 26, column 12]\n " shape="box"] + + + "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_3" -> "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_2" ; +"operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_4" [label="4: UnaryOperator \n n$2=*&this:break_scope::iterator* [line 25, column 5]\n n$3=*n$2.position:int [line 25, column 5]\n *n$2.position:int=(n$3 + 1) [line 25, column 5]\n " shape="box"] + + + "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_4" -> "operator++#iterator#break_scope#(2766485846133390801).11d4c93e59bfd59c8af952e0b96f50cf_3" ; "vec#vec#break_scope#{8713994320815093146}.a7abdfa106915d365eda869e8e136554_1" [label="1: Start break_scope::vec_vec\nFormals: this:break_scope::vec*\nLocals: \n DECLARE_LOCALS(&return); [line 35, column 3]\n " color=yellow style=filled] @@ -622,13 +651,17 @@ digraph cfg { "vec#vec#break_scope#{8713994320815093146}.a7abdfa106915d365eda869e8e136554_3" -> "vec#vec#break_scope#{8713994320815093146}.a7abdfa106915d365eda869e8e136554_2" ; -"__infer_inner_destructor_~vec#vec#break_scope#(2726327876410250530).f113a7960f096ab5aa59d07ce9fbcbbe_1" [label="1: Start break_scope::vec___infer_inner_destructor_~vec\nFormals: this:break_scope::vec*\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 8]\n " color=yellow style=filled] +"~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_1" [label="1: Start break_scope::X_~X\nFormals: this:break_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] - "__infer_inner_destructor_~vec#vec#break_scope#(2726327876410250530).f113a7960f096ab5aa59d07ce9fbcbbe_1" -> "__infer_inner_destructor_~vec#vec#break_scope#(2726327876410250530).f113a7960f096ab5aa59d07ce9fbcbbe_2" ; -"__infer_inner_destructor_~vec#vec#break_scope#(2726327876410250530).f113a7960f096ab5aa59d07ce9fbcbbe_2" [label="2: Exit break_scope::vec___infer_inner_destructor_~vec \n " color=yellow style=filled] + "~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_1" -> "~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_3" ; +"~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_2" [label="2: Exit break_scope::X_~X \n " color=yellow style=filled] + + +"~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_3" [label="3: Destruction \n n$0=*&this:break_scope::X* [line 12, column 9]\n _=*n$0:break_scope::X [line 12, column 9]\n _fun_break_scope::X___infer_inner_destructor_~X(n$0:break_scope::X*) [line 12, column 9]\n " shape="box"] + "~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_3" -> "~X#X#break_scope#(321850372193847154).bb0579f8004d4fbf59537d5d55a8dfe9_2" ; "~vec#vec#break_scope#(2726327876410250530).6af158139cecaa31993b3ce213ac0fe6_1" [label="1: Start break_scope::vec_~vec\nFormals: this:break_scope::vec*\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 8]\n " color=yellow style=filled] @@ -640,37 +673,4 @@ digraph cfg { "~vec#vec#break_scope#(2726327876410250530).6af158139cecaa31993b3ce213ac0fe6_3" -> "~vec#vec#break_scope#(2726327876410250530).6af158139cecaa31993b3ce213ac0fe6_2" ; -"begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_1" [label="1: Start break_scope::vec_begin\nFormals: this:break_scope::vec* __return_param:break_scope::iterator*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 36, column 3]\n " color=yellow style=filled] - - - "begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_1" -> "begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_3" ; -"begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_2" [label="2: Exit break_scope::vec_begin \n " color=yellow style=filled] - - -"begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_3" [label="3: Return Stmt \n n$0=*&__return_param:break_scope::iterator* [line 36, column 22]\n n$2=*&this:break_scope::vec* [line 36, column 38]\n _fun_break_scope::iterator_iterator(&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator*,n$2:break_scope::vec*,0:int) [line 36, column 29]\n _fun_break_scope::iterator_iterator(n$0:break_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator&) [line 36, column 29]\n " shape="box"] - - - "begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_3" -> "begin#vec#break_scope#(5557509884489875894).e034f7c9d5268cece0387739b5adfebe_2" ; -"end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_1" [label="1: Start break_scope::vec_end\nFormals: this:break_scope::vec* __return_param:break_scope::iterator*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 37, column 3]\n " color=yellow style=filled] - - - "end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_1" -> "end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_3" ; -"end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_2" [label="2: Exit break_scope::vec_end \n " color=yellow style=filled] - - -"end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_3" [label="3: Return Stmt \n n$0=*&__return_param:break_scope::iterator* [line 37, column 20]\n n$2=*&this:break_scope::vec* [line 37, column 36]\n _fun_break_scope::iterator_iterator(&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator*,n$2:break_scope::vec*,10:int) [line 37, column 27]\n _fun_break_scope::iterator_iterator(n$0:break_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$1:break_scope::iterator&) [line 37, column 27]\n " shape="box"] - - - "end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_3" -> "end#vec#break_scope#(4427317924121915380).244553a42bbf0c7e825bfd96f82a9063_2" ; -"get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_1" [label="1: Start break_scope::vec_get\nFormals: this:break_scope::vec* pos:int __return_param:break_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 39, column 3]\n " color=yellow style=filled] - - - "get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_1" -> "get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_3" ; -"get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_2" [label="2: Exit break_scope::vec_get \n " color=yellow style=filled] - - -"get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_3" [label="3: Return Stmt \n n$0=*&__return_param:break_scope::X* [line 39, column 26]\n n$1=*&this:break_scope::vec const * [line 39, column 33]\n n$2=*&pos:int [line 39, column 39]\n _fun_break_scope::X_X(n$0:break_scope::X*,n$1._data[n$2]:break_scope::X const &) [line 39, column 33]\n " shape="box"] - - - "get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_3" -> "get#vec#break_scope#(1283787980840570343).8c225fcc5fb36e3f37c7fa3dc5e9f9db_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot index c32587ce3..b85099257 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot @@ -1,66 +1,5 @@ /* @generated */ digraph cfg { -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_1" [label="1: Start continue_scope::test_while1\nFormals: a:_Bool b:_Bool\nLocals: x2:continue_scope::X x4:continue_scope::X x1:continue_scope::X \n DECLARE_LOCALS(&return,&x2,&x4,&x1); [line 68, column 1]\n " color=yellow style=filled] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_1" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_15" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_2" [label="2: Exit continue_scope::test_while1 \n " color=yellow style=filled] - - -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_3" [label="3: Destruction \n _=*&x1:continue_scope::X [line 78, column 1]\n _fun_continue_scope::X_~X(&x1:continue_scope::X*) [line 78, column 1]\n " shape="box"] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_3" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_2" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" [label="4: + \n " ] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_5" ; - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_6" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_5" [label="5: Prune (true branch, while) \n n$1=*&a:_Bool [line 70, column 10]\n PRUNE(n$1, true); [line 70, column 10]\n " shape="invhouse"] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_5" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_8" ; - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_5" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_9" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_6" [label="6: Prune (false branch, while) \n n$1=*&a:_Bool [line 70, column 10]\n PRUNE(!n$1, false); [line 70, column 10]\n " shape="invhouse"] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_6" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_3" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_7" [label="7: + \n " ] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_7" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_8" [label="8: Prune (true branch, if) \n n$2=*&b:_Bool [line 71, column 9]\n PRUNE(n$2, true); [line 71, column 9]\n " shape="invhouse"] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_8" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_12" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_9" [label="9: Prune (false branch, if) \n n$2=*&b:_Bool [line 71, column 9]\n PRUNE(!n$2, false); [line 71, column 9]\n " shape="invhouse"] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_9" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_14" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_10" [label="10: Destruction \n _=*&x2:continue_scope::X [line 74, column 5]\n _fun_continue_scope::X_~X(&x2:continue_scope::X*) [line 74, column 5]\n " shape="box"] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_10" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_7" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_11" [label="11: Destruction \n _=*&x2:continue_scope::X [line 73, column 7]\n _fun_continue_scope::X_~X(&x2:continue_scope::X*) [line 73, column 7]\n " shape="box"] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_11" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_12" [label="12: DeclStmt \n _fun_continue_scope::X_X(&x2:continue_scope::X*) [line 72, column 9]\n " shape="box"] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_12" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_11" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_13" [label="13: Destruction \n _=*&x4:continue_scope::X [line 76, column 5]\n _fun_continue_scope::X_~X(&x4:continue_scope::X*) [line 76, column 5]\n " shape="box"] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_13" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_7" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_14" [label="14: DeclStmt \n _fun_continue_scope::X_X(&x4:continue_scope::X*) [line 75, column 9]\n " shape="box"] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_14" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_13" ; -"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_15" [label="15: DeclStmt \n _fun_continue_scope::X_X(&x1:continue_scope::X*) [line 69, column 5]\n " shape="box"] - - - "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_15" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" ; "test_do_while#continue_scope#8999676231552324448.9fe455097ef7e757730530e9e7c09864_1" [label="1: Start continue_scope::test_do_while\nFormals: a:_Bool b:_Bool\nLocals: x3:continue_scope::X x4:continue_scope::X x2:continue_scope::X x1:continue_scope::X \n DECLARE_LOCALS(&return,&x3,&x4,&x2,&x1); [line 80, column 1]\n " color=yellow style=filled] @@ -131,120 +70,75 @@ digraph cfg { "test_do_while#continue_scope#8999676231552324448.9fe455097ef7e757730530e9e7c09864_17" -> "test_do_while#continue_scope#8999676231552324448.9fe455097ef7e757730530e9e7c09864_4" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_1" [label="1: Start continue_scope::test_while2\nFormals: a:_Bool b:_Bool\nLocals: x3:continue_scope::X x2:continue_scope::X x1:continue_scope::X \n DECLARE_LOCALS(&return,&x3,&x2,&x1); [line 93, column 1]\n " color=yellow style=filled] - - - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_1" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_15" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_2" [label="2: Exit continue_scope::test_while2 \n " color=yellow style=filled] - - -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_3" [label="3: Destruction \n _=*&x1:continue_scope::X [line 102, column 1]\n _fun_continue_scope::X_~X(&x1:continue_scope::X*) [line 102, column 1]\n " shape="box"] - - - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_3" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_2" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_4" [label="4: + \n " ] - - - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_4" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_5" ; - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_4" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_6" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_5" [label="5: Prune (true branch, while) \n n$1=*&a:_Bool [line 95, column 10]\n PRUNE(n$1, true); [line 95, column 10]\n " shape="invhouse"] - - - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_5" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_14" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_6" [label="6: Prune (false branch, while) \n n$1=*&a:_Bool [line 95, column 10]\n PRUNE(!n$1, false); [line 95, column 10]\n " shape="invhouse"] - - - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_6" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_3" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_7" [label="7: Destruction \n _=*&x2:continue_scope::X [line 101, column 3]\n _fun_continue_scope::X_~X(&x2:continue_scope::X*) [line 101, column 3]\n " shape="box"] - - - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_7" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_4" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" [label="8: + \n " ] - - - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_9" ; - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_10" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_9" [label="9: Prune (true branch, while) \n n$3=*&b:_Bool [line 97, column 12]\n PRUNE(n$3, true); [line 97, column 12]\n " shape="invhouse"] - - - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_9" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_13" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_10" [label="10: Prune (false branch, while) \n n$3=*&b:_Bool [line 97, column 12]\n PRUNE(!n$3, false); [line 97, column 12]\n " shape="invhouse"] - - - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_10" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_7" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_11" [label="11: Destruction \n _=*&x3:continue_scope::X [line 100, column 5]\n _fun_continue_scope::X_~X(&x3:continue_scope::X*) [line 100, column 5]\n " shape="box"] - - - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_11" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_12" [label="12: Destruction \n _=*&x3:continue_scope::X [line 99, column 7]\n _fun_continue_scope::X_~X(&x3:continue_scope::X*) [line 99, column 7]\n " shape="box"] +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_1" [label="1: Start continue_scope::test_for\nFormals: b:_Bool\nLocals: x2:continue_scope::X it:continue_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$2:continue_scope::iterator 0$?%__sil_tmp__temp_return_n$6:continue_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$7:continue_scope::iterator x1:continue_scope::X vector:continue_scope::vec \n DECLARE_LOCALS(&return,&x2,&it,&0$?%__sil_tmpSIL_materialize_temp__n$2,&0$?%__sil_tmp__temp_return_n$6,&0$?%__sil_tmpSIL_materialize_temp__n$7,&x1,&vector); [line 57, column 1]\n " color=yellow style=filled] - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_12" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_13" [label="13: DeclStmt \n _fun_continue_scope::X_X(&x3:continue_scope::X*) [line 98, column 9]\n " shape="box"] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_1" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_17" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_2" [label="2: Exit continue_scope::test_for \n " color=yellow style=filled] - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_13" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_12" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_14" [label="14: DeclStmt \n _fun_continue_scope::X_X(&x2:continue_scope::X*) [line 96, column 7]\n " shape="box"] +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_3" [label="3: Destruction \n _=*&x2:continue_scope::X [line 66, column 1]\n _fun_continue_scope::X_~X(&x2:continue_scope::X*) [line 66, column 1]\n _=*&vector:continue_scope::vec [line 66, column 1]\n _fun_continue_scope::vec_~vec(&vector:continue_scope::vec*) [line 66, column 1]\n " shape="box"] - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_14" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" ; -"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_15" [label="15: DeclStmt \n _fun_continue_scope::X_X(&x1:continue_scope::X*) [line 94, column 5]\n " shape="box"] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_3" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_2" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_4" [label="4: DeclStmt \n _fun_continue_scope::X_X(&x2:continue_scope::X*) [line 65, column 5]\n " shape="box"] - "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_15" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_4" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_1" [label="1: Start continue_scope::test_while3\nFormals: a:_Bool b:_Bool\nLocals: x3:continue_scope::X x2:continue_scope::X x1:continue_scope::X \n DECLARE_LOCALS(&return,&x3,&x2,&x1); [line 104, column 1]\n " color=yellow style=filled] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_4" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_3" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_5" [label="5: + \n " ] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_1" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_13" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_2" [label="2: Exit continue_scope::test_while3 \n " color=yellow style=filled] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_5" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_8" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_6" [label="6: DeclStmt \n _=*&vector:continue_scope::vec [line 59, column 22]\n _fun_continue_scope::vec_begin(&vector:continue_scope::vec&,&0$?%__sil_tmpSIL_materialize_temp__n$2:continue_scope::iterator*) [line 59, column 22]\n _fun_continue_scope::iterator_iterator(&it:continue_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$2:continue_scope::iterator&) [line 59, column 22]\n " shape="box"] -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_3" [label="3: Destruction \n _=*&x3:continue_scope::X [line 113, column 1]\n _fun_continue_scope::X_~X(&x3:continue_scope::X*) [line 113, column 1]\n _=*&x1:continue_scope::X [line 113, column 1]\n _fun_continue_scope::X_~X(&x1:continue_scope::X*) [line 113, column 1]\n " shape="box"] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_6" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_5" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_7" [label="7: Call _fun_continue_scope::iterator_operator++ \n _fun_continue_scope::iterator_operator++(&it:continue_scope::iterator&,&0$?%__sil_tmp__temp_return_n$6:continue_scope::iterator*) [line 59, column 58]\n " shape="box"] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_3" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_2" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_4" [label="4: DeclStmt \n _fun_continue_scope::X_X(&x3:continue_scope::X*) [line 112, column 5]\n " shape="box"] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_7" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_5" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_8" [label="8: Call _fun_continue_scope::iterator_operator!= \n _=*&vector:continue_scope::vec [line 59, column 44]\n _fun_continue_scope::vec_end(&vector:continue_scope::vec&,&0$?%__sil_tmpSIL_materialize_temp__n$7:continue_scope::iterator*) [line 59, column 44]\n n$10=_fun_continue_scope::iterator_operator!=(&it:continue_scope::iterator&,&0$?%__sil_tmpSIL_materialize_temp__n$7:continue_scope::iterator&) [line 59, column 38]\n " shape="box"] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_4" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_3" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_5" [label="5: + \n " ] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_8" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_9" ; + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_8" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_10" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_9" [label="9: Prune (true branch, for loop) \n PRUNE(n$10, true); [line 59, column 38]\n " shape="invhouse"] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_5" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_6" ; - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_5" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_7" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_6" [label="6: Prune (true branch, while) \n n$2=*&a:_Bool [line 106, column 10]\n PRUNE(n$2, true); [line 106, column 10]\n " shape="invhouse"] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_9" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_12" ; + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_9" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_13" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_10" [label="10: Prune (false branch, for loop) \n PRUNE(!n$10, false); [line 59, column 38]\n " shape="invhouse"] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_6" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_12" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_7" [label="7: Prune (false branch, while) \n n$2=*&a:_Bool [line 106, column 10]\n PRUNE(!n$2, false); [line 106, column 10]\n " shape="invhouse"] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_10" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_4" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_11" [label="11: + \n " ] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_7" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_4" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_8" [label="8: Destruction \n _=*&x2:continue_scope::X [line 111, column 3]\n _fun_continue_scope::X_~X(&x2:continue_scope::X*) [line 111, column 3]\n " shape="box"] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_11" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_7" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_12" [label="12: Prune (true branch, if) \n n$11=*&b:_Bool [line 60, column 9]\n PRUNE(n$11, true); [line 60, column 9]\n " shape="invhouse"] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_8" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_5" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_9" [label="9: + \n " ] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_12" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_16" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_13" [label="13: Prune (false branch, if) \n n$11=*&b:_Bool [line 60, column 9]\n PRUNE(!n$11, false); [line 60, column 9]\n " shape="invhouse"] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_9" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_10" ; - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_9" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_11" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_10" [label="10: Prune (true branch, while) \n n$4=*&b:_Bool [line 108, column 12]\n PRUNE(n$4, true); [line 108, column 12]\n " shape="invhouse"] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_13" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_11" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_14" [label="14: Destruction \n _=*&x1:continue_scope::X [line 63, column 5]\n _fun_continue_scope::X_~X(&x1:continue_scope::X*) [line 63, column 5]\n " shape="box"] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_10" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_9" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_11" [label="11: Prune (false branch, while) \n n$4=*&b:_Bool [line 108, column 12]\n PRUNE(!n$4, false); [line 108, column 12]\n " shape="invhouse"] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_14" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_11" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_15" [label="15: Destruction \n _=*&x1:continue_scope::X [line 62, column 7]\n _fun_continue_scope::X_~X(&x1:continue_scope::X*) [line 62, column 7]\n " shape="box"] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_11" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_8" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_12" [label="12: DeclStmt \n _fun_continue_scope::X_X(&x2:continue_scope::X*) [line 107, column 7]\n " shape="box"] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_15" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_7" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_16" [label="16: DeclStmt \n _fun_continue_scope::X_X(&x1:continue_scope::X*) [line 61, column 9]\n " shape="box"] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_12" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_9" ; -"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_13" [label="13: DeclStmt \n _fun_continue_scope::X_X(&x1:continue_scope::X*) [line 105, column 5]\n " shape="box"] + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_16" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_15" ; +"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_17" [label="17: DeclStmt \n _fun_continue_scope::vec_vec(&vector:continue_scope::vec*) [line 58, column 7]\n " shape="box"] - "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_13" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_5" ; + "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_17" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_6" ; "test_for_range#continue_scope#9937708960633325401.fa75d7368d8f711ae7e040a8b2ae1442_1" [label="1: Start continue_scope::test_for_range\nFormals: b:_Bool\nLocals: __end:continue_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$2:continue_scope::iterator __begin:continue_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$6:continue_scope::iterator 0$?%__sil_tmp__temp_return_n$11:continue_scope::iterator x2:continue_scope::X x:continue_scope::X 0$?%__sil_tmpSIL_materialize_temp__n$16:continue_scope::X __range:continue_scope::vec& x1:continue_scope::X vector:continue_scope::vec \n DECLARE_LOCALS(&return,&__end,&0$?%__sil_tmpSIL_materialize_temp__n$2,&__begin,&0$?%__sil_tmpSIL_materialize_temp__n$6,&0$?%__sil_tmp__temp_return_n$11,&x2,&x,&0$?%__sil_tmpSIL_materialize_temp__n$16,&__range,&x1,&vector); [line 46, column 1]\n " color=yellow style=filled] @@ -326,75 +220,188 @@ digraph cfg { "test_for_range#continue_scope#9937708960633325401.fa75d7368d8f711ae7e040a8b2ae1442_20" -> "test_for_range#continue_scope#9937708960633325401.fa75d7368d8f711ae7e040a8b2ae1442_19" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_1" [label="1: Start continue_scope::test_for\nFormals: b:_Bool\nLocals: x2:continue_scope::X it:continue_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$2:continue_scope::iterator 0$?%__sil_tmp__temp_return_n$6:continue_scope::iterator 0$?%__sil_tmpSIL_materialize_temp__n$7:continue_scope::iterator x1:continue_scope::X vector:continue_scope::vec \n DECLARE_LOCALS(&return,&x2,&it,&0$?%__sil_tmpSIL_materialize_temp__n$2,&0$?%__sil_tmp__temp_return_n$6,&0$?%__sil_tmpSIL_materialize_temp__n$7,&x1,&vector); [line 57, column 1]\n " color=yellow style=filled] +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_1" [label="1: Start continue_scope::test_while1\nFormals: a:_Bool b:_Bool\nLocals: x2:continue_scope::X x4:continue_scope::X x1:continue_scope::X \n DECLARE_LOCALS(&return,&x2,&x4,&x1); [line 68, column 1]\n " color=yellow style=filled] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_1" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_17" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_2" [label="2: Exit continue_scope::test_for \n " color=yellow style=filled] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_1" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_15" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_2" [label="2: Exit continue_scope::test_while1 \n " color=yellow style=filled] -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_3" [label="3: Destruction \n _=*&x2:continue_scope::X [line 66, column 1]\n _fun_continue_scope::X_~X(&x2:continue_scope::X*) [line 66, column 1]\n _=*&vector:continue_scope::vec [line 66, column 1]\n _fun_continue_scope::vec_~vec(&vector:continue_scope::vec*) [line 66, column 1]\n " shape="box"] +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_3" [label="3: Destruction \n _=*&x1:continue_scope::X [line 78, column 1]\n _fun_continue_scope::X_~X(&x1:continue_scope::X*) [line 78, column 1]\n " shape="box"] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_3" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_2" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_4" [label="4: DeclStmt \n _fun_continue_scope::X_X(&x2:continue_scope::X*) [line 65, column 5]\n " shape="box"] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_3" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_2" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" [label="4: + \n " ] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_4" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_3" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_5" [label="5: + \n " ] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_5" ; + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_6" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_5" [label="5: Prune (true branch, while) \n n$1=*&a:_Bool [line 70, column 10]\n PRUNE(n$1, true); [line 70, column 10]\n " shape="invhouse"] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_5" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_8" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_6" [label="6: DeclStmt \n _=*&vector:continue_scope::vec [line 59, column 22]\n _fun_continue_scope::vec_begin(&vector:continue_scope::vec&,&0$?%__sil_tmpSIL_materialize_temp__n$2:continue_scope::iterator*) [line 59, column 22]\n _fun_continue_scope::iterator_iterator(&it:continue_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$2:continue_scope::iterator&) [line 59, column 22]\n " shape="box"] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_5" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_8" ; + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_5" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_9" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_6" [label="6: Prune (false branch, while) \n n$1=*&a:_Bool [line 70, column 10]\n PRUNE(!n$1, false); [line 70, column 10]\n " shape="invhouse"] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_6" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_5" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_7" [label="7: Call _fun_continue_scope::iterator_operator++ \n _fun_continue_scope::iterator_operator++(&it:continue_scope::iterator&,&0$?%__sil_tmp__temp_return_n$6:continue_scope::iterator*) [line 59, column 58]\n " shape="box"] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_6" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_3" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_7" [label="7: + \n " ] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_7" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_5" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_8" [label="8: Call _fun_continue_scope::iterator_operator!= \n _=*&vector:continue_scope::vec [line 59, column 44]\n _fun_continue_scope::vec_end(&vector:continue_scope::vec&,&0$?%__sil_tmpSIL_materialize_temp__n$7:continue_scope::iterator*) [line 59, column 44]\n n$10=_fun_continue_scope::iterator_operator!=(&it:continue_scope::iterator&,&0$?%__sil_tmpSIL_materialize_temp__n$7:continue_scope::iterator&) [line 59, column 38]\n " shape="box"] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_7" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_8" [label="8: Prune (true branch, if) \n n$2=*&b:_Bool [line 71, column 9]\n PRUNE(n$2, true); [line 71, column 9]\n " shape="invhouse"] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_8" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_9" ; - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_8" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_10" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_9" [label="9: Prune (true branch, for loop) \n PRUNE(n$10, true); [line 59, column 38]\n " shape="invhouse"] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_8" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_12" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_9" [label="9: Prune (false branch, if) \n n$2=*&b:_Bool [line 71, column 9]\n PRUNE(!n$2, false); [line 71, column 9]\n " shape="invhouse"] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_9" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_12" ; - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_9" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_13" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_10" [label="10: Prune (false branch, for loop) \n PRUNE(!n$10, false); [line 59, column 38]\n " shape="invhouse"] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_9" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_14" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_10" [label="10: Destruction \n _=*&x2:continue_scope::X [line 74, column 5]\n _fun_continue_scope::X_~X(&x2:continue_scope::X*) [line 74, column 5]\n " shape="box"] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_10" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_4" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_11" [label="11: + \n " ] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_10" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_7" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_11" [label="11: Destruction \n _=*&x2:continue_scope::X [line 73, column 7]\n _fun_continue_scope::X_~X(&x2:continue_scope::X*) [line 73, column 7]\n " shape="box"] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_11" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_7" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_12" [label="12: Prune (true branch, if) \n n$11=*&b:_Bool [line 60, column 9]\n PRUNE(n$11, true); [line 60, column 9]\n " shape="invhouse"] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_11" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_12" [label="12: DeclStmt \n _fun_continue_scope::X_X(&x2:continue_scope::X*) [line 72, column 9]\n " shape="box"] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_12" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_16" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_13" [label="13: Prune (false branch, if) \n n$11=*&b:_Bool [line 60, column 9]\n PRUNE(!n$11, false); [line 60, column 9]\n " shape="invhouse"] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_12" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_11" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_13" [label="13: Destruction \n _=*&x4:continue_scope::X [line 76, column 5]\n _fun_continue_scope::X_~X(&x4:continue_scope::X*) [line 76, column 5]\n " shape="box"] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_13" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_11" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_14" [label="14: Destruction \n _=*&x1:continue_scope::X [line 63, column 5]\n _fun_continue_scope::X_~X(&x1:continue_scope::X*) [line 63, column 5]\n " shape="box"] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_13" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_7" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_14" [label="14: DeclStmt \n _fun_continue_scope::X_X(&x4:continue_scope::X*) [line 75, column 9]\n " shape="box"] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_14" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_11" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_15" [label="15: Destruction \n _=*&x1:continue_scope::X [line 62, column 7]\n _fun_continue_scope::X_~X(&x1:continue_scope::X*) [line 62, column 7]\n " shape="box"] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_14" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_13" ; +"test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_15" [label="15: DeclStmt \n _fun_continue_scope::X_X(&x1:continue_scope::X*) [line 69, column 5]\n " shape="box"] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_15" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_7" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_16" [label="16: DeclStmt \n _fun_continue_scope::X_X(&x1:continue_scope::X*) [line 61, column 9]\n " shape="box"] + "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_15" -> "test_while1#continue_scope#7540876780991944911.b81085ce953e1cd4f035dc0322ac5331_4" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_1" [label="1: Start continue_scope::test_while2\nFormals: a:_Bool b:_Bool\nLocals: x3:continue_scope::X x2:continue_scope::X x1:continue_scope::X \n DECLARE_LOCALS(&return,&x3,&x2,&x1); [line 93, column 1]\n " color=yellow style=filled] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_16" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_15" ; -"test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_17" [label="17: DeclStmt \n _fun_continue_scope::vec_vec(&vector:continue_scope::vec*) [line 58, column 7]\n " shape="box"] + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_1" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_15" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_2" [label="2: Exit continue_scope::test_while2 \n " color=yellow style=filled] + + +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_3" [label="3: Destruction \n _=*&x1:continue_scope::X [line 102, column 1]\n _fun_continue_scope::X_~X(&x1:continue_scope::X*) [line 102, column 1]\n " shape="box"] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_3" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_2" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_4" [label="4: + \n " ] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_4" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_5" ; + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_4" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_6" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_5" [label="5: Prune (true branch, while) \n n$1=*&a:_Bool [line 95, column 10]\n PRUNE(n$1, true); [line 95, column 10]\n " shape="invhouse"] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_5" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_14" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_6" [label="6: Prune (false branch, while) \n n$1=*&a:_Bool [line 95, column 10]\n PRUNE(!n$1, false); [line 95, column 10]\n " shape="invhouse"] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_6" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_3" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_7" [label="7: Destruction \n _=*&x2:continue_scope::X [line 101, column 3]\n _fun_continue_scope::X_~X(&x2:continue_scope::X*) [line 101, column 3]\n " shape="box"] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_7" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_4" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" [label="8: + \n " ] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_9" ; + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_10" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_9" [label="9: Prune (true branch, while) \n n$3=*&b:_Bool [line 97, column 12]\n PRUNE(n$3, true); [line 97, column 12]\n " shape="invhouse"] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_9" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_13" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_10" [label="10: Prune (false branch, while) \n n$3=*&b:_Bool [line 97, column 12]\n PRUNE(!n$3, false); [line 97, column 12]\n " shape="invhouse"] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_10" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_7" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_11" [label="11: Destruction \n _=*&x3:continue_scope::X [line 100, column 5]\n _fun_continue_scope::X_~X(&x3:continue_scope::X*) [line 100, column 5]\n " shape="box"] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_11" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_12" [label="12: Destruction \n _=*&x3:continue_scope::X [line 99, column 7]\n _fun_continue_scope::X_~X(&x3:continue_scope::X*) [line 99, column 7]\n " shape="box"] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_12" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_13" [label="13: DeclStmt \n _fun_continue_scope::X_X(&x3:continue_scope::X*) [line 98, column 9]\n " shape="box"] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_13" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_12" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_14" [label="14: DeclStmt \n _fun_continue_scope::X_X(&x2:continue_scope::X*) [line 96, column 7]\n " shape="box"] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_14" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_8" ; +"test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_15" [label="15: DeclStmt \n _fun_continue_scope::X_X(&x1:continue_scope::X*) [line 94, column 5]\n " shape="box"] + + + "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_15" -> "test_while2#continue_scope#4169552136172626704.fb057544ed7a6c8312596f53be6b62dc_4" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_1" [label="1: Start continue_scope::test_while3\nFormals: a:_Bool b:_Bool\nLocals: x3:continue_scope::X x2:continue_scope::X x1:continue_scope::X \n DECLARE_LOCALS(&return,&x3,&x2,&x1); [line 104, column 1]\n " color=yellow style=filled] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_1" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_13" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_2" [label="2: Exit continue_scope::test_while3 \n " color=yellow style=filled] + + +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_3" [label="3: Destruction \n _=*&x3:continue_scope::X [line 113, column 1]\n _fun_continue_scope::X_~X(&x3:continue_scope::X*) [line 113, column 1]\n _=*&x1:continue_scope::X [line 113, column 1]\n _fun_continue_scope::X_~X(&x1:continue_scope::X*) [line 113, column 1]\n " shape="box"] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_3" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_2" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_4" [label="4: DeclStmt \n _fun_continue_scope::X_X(&x3:continue_scope::X*) [line 112, column 5]\n " shape="box"] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_4" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_3" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_5" [label="5: + \n " ] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_5" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_6" ; + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_5" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_7" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_6" [label="6: Prune (true branch, while) \n n$2=*&a:_Bool [line 106, column 10]\n PRUNE(n$2, true); [line 106, column 10]\n " shape="invhouse"] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_6" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_12" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_7" [label="7: Prune (false branch, while) \n n$2=*&a:_Bool [line 106, column 10]\n PRUNE(!n$2, false); [line 106, column 10]\n " shape="invhouse"] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_7" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_4" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_8" [label="8: Destruction \n _=*&x2:continue_scope::X [line 111, column 3]\n _fun_continue_scope::X_~X(&x2:continue_scope::X*) [line 111, column 3]\n " shape="box"] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_8" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_5" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_9" [label="9: + \n " ] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_9" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_10" ; + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_9" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_11" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_10" [label="10: Prune (true branch, while) \n n$4=*&b:_Bool [line 108, column 12]\n PRUNE(n$4, true); [line 108, column 12]\n " shape="invhouse"] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_10" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_9" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_11" [label="11: Prune (false branch, while) \n n$4=*&b:_Bool [line 108, column 12]\n PRUNE(!n$4, false); [line 108, column 12]\n " shape="invhouse"] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_11" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_8" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_12" [label="12: DeclStmt \n _fun_continue_scope::X_X(&x2:continue_scope::X*) [line 107, column 7]\n " shape="box"] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_12" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_9" ; +"test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_13" [label="13: DeclStmt \n _fun_continue_scope::X_X(&x1:continue_scope::X*) [line 105, column 5]\n " shape="box"] + + + "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_13" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_5" ; +"X#X#continue_scope#{3409116780571095996|constexpr}.c8d6a2b86adba9628fb048dcdc417f93_1" [label="1: Start continue_scope::X_X\nFormals: this:continue_scope::X* __param_0:continue_scope::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] + + + "X#X#continue_scope#{3409116780571095996|constexpr}.c8d6a2b86adba9628fb048dcdc417f93_1" -> "X#X#continue_scope#{3409116780571095996|constexpr}.c8d6a2b86adba9628fb048dcdc417f93_2" ; +"X#X#continue_scope#{3409116780571095996|constexpr}.c8d6a2b86adba9628fb048dcdc417f93_2" [label="2: Exit continue_scope::X_X \n " color=yellow style=filled] - "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_17" -> "test_for#continue_scope#10203739842900202560.4cb2db668430574619fdf529fdd4af8c_6" ; "X#X#continue_scope#{4988003876514960391|constexpr}.1f40e6165a04ac2ba6a599134cfea1db_1" [label="1: Start continue_scope::X_X\nFormals: this:continue_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] @@ -409,24 +416,46 @@ digraph cfg { "__infer_inner_destructor_~X#X#continue_scope#(14106261246415748043).7b99c403359c6d4efc163f4292ca75da_2" [label="2: Exit continue_scope::X___infer_inner_destructor_~X \n " color=yellow style=filled] -"~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_1" [label="1: Start continue_scope::X_~X\nFormals: this:continue_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] +"__infer_inner_destructor_~vec#vec#continue_scope#(10360929843329979119).03b608737079bc7a6c659c5062560447_1" [label="1: Start continue_scope::vec___infer_inner_destructor_~vec\nFormals: this:continue_scope::vec*\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 8]\n " color=yellow style=filled] - "~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_1" -> "~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_3" ; -"~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_2" [label="2: Exit continue_scope::X_~X \n " color=yellow style=filled] + "__infer_inner_destructor_~vec#vec#continue_scope#(10360929843329979119).03b608737079bc7a6c659c5062560447_1" -> "__infer_inner_destructor_~vec#vec#continue_scope#(10360929843329979119).03b608737079bc7a6c659c5062560447_2" ; +"__infer_inner_destructor_~vec#vec#continue_scope#(10360929843329979119).03b608737079bc7a6c659c5062560447_2" [label="2: Exit continue_scope::vec___infer_inner_destructor_~vec \n " color=yellow style=filled] -"~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_3" [label="3: Destruction \n n$0=*&this:continue_scope::X* [line 12, column 9]\n _=*n$0:continue_scope::X [line 12, column 9]\n _fun_continue_scope::X___infer_inner_destructor_~X(n$0:continue_scope::X*) [line 12, column 9]\n " shape="box"] +"begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_1" [label="1: Start continue_scope::vec_begin\nFormals: this:continue_scope::vec* __return_param:continue_scope::iterator*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 36, column 3]\n " color=yellow style=filled] - "~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_3" -> "~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_2" ; -"X#X#continue_scope#{3409116780571095996|constexpr}.c8d6a2b86adba9628fb048dcdc417f93_1" [label="1: Start continue_scope::X_X\nFormals: this:continue_scope::X* __param_0:continue_scope::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] + "begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_1" -> "begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_3" ; +"begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_2" [label="2: Exit continue_scope::vec_begin \n " color=yellow style=filled] - "X#X#continue_scope#{3409116780571095996|constexpr}.c8d6a2b86adba9628fb048dcdc417f93_1" -> "X#X#continue_scope#{3409116780571095996|constexpr}.c8d6a2b86adba9628fb048dcdc417f93_2" ; -"X#X#continue_scope#{3409116780571095996|constexpr}.c8d6a2b86adba9628fb048dcdc417f93_2" [label="2: Exit continue_scope::X_X \n " color=yellow style=filled] +"begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_3" [label="3: Return Stmt \n n$0=*&__return_param:continue_scope::iterator* [line 36, column 22]\n n$2=*&this:continue_scope::vec* [line 36, column 38]\n _fun_continue_scope::iterator_iterator(&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator*,n$2:continue_scope::vec*,0:int) [line 36, column 29]\n _fun_continue_scope::iterator_iterator(n$0:continue_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator&) [line 36, column 29]\n " shape="box"] + + + "begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_3" -> "begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_2" ; +"end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_1" [label="1: Start continue_scope::vec_end\nFormals: this:continue_scope::vec* __return_param:continue_scope::iterator*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 37, column 3]\n " color=yellow style=filled] + "end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_1" -> "end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_3" ; +"end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_2" [label="2: Exit continue_scope::vec_end \n " color=yellow style=filled] + + +"end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_3" [label="3: Return Stmt \n n$0=*&__return_param:continue_scope::iterator* [line 37, column 20]\n n$2=*&this:continue_scope::vec* [line 37, column 36]\n _fun_continue_scope::iterator_iterator(&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator*,n$2:continue_scope::vec*,10:int) [line 37, column 27]\n _fun_continue_scope::iterator_iterator(n$0:continue_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator&) [line 37, column 27]\n " shape="box"] + + + "end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_3" -> "end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_2" ; +"get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_1" [label="1: Start continue_scope::vec_get\nFormals: this:continue_scope::vec* pos:int __return_param:continue_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 39, column 3]\n " color=yellow style=filled] + + + "get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_1" -> "get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_3" ; +"get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_2" [label="2: Exit continue_scope::vec_get \n " color=yellow style=filled] + + +"get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_3" [label="3: Return Stmt \n n$0=*&__return_param:continue_scope::X* [line 39, column 26]\n n$1=*&this:continue_scope::vec const * [line 39, column 33]\n n$2=*&pos:int [line 39, column 39]\n _fun_continue_scope::X_X(n$0:continue_scope::X*,n$1._data[n$2]:continue_scope::X const &) [line 39, column 33]\n " shape="box"] + + + "get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_3" -> "get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_2" ; "iterator#iterator#continue_scope#{10809914205998631191|constexpr}.3824b12e843bd919018b65d60747271f_1" [label="1: Start continue_scope::iterator_iterator\nFormals: this:continue_scope::iterator* __param_0:continue_scope::iterator&\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 8]\n " color=yellow style=filled] @@ -442,47 +471,36 @@ digraph cfg { "iterator#iterator#continue_scope#{10809914205998631191|constexpr}.3824b12e843bd919018b65d60747271f_4" -> "iterator#iterator#continue_scope#{10809914205998631191|constexpr}.3824b12e843bd919018b65d60747271f_3" ; -"iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_1" [label="1: Start continue_scope::iterator_iterator\nFormals: this:continue_scope::iterator* __param_0:continue_scope::iterator const &\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 8]\n " color=yellow style=filled] - - - "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_1" -> "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_4" ; -"iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_2" [label="2: Exit continue_scope::iterator_iterator \n " color=yellow style=filled] - - -"iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_3" [label="3: Constructor Init \n n$0=*&this:continue_scope::iterator* [line 18, column 8]\n n$1=*&__param_0:continue_scope::iterator const & [line 18, column 8]\n n$2=*n$1.vector:continue_scope::vec const * [line 18, column 8]\n *n$0.vector:continue_scope::vec const *=n$2 [line 18, column 8]\n " shape="box"] - - - "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_3" -> "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_2" ; -"iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_4" [label="4: Constructor Init \n n$3=*&this:continue_scope::iterator* [line 18, column 8]\n n$4=*&__param_0:continue_scope::iterator const & [line 18, column 8]\n n$5=*n$4.position:int [line 18, column 8]\n *n$3.position:int=n$5 [line 18, column 8]\n " shape="box"] +"iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_1" [label="1: Start continue_scope::iterator_iterator\nFormals: this:continue_scope::iterator* v:continue_scope::vec const * pos:int\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 3]\n " color=yellow style=filled] - "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_4" -> "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_3" ; -"operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_1" [label="1: Start continue_scope::iterator_operator*\nFormals: this:continue_scope::iterator* __return_param:continue_scope::X*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 44, column 1]\n " color=yellow style=filled] + "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_1" -> "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_4" ; +"iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_2" [label="2: Exit continue_scope::iterator_iterator \n " color=yellow style=filled] - "operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_1" -> "operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_3" ; -"operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_2" [label="2: Exit continue_scope::iterator_operator* \n " color=yellow style=filled] +"iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_3" [label="3: Constructor Init \n n$0=*&this:continue_scope::iterator* [line 22, column 52]\n n$1=*&v:continue_scope::vec const * [line 22, column 59]\n *n$0.vector:continue_scope::vec const *=n$1 [line 22, column 52]\n " shape="box"] -"operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_3" [label="3: Return Stmt \n n$0=*&__return_param:continue_scope::X* [line 44, column 33]\n n$2=*&this:continue_scope::iterator const * [line 44, column 40]\n n$3=*n$2.vector:continue_scope::vec const * [line 44, column 40]\n _=*n$3:continue_scope::vec const [line 44, column 40]\n n$5=*&this:continue_scope::iterator const * [line 44, column 52]\n n$6=*n$5.position:int [line 44, column 52]\n _fun_continue_scope::vec_get(n$3:continue_scope::vec const *,n$6:int,&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::X*) [line 44, column 40]\n _fun_continue_scope::X_X(n$0:continue_scope::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::X&) [line 44, column 40]\n " shape="box"] + "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_3" -> "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_2" ; +"iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_4" [label="4: Constructor Init \n n$2=*&this:continue_scope::iterator* [line 22, column 37]\n n$3=*&pos:int [line 22, column 46]\n *n$2.position:int=n$3 [line 22, column 37]\n " shape="box"] - "operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_3" -> "operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_2" ; -"operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_1" [label="1: Start continue_scope::iterator_operator++\nFormals: this:continue_scope::iterator* __return_param:continue_scope::iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 3]\n " color=yellow style=filled] + "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_4" -> "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_3" ; +"iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_1" [label="1: Start continue_scope::iterator_iterator\nFormals: this:continue_scope::iterator* __param_0:continue_scope::iterator const &\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 8]\n " color=yellow style=filled] - "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_1" -> "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_4" ; -"operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_2" [label="2: Exit continue_scope::iterator_operator++ \n " color=yellow style=filled] + "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_1" -> "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_4" ; +"iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_2" [label="2: Exit continue_scope::iterator_iterator \n " color=yellow style=filled] -"operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_3" [label="3: Return Stmt \n n$0=*&__return_param:continue_scope::iterator* [line 26, column 5]\n n$1=*&this:continue_scope::iterator* [line 26, column 13]\n _fun_continue_scope::iterator_iterator(n$0:continue_scope::iterator*,n$1:continue_scope::iterator&) [line 26, column 12]\n " shape="box"] +"iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_3" [label="3: Constructor Init \n n$0=*&this:continue_scope::iterator* [line 18, column 8]\n n$1=*&__param_0:continue_scope::iterator const & [line 18, column 8]\n n$2=*n$1.vector:continue_scope::vec const * [line 18, column 8]\n *n$0.vector:continue_scope::vec const *=n$2 [line 18, column 8]\n " shape="box"] - "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_3" -> "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_2" ; -"operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_4" [label="4: UnaryOperator \n n$2=*&this:continue_scope::iterator* [line 25, column 5]\n n$3=*n$2.position:int [line 25, column 5]\n *n$2.position:int=(n$3 + 1) [line 25, column 5]\n " shape="box"] + "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_3" -> "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_2" ; +"iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_4" [label="4: Constructor Init \n n$3=*&this:continue_scope::iterator* [line 18, column 8]\n n$4=*&__param_0:continue_scope::iterator const & [line 18, column 8]\n n$5=*n$4.position:int [line 18, column 8]\n *n$3.position:int=n$5 [line 18, column 8]\n " shape="box"] - "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_4" -> "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_3" ; + "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_4" -> "iterator#iterator#continue_scope#{5205818338773724773|constexpr}.befe58b6f79cfdaaec28cf6af78711d5_3" ; "operator!=#iterator#continue_scope#(11025097396656630732).d1947b35520a12f51156c7fee5f5e4a1_1" [label="1: Start continue_scope::iterator_operator!=\nFormals: this:continue_scope::iterator* i2:continue_scope::iterator const &\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 29, column 3]\n " color=yellow style=filled] @@ -519,21 +537,32 @@ digraph cfg { "operator!=#iterator#continue_scope#(11025097396656630732).d1947b35520a12f51156c7fee5f5e4a1_9" -> "operator!=#iterator#continue_scope#(11025097396656630732).d1947b35520a12f51156c7fee5f5e4a1_2" ; -"iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_1" [label="1: Start continue_scope::iterator_iterator\nFormals: this:continue_scope::iterator* v:continue_scope::vec const * pos:int\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 3]\n " color=yellow style=filled] +"operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_1" [label="1: Start continue_scope::iterator_operator*\nFormals: this:continue_scope::iterator* __return_param:continue_scope::X*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 44, column 1]\n " color=yellow style=filled] - "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_1" -> "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_4" ; -"iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_2" [label="2: Exit continue_scope::iterator_iterator \n " color=yellow style=filled] + "operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_1" -> "operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_3" ; +"operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_2" [label="2: Exit continue_scope::iterator_operator* \n " color=yellow style=filled] -"iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_3" [label="3: Constructor Init \n n$0=*&this:continue_scope::iterator* [line 22, column 52]\n n$1=*&v:continue_scope::vec const * [line 22, column 59]\n *n$0.vector:continue_scope::vec const *=n$1 [line 22, column 52]\n " shape="box"] +"operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_3" [label="3: Return Stmt \n n$0=*&__return_param:continue_scope::X* [line 44, column 33]\n n$2=*&this:continue_scope::iterator const * [line 44, column 40]\n n$3=*n$2.vector:continue_scope::vec const * [line 44, column 40]\n _=*n$3:continue_scope::vec const [line 44, column 40]\n n$5=*&this:continue_scope::iterator const * [line 44, column 52]\n n$6=*n$5.position:int [line 44, column 52]\n _fun_continue_scope::vec_get(n$3:continue_scope::vec const *,n$6:int,&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::X*) [line 44, column 40]\n _fun_continue_scope::X_X(n$0:continue_scope::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::X&) [line 44, column 40]\n " shape="box"] - "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_3" -> "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_2" ; -"iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_4" [label="4: Constructor Init \n n$2=*&this:continue_scope::iterator* [line 22, column 37]\n n$3=*&pos:int [line 22, column 46]\n *n$2.position:int=n$3 [line 22, column 37]\n " shape="box"] + "operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_3" -> "operator*#iterator#continue_scope#(10976315504449545146).52feec5517a47e2a4f419770b171de17_2" ; +"operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_1" [label="1: Start continue_scope::iterator_operator++\nFormals: this:continue_scope::iterator* __return_param:continue_scope::iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 3]\n " color=yellow style=filled] - "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_4" -> "iterator#iterator#continue_scope#{17152205201271404012}.6fcfea00eca12936183691c85f57ca37_3" ; + "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_1" -> "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_4" ; +"operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_2" [label="2: Exit continue_scope::iterator_operator++ \n " color=yellow style=filled] + + +"operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_3" [label="3: Return Stmt \n n$0=*&__return_param:continue_scope::iterator* [line 26, column 5]\n n$1=*&this:continue_scope::iterator* [line 26, column 13]\n _fun_continue_scope::iterator_iterator(n$0:continue_scope::iterator*,n$1:continue_scope::iterator&) [line 26, column 12]\n " shape="box"] + + + "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_3" -> "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_2" ; +"operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_4" [label="4: UnaryOperator \n n$2=*&this:continue_scope::iterator* [line 25, column 5]\n n$3=*n$2.position:int [line 25, column 5]\n *n$2.position:int=(n$3 + 1) [line 25, column 5]\n " shape="box"] + + + "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_4" -> "operator++#iterator#continue_scope#(16434574593791982090).926de445b967c9119c5cf6eecba7a618_3" ; "vec#vec#continue_scope#{15014380772393274563}.0db26bae10e0d7702598e02aede0544b_1" [label="1: Start continue_scope::vec_vec\nFormals: this:continue_scope::vec*\nLocals: \n DECLARE_LOCALS(&return); [line 35, column 3]\n " color=yellow style=filled] @@ -545,13 +574,17 @@ digraph cfg { "vec#vec#continue_scope#{15014380772393274563}.0db26bae10e0d7702598e02aede0544b_3" -> "vec#vec#continue_scope#{15014380772393274563}.0db26bae10e0d7702598e02aede0544b_2" ; -"__infer_inner_destructor_~vec#vec#continue_scope#(10360929843329979119).03b608737079bc7a6c659c5062560447_1" [label="1: Start continue_scope::vec___infer_inner_destructor_~vec\nFormals: this:continue_scope::vec*\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 8]\n " color=yellow style=filled] +"~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_1" [label="1: Start continue_scope::X_~X\nFormals: this:continue_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] - "__infer_inner_destructor_~vec#vec#continue_scope#(10360929843329979119).03b608737079bc7a6c659c5062560447_1" -> "__infer_inner_destructor_~vec#vec#continue_scope#(10360929843329979119).03b608737079bc7a6c659c5062560447_2" ; -"__infer_inner_destructor_~vec#vec#continue_scope#(10360929843329979119).03b608737079bc7a6c659c5062560447_2" [label="2: Exit continue_scope::vec___infer_inner_destructor_~vec \n " color=yellow style=filled] + "~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_1" -> "~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_3" ; +"~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_2" [label="2: Exit continue_scope::X_~X \n " color=yellow style=filled] + + +"~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_3" [label="3: Destruction \n n$0=*&this:continue_scope::X* [line 12, column 9]\n _=*n$0:continue_scope::X [line 12, column 9]\n _fun_continue_scope::X___infer_inner_destructor_~X(n$0:continue_scope::X*) [line 12, column 9]\n " shape="box"] + "~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_3" -> "~X#X#continue_scope#(14106261246415748043).bee8da02915b57fe8c8e01c9b731311d_2" ; "~vec#vec#continue_scope#(10360929843329979119).4ca99321ca697a550551ca058254a138_1" [label="1: Start continue_scope::vec_~vec\nFormals: this:continue_scope::vec*\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 8]\n " color=yellow style=filled] @@ -563,37 +596,4 @@ digraph cfg { "~vec#vec#continue_scope#(10360929843329979119).4ca99321ca697a550551ca058254a138_3" -> "~vec#vec#continue_scope#(10360929843329979119).4ca99321ca697a550551ca058254a138_2" ; -"begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_1" [label="1: Start continue_scope::vec_begin\nFormals: this:continue_scope::vec* __return_param:continue_scope::iterator*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 36, column 3]\n " color=yellow style=filled] - - - "begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_1" -> "begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_3" ; -"begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_2" [label="2: Exit continue_scope::vec_begin \n " color=yellow style=filled] - - -"begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_3" [label="3: Return Stmt \n n$0=*&__return_param:continue_scope::iterator* [line 36, column 22]\n n$2=*&this:continue_scope::vec* [line 36, column 38]\n _fun_continue_scope::iterator_iterator(&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator*,n$2:continue_scope::vec*,0:int) [line 36, column 29]\n _fun_continue_scope::iterator_iterator(n$0:continue_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator&) [line 36, column 29]\n " shape="box"] - - - "begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_3" -> "begin#vec#continue_scope#(10867355481694456603).b98e56054b13873648ee448110d89e0d_2" ; -"end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_1" [label="1: Start continue_scope::vec_end\nFormals: this:continue_scope::vec* __return_param:continue_scope::iterator*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 37, column 3]\n " color=yellow style=filled] - - - "end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_1" -> "end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_3" ; -"end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_2" [label="2: Exit continue_scope::vec_end \n " color=yellow style=filled] - - -"end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_3" [label="3: Return Stmt \n n$0=*&__return_param:continue_scope::iterator* [line 37, column 20]\n n$2=*&this:continue_scope::vec* [line 37, column 36]\n _fun_continue_scope::iterator_iterator(&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator*,n$2:continue_scope::vec*,10:int) [line 37, column 27]\n _fun_continue_scope::iterator_iterator(n$0:continue_scope::iterator*,&0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator&) [line 37, column 27]\n " shape="box"] - - - "end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_3" -> "end#vec#continue_scope#(4225103001970544933).ded338553ca4887b56031f34ea912cde_2" ; -"get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_1" [label="1: Start continue_scope::vec_get\nFormals: this:continue_scope::vec* pos:int __return_param:continue_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 39, column 3]\n " color=yellow style=filled] - - - "get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_1" -> "get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_3" ; -"get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_2" [label="2: Exit continue_scope::vec_get \n " color=yellow style=filled] - - -"get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_3" [label="3: Return Stmt \n n$0=*&__return_param:continue_scope::X* [line 39, column 26]\n n$1=*&this:continue_scope::vec const * [line 39, column 33]\n n$2=*&pos:int [line 39, column 39]\n _fun_continue_scope::X_X(n$0:continue_scope::X*,n$1._data[n$2]:continue_scope::X const &) [line 39, column 33]\n " shape="box"] - - - "get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_3" -> "get#vec#continue_scope#(13898317495016814620).68b3a48870926ee1b656c13c172b7eaf_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/destructor_bases.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/destructor_bases.cpp.dot index b3ead1589..2112350e0 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/destructor_bases.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/destructor_bases.cpp.dot @@ -11,116 +11,133 @@ digraph cfg { "A#A#{14779025497907219583}.17208581fb4c6bbf4d62e29851fb70ab_3" -> "A#A#{14779025497907219583}.17208581fb4c6bbf4d62e29851fb70ab_2" ; -"__infer_inner_destructor_~A#A#(5328378654181921475).fc82b49c4db05388a691369e292a802b_1" [label="1: Start A___infer_inner_destructor_~A\nFormals: this:A*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] +"B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_1" [label="1: Start B_B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 3]\n " color=yellow style=filled] - "__infer_inner_destructor_~A#A#(5328378654181921475).fc82b49c4db05388a691369e292a802b_1" -> "__infer_inner_destructor_~A#A#(5328378654181921475).fc82b49c4db05388a691369e292a802b_2" ; -"__infer_inner_destructor_~A#A#(5328378654181921475).fc82b49c4db05388a691369e292a802b_2" [label="2: Exit A___infer_inner_destructor_~A \n " color=yellow style=filled] + "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_1" -> "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_4" ; +"B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_2" [label="2: Exit B_B \n " color=yellow style=filled] -"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_1" [label="1: Start A_~A\nFormals: this:A*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] +"B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_3" [label="3: Constructor Init \n n$0=*&this:B* [line 21, column 3]\n _fun_A_A(n$0:B*) [line 21, column 3]\n " shape="box"] - "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_1" -> "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" ; -"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_2" [label="2: Exit A_~A \n " color=yellow style=filled] + "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_3" -> "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_2" ; +"B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_4" [label="4: Constructor Init \n n$1=*&this:B* [line 21, column 7]\n _fun_T_T(n$1:B*) [line 21, column 3]\n " shape="box"] -"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" [label="3: Destruction \n n$0=*&this:A* [line 17, column 8]\n _=*n$0:A [line 17, column 8]\n _fun_A___infer_inner_destructor_~A(n$0:A*) [line 17, column 8]\n _=*n$0:A [line 17, column 8]\n _fun_T___infer_inner_destructor_~T(n$0:A*) [line 17, column 8]\n " shape="box"] + "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_4" -> "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_3" ; +"C#C#{5740611327153041165}.7f44dbfcbf1af9b0d8bcababbf48127e_1" [label="1: Start C_C\nFormals: this:C*\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 3]\n " color=yellow style=filled] - "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" -> "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_2" ; -"B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_1" [label="1: Start B_B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 3]\n " color=yellow style=filled] + "C#C#{5740611327153041165}.7f44dbfcbf1af9b0d8bcababbf48127e_1" -> "C#C#{5740611327153041165}.7f44dbfcbf1af9b0d8bcababbf48127e_2" ; +"C#C#{5740611327153041165}.7f44dbfcbf1af9b0d8bcababbf48127e_2" [label="2: Exit C_C \n " color=yellow style=filled] - "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_1" -> "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_4" ; -"B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_2" [label="2: Exit B_B \n " color=yellow style=filled] +"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_1" [label="1: Start D_D\nFormals: this:D*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 3]\n " color=yellow style=filled] -"B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_3" [label="3: Constructor Init \n n$0=*&this:B* [line 21, column 3]\n _fun_A_A(n$0:B*) [line 21, column 3]\n " shape="box"] + "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_1" -> "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_6" ; +"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_2" [label="2: Exit D_D \n " color=yellow style=filled] - "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_3" -> "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_2" ; -"B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_4" [label="4: Constructor Init \n n$1=*&this:B* [line 21, column 7]\n _fun_T_T(n$1:B*) [line 21, column 3]\n " shape="box"] +"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_3" [label="3: Constructor Init \n n$0=*&this:D* [line 32, column 3]\n _fun_B_B(n$0.b:B*) [line 32, column 3]\n " shape="box"] - "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_4" -> "B#B#{10798876524598897542}.3b10fa64f3322f2c8bfbde72c7a0e4a6_3" ; -"__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_1" [label="1: Start B___infer_inner_destructor_~B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 3]\n " color=yellow style=filled] + "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_3" -> "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_2" ; +"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_4" [label="4: Constructor Init \n n$1=*&this:D* [line 32, column 3]\n _fun_C_C(n$1:D*) [line 32, column 3]\n " shape="box"] - "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_1" -> "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_2" ; -"__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_2" [label="2: Exit B___infer_inner_destructor_~B \n " color=yellow style=filled] + "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_4" -> "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_3" ; +"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_5" [label="5: Constructor Init \n n$2=*&this:D* [line 32, column 3]\n _fun_A_A(n$2:D*) [line 32, column 3]\n " shape="box"] -"~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_1" [label="1: Start B_~B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 3]\n " color=yellow style=filled] + "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_5" -> "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_4" ; +"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_6" [label="6: Constructor Init \n n$3=*&this:D* [line 32, column 7]\n _fun_T_T(n$3:D*) [line 32, column 3]\n " shape="box"] - "~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_1" -> "~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_3" ; -"~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_2" [label="2: Exit B_~B \n " color=yellow style=filled] + "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_6" -> "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_5" ; +"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_1" [label="1: Start E_E\nFormals: this:E*\nLocals: \n DECLARE_LOCALS(&return); [line 37, column 3]\n " color=yellow style=filled] -"~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_3" [label="3: Destruction \n n$0=*&this:B* [line 22, column 8]\n _=*n$0:B [line 22, column 8]\n _fun_B___infer_inner_destructor_~B(n$0:B*) [line 22, column 8]\n _=*n$0:B [line 22, column 8]\n _fun_A___infer_inner_destructor_~A(n$0:B*) [line 22, column 8]\n _=*n$0:B [line 22, column 8]\n _fun_T___infer_inner_destructor_~T(n$0:B*) [line 22, column 8]\n " shape="box"] + "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_1" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_7" ; +"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_2" [label="2: Exit E_E \n " color=yellow style=filled] - "~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_3" -> "~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_2" ; -"C#C#{5740611327153041165}.7f44dbfcbf1af9b0d8bcababbf48127e_1" [label="1: Start C_C\nFormals: this:C*\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 3]\n " color=yellow style=filled] +"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_3" [label="3: Constructor Init \n n$0=*&this:E* [line 37, column 3]\n _fun_D_D(n$0:E*) [line 37, column 3]\n " shape="box"] - "C#C#{5740611327153041165}.7f44dbfcbf1af9b0d8bcababbf48127e_1" -> "C#C#{5740611327153041165}.7f44dbfcbf1af9b0d8bcababbf48127e_2" ; -"C#C#{5740611327153041165}.7f44dbfcbf1af9b0d8bcababbf48127e_2" [label="2: Exit C_C \n " color=yellow style=filled] + "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_3" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_2" ; +"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_4" [label="4: Constructor Init \n n$1=*&this:E* [line 37, column 3]\n _fun_C_C(n$1:E*) [line 37, column 3]\n " shape="box"] -"__infer_inner_destructor_~C#C#(8663121109475859597).b2a38f2bbddcdfc0b09e6d7290006778_1" [label="1: Start C___infer_inner_destructor_~C\nFormals: this:C*\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 3]\n " color=yellow style=filled] + "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_4" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_3" ; +"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_5" [label="5: Constructor Init \n n$2=*&this:E* [line 37, column 3]\n _fun_B_B(n$2:E*) [line 37, column 3]\n " shape="box"] - "__infer_inner_destructor_~C#C#(8663121109475859597).b2a38f2bbddcdfc0b09e6d7290006778_1" -> "__infer_inner_destructor_~C#C#(8663121109475859597).b2a38f2bbddcdfc0b09e6d7290006778_2" ; -"__infer_inner_destructor_~C#C#(8663121109475859597).b2a38f2bbddcdfc0b09e6d7290006778_2" [label="2: Exit C___infer_inner_destructor_~C \n " color=yellow style=filled] + "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_5" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_4" ; +"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_6" [label="6: Constructor Init \n n$3=*&this:E* [line 37, column 3]\n _fun_A_A(n$3:E*) [line 37, column 3]\n " shape="box"] -"~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_1" [label="1: Start C_~C\nFormals: this:C*\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 3]\n " color=yellow style=filled] + "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_6" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_5" ; +"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_7" [label="7: Constructor Init \n n$4=*&this:E* [line 37, column 7]\n _fun_T_T(n$4:E*) [line 37, column 3]\n " shape="box"] - "~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_1" -> "~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_3" ; -"~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_2" [label="2: Exit C_~C \n " color=yellow style=filled] + "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_7" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_6" ; +"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_1" [label="1: Start F_F\nFormals: this:F*\nLocals: \n DECLARE_LOCALS(&return); [line 42, column 3]\n " color=yellow style=filled] -"~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_3" [label="3: Destruction \n n$0=*&this:C* [line 27, column 8]\n _=*n$0:C [line 27, column 8]\n _fun_C___infer_inner_destructor_~C(n$0:C*) [line 27, column 8]\n " shape="box"] + "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_1" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_7" ; +"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_2" [label="2: Exit F_F \n " color=yellow style=filled] - "~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_3" -> "~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_2" ; -"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_1" [label="1: Start D_D\nFormals: this:D*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 3]\n " color=yellow style=filled] +"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_3" [label="3: Constructor Init \n n$0=*&this:F* [line 42, column 3]\n _fun_D_D(n$0:F*) [line 42, column 3]\n " shape="box"] - "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_1" -> "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_6" ; -"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_2" [label="2: Exit D_D \n " color=yellow style=filled] + "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_3" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_2" ; +"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_4" [label="4: Constructor Init \n n$1=*&this:F* [line 42, column 3]\n _fun_B_B(n$1:F*) [line 42, column 3]\n " shape="box"] -"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_3" [label="3: Constructor Init \n n$0=*&this:D* [line 32, column 3]\n _fun_B_B(n$0.b:B*) [line 32, column 3]\n " shape="box"] + "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_4" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_3" ; +"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_5" [label="5: Constructor Init \n n$2=*&this:F* [line 42, column 3]\n _fun_C_C(n$2:F*) [line 42, column 3]\n " shape="box"] - "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_3" -> "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_2" ; -"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_4" [label="4: Constructor Init \n n$1=*&this:D* [line 32, column 3]\n _fun_C_C(n$1:D*) [line 32, column 3]\n " shape="box"] + "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_5" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_4" ; +"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_6" [label="6: Constructor Init \n n$3=*&this:F* [line 42, column 3]\n _fun_A_A(n$3:F*) [line 42, column 3]\n " shape="box"] - "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_4" -> "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_3" ; -"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_5" [label="5: Constructor Init \n n$2=*&this:D* [line 32, column 3]\n _fun_A_A(n$2:D*) [line 32, column 3]\n " shape="box"] + "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_6" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_5" ; +"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_7" [label="7: Constructor Init \n n$4=*&this:F* [line 42, column 7]\n _fun_T_T(n$4:F*) [line 42, column 3]\n " shape="box"] - "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_5" -> "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_4" ; -"D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_6" [label="6: Constructor Init \n n$3=*&this:D* [line 32, column 7]\n _fun_T_T(n$3:D*) [line 32, column 3]\n " shape="box"] + "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_7" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_6" ; +"T#T#{15422546710357390924}.2e459864a844310ea5ab719ea4768a72_1" [label="1: Start T_T\nFormals: this:T*\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 3]\n " color=yellow style=filled] - "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_6" -> "D#D#{14859184625718510620}.5a45d8adce2fa330a108d14c6d9e7ad2_5" ; -"~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_1" [label="1: Start D_~D\nFormals: this:D*\nLocals: \n DECLARE_LOCALS(&return); [line 33, column 3]\n " color=yellow style=filled] + "T#T#{15422546710357390924}.2e459864a844310ea5ab719ea4768a72_1" -> "T#T#{15422546710357390924}.2e459864a844310ea5ab719ea4768a72_2" ; +"T#T#{15422546710357390924}.2e459864a844310ea5ab719ea4768a72_2" [label="2: Exit T_T \n " color=yellow style=filled] - "~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_1" -> "~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_3" ; -"~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_2" [label="2: Exit D_~D \n " color=yellow style=filled] +"__infer_inner_destructor_~A#A#(5328378654181921475).fc82b49c4db05388a691369e292a802b_1" [label="1: Start A___infer_inner_destructor_~A\nFormals: this:A*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] -"~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_3" [label="3: Destruction \n n$0=*&this:D* [line 33, column 15]\n _=*n$0:D [line 33, column 15]\n _fun_D___infer_inner_destructor_~D(n$0:D*) [line 33, column 15]\n _=*n$0:D [line 33, column 15]\n _fun_T___infer_inner_destructor_~T(n$0:D*) [line 33, column 15]\n " shape="box"] + "__infer_inner_destructor_~A#A#(5328378654181921475).fc82b49c4db05388a691369e292a802b_1" -> "__infer_inner_destructor_~A#A#(5328378654181921475).fc82b49c4db05388a691369e292a802b_2" ; +"__infer_inner_destructor_~A#A#(5328378654181921475).fc82b49c4db05388a691369e292a802b_2" [label="2: Exit A___infer_inner_destructor_~A \n " color=yellow style=filled] + + +"__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_1" [label="1: Start B___infer_inner_destructor_~B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 3]\n " color=yellow style=filled] + + + "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_1" -> "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_2" ; +"__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_2" [label="2: Exit B___infer_inner_destructor_~B \n " color=yellow style=filled] + + +"__infer_inner_destructor_~C#C#(8663121109475859597).b2a38f2bbddcdfc0b09e6d7290006778_1" [label="1: Start C___infer_inner_destructor_~C\nFormals: this:C*\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 3]\n " color=yellow style=filled] + + + "__infer_inner_destructor_~C#C#(8663121109475859597).b2a38f2bbddcdfc0b09e6d7290006778_1" -> "__infer_inner_destructor_~C#C#(8663121109475859597).b2a38f2bbddcdfc0b09e6d7290006778_2" ; +"__infer_inner_destructor_~C#C#(8663121109475859597).b2a38f2bbddcdfc0b09e6d7290006778_2" [label="2: Exit C___infer_inner_destructor_~C \n " color=yellow style=filled] - "~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_3" -> "~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_2" ; "__infer_inner_destructor_~D#D#(5618221758133596168).bafb8a40b92952d90ec3736fc827de7f_1" [label="1: Start D___infer_inner_destructor_~D\nFormals: this:D*\nLocals: a:A \n DECLARE_LOCALS(&return,&a); [line 33, column 3]\n " color=yellow style=filled] @@ -140,93 +157,90 @@ digraph cfg { "__infer_inner_destructor_~D#D#(5618221758133596168).bafb8a40b92952d90ec3736fc827de7f_5" -> "__infer_inner_destructor_~D#D#(5618221758133596168).bafb8a40b92952d90ec3736fc827de7f_4" ; -"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_1" [label="1: Start E_E\nFormals: this:E*\nLocals: \n DECLARE_LOCALS(&return); [line 37, column 3]\n " color=yellow style=filled] +"__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_1" [label="1: Start E___infer_inner_destructor_~E\nFormals: this:E*\nLocals: \n DECLARE_LOCALS(&return); [line 38, column 3]\n " color=yellow style=filled] - "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_1" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_7" ; -"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_2" [label="2: Exit E_E \n " color=yellow style=filled] + "__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_1" -> "__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_3" ; +"__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_2" [label="2: Exit E___infer_inner_destructor_~E \n " color=yellow style=filled] -"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_3" [label="3: Constructor Init \n n$0=*&this:E* [line 37, column 3]\n _fun_D_D(n$0:E*) [line 37, column 3]\n " shape="box"] +"__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_3" [label="3: Destruction \n n$0=*&this:E* [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_D___infer_inner_destructor_~D(n$0:E*) [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_C___infer_inner_destructor_~C(n$0:E*) [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_B___infer_inner_destructor_~B(n$0:E*) [line 38, column 8]\n " shape="box"] - "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_3" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_2" ; -"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_4" [label="4: Constructor Init \n n$1=*&this:E* [line 37, column 3]\n _fun_C_C(n$1:E*) [line 37, column 3]\n " shape="box"] + "__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_3" -> "__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_2" ; +"__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_1" [label="1: Start F___infer_inner_destructor_~F\nFormals: this:F*\nLocals: \n DECLARE_LOCALS(&return); [line 43, column 3]\n " color=yellow style=filled] - "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_4" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_3" ; -"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_5" [label="5: Constructor Init \n n$2=*&this:E* [line 37, column 3]\n _fun_B_B(n$2:E*) [line 37, column 3]\n " shape="box"] + "__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_1" -> "__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_3" ; +"__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_2" [label="2: Exit F___infer_inner_destructor_~F \n " color=yellow style=filled] - "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_5" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_4" ; -"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_6" [label="6: Constructor Init \n n$3=*&this:E* [line 37, column 3]\n _fun_A_A(n$3:E*) [line 37, column 3]\n " shape="box"] +"__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_3" [label="3: Destruction \n n$0=*&this:F* [line 43, column 8]\n _=*n$0:F [line 43, column 8]\n _fun_D___infer_inner_destructor_~D(n$0:F*) [line 43, column 8]\n _=*n$0:F [line 43, column 8]\n _fun_B___infer_inner_destructor_~B(n$0:F*) [line 43, column 8]\n " shape="box"] - "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_6" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_5" ; -"E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_7" [label="7: Constructor Init \n n$4=*&this:E* [line 37, column 7]\n _fun_T_T(n$4:E*) [line 37, column 3]\n " shape="box"] + "__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_3" -> "__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_2" ; +"__infer_inner_destructor_~T#T#(198129514833990712).6f8f8037f60d385be9f35cbd1252e677_1" [label="1: Start T___infer_inner_destructor_~T\nFormals: this:T*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] - "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_7" -> "E#E#{7886195349376518403}.02845ceb3bc1b2ade1c6ab65150dfc34_6" ; -"__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_1" [label="1: Start E___infer_inner_destructor_~E\nFormals: this:E*\nLocals: \n DECLARE_LOCALS(&return); [line 38, column 3]\n " color=yellow style=filled] + "__infer_inner_destructor_~T#T#(198129514833990712).6f8f8037f60d385be9f35cbd1252e677_1" -> "__infer_inner_destructor_~T#T#(198129514833990712).6f8f8037f60d385be9f35cbd1252e677_2" ; +"__infer_inner_destructor_~T#T#(198129514833990712).6f8f8037f60d385be9f35cbd1252e677_2" [label="2: Exit T___infer_inner_destructor_~T \n " color=yellow style=filled] - "__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_1" -> "__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_3" ; -"__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_2" [label="2: Exit E___infer_inner_destructor_~E \n " color=yellow style=filled] +"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_1" [label="1: Start A_~A\nFormals: this:A*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] -"__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_3" [label="3: Destruction \n n$0=*&this:E* [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_D___infer_inner_destructor_~D(n$0:E*) [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_C___infer_inner_destructor_~C(n$0:E*) [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_B___infer_inner_destructor_~B(n$0:E*) [line 38, column 8]\n " shape="box"] + "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_1" -> "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" ; +"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_2" [label="2: Exit A_~A \n " color=yellow style=filled] - "__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_3" -> "__infer_inner_destructor_~E#E#(2987579715549688623).0c2beae2fa1834341749df3ec1f5ac22_2" ; -"~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_1" [label="1: Start E_~E\nFormals: this:E*\nLocals: \n DECLARE_LOCALS(&return); [line 38, column 3]\n " color=yellow style=filled] +"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" [label="3: Destruction \n n$0=*&this:A* [line 17, column 8]\n _=*n$0:A [line 17, column 8]\n _fun_A___infer_inner_destructor_~A(n$0:A*) [line 17, column 8]\n _=*n$0:A [line 17, column 8]\n _fun_T___infer_inner_destructor_~T(n$0:A*) [line 17, column 8]\n " shape="box"] - "~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_1" -> "~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_3" ; -"~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_2" [label="2: Exit E_~E \n " color=yellow style=filled] + "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" -> "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_2" ; +"~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_1" [label="1: Start B_~B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 3]\n " color=yellow style=filled] -"~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_3" [label="3: Destruction \n n$0=*&this:E* [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_E___infer_inner_destructor_~E(n$0:E*) [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_A___infer_inner_destructor_~A(n$0:E*) [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_T___infer_inner_destructor_~T(n$0:E*) [line 38, column 8]\n " shape="box"] + "~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_1" -> "~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_3" ; +"~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_2" [label="2: Exit B_~B \n " color=yellow style=filled] - "~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_3" -> "~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_2" ; -"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_1" [label="1: Start F_F\nFormals: this:F*\nLocals: \n DECLARE_LOCALS(&return); [line 42, column 3]\n " color=yellow style=filled] +"~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_3" [label="3: Destruction \n n$0=*&this:B* [line 22, column 8]\n _=*n$0:B [line 22, column 8]\n _fun_B___infer_inner_destructor_~B(n$0:B*) [line 22, column 8]\n _=*n$0:B [line 22, column 8]\n _fun_A___infer_inner_destructor_~A(n$0:B*) [line 22, column 8]\n _=*n$0:B [line 22, column 8]\n _fun_T___infer_inner_destructor_~T(n$0:B*) [line 22, column 8]\n " shape="box"] - "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_1" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_7" ; -"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_2" [label="2: Exit F_F \n " color=yellow style=filled] + "~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_3" -> "~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_2" ; +"~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_1" [label="1: Start C_~C\nFormals: this:C*\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 3]\n " color=yellow style=filled] -"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_3" [label="3: Constructor Init \n n$0=*&this:F* [line 42, column 3]\n _fun_D_D(n$0:F*) [line 42, column 3]\n " shape="box"] + "~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_1" -> "~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_3" ; +"~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_2" [label="2: Exit C_~C \n " color=yellow style=filled] - "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_3" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_2" ; -"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_4" [label="4: Constructor Init \n n$1=*&this:F* [line 42, column 3]\n _fun_B_B(n$1:F*) [line 42, column 3]\n " shape="box"] +"~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_3" [label="3: Destruction \n n$0=*&this:C* [line 27, column 8]\n _=*n$0:C [line 27, column 8]\n _fun_C___infer_inner_destructor_~C(n$0:C*) [line 27, column 8]\n " shape="box"] - "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_4" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_3" ; -"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_5" [label="5: Constructor Init \n n$2=*&this:F* [line 42, column 3]\n _fun_C_C(n$2:F*) [line 42, column 3]\n " shape="box"] + "~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_3" -> "~C#C#(8663121109475859597).c4887e86b7c3519c4397dd483476d5d2_2" ; +"~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_1" [label="1: Start D_~D\nFormals: this:D*\nLocals: \n DECLARE_LOCALS(&return); [line 33, column 3]\n " color=yellow style=filled] - "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_5" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_4" ; -"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_6" [label="6: Constructor Init \n n$3=*&this:F* [line 42, column 3]\n _fun_A_A(n$3:F*) [line 42, column 3]\n " shape="box"] + "~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_1" -> "~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_3" ; +"~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_2" [label="2: Exit D_~D \n " color=yellow style=filled] - "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_6" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_5" ; -"F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_7" [label="7: Constructor Init \n n$4=*&this:F* [line 42, column 7]\n _fun_T_T(n$4:F*) [line 42, column 3]\n " shape="box"] +"~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_3" [label="3: Destruction \n n$0=*&this:D* [line 33, column 15]\n _=*n$0:D [line 33, column 15]\n _fun_D___infer_inner_destructor_~D(n$0:D*) [line 33, column 15]\n _=*n$0:D [line 33, column 15]\n _fun_T___infer_inner_destructor_~T(n$0:D*) [line 33, column 15]\n " shape="box"] - "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_7" -> "F#F#{11715195598984476266}.884ea102935d653fcf591dff17f31401_6" ; -"__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_1" [label="1: Start F___infer_inner_destructor_~F\nFormals: this:F*\nLocals: \n DECLARE_LOCALS(&return); [line 43, column 3]\n " color=yellow style=filled] + "~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_3" -> "~D#D#(5618221758133596168).bd1f40c4fa1d5ed90c732a34d33e4d7c_2" ; +"~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_1" [label="1: Start E_~E\nFormals: this:E*\nLocals: \n DECLARE_LOCALS(&return); [line 38, column 3]\n " color=yellow style=filled] - "__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_1" -> "__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_3" ; -"__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_2" [label="2: Exit F___infer_inner_destructor_~F \n " color=yellow style=filled] + "~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_1" -> "~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_3" ; +"~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_2" [label="2: Exit E_~E \n " color=yellow style=filled] -"__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_3" [label="3: Destruction \n n$0=*&this:F* [line 43, column 8]\n _=*n$0:F [line 43, column 8]\n _fun_D___infer_inner_destructor_~D(n$0:F*) [line 43, column 8]\n _=*n$0:F [line 43, column 8]\n _fun_B___infer_inner_destructor_~B(n$0:F*) [line 43, column 8]\n " shape="box"] +"~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_3" [label="3: Destruction \n n$0=*&this:E* [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_E___infer_inner_destructor_~E(n$0:E*) [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_A___infer_inner_destructor_~A(n$0:E*) [line 38, column 8]\n _=*n$0:E [line 38, column 8]\n _fun_T___infer_inner_destructor_~T(n$0:E*) [line 38, column 8]\n " shape="box"] - "__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_3" -> "__infer_inner_destructor_~F#F#(5727529154579633650).20752c7323d15bc6d30fac190df5baf8_2" ; + "~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_3" -> "~E#E#(2987579715549688623).452c4ab608cbb84e7144bf65a39276d9_2" ; "~F#F#(5727529154579633650).f1ad6d785ba06c47f402bc76b9b85f73_1" [label="1: Start F_~F\nFormals: this:F*\nLocals: \n DECLARE_LOCALS(&return); [line 43, column 3]\n " color=yellow style=filled] @@ -238,20 +252,6 @@ digraph cfg { "~F#F#(5727529154579633650).f1ad6d785ba06c47f402bc76b9b85f73_3" -> "~F#F#(5727529154579633650).f1ad6d785ba06c47f402bc76b9b85f73_2" ; -"T#T#{15422546710357390924}.2e459864a844310ea5ab719ea4768a72_1" [label="1: Start T_T\nFormals: this:T*\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 3]\n " color=yellow style=filled] - - - "T#T#{15422546710357390924}.2e459864a844310ea5ab719ea4768a72_1" -> "T#T#{15422546710357390924}.2e459864a844310ea5ab719ea4768a72_2" ; -"T#T#{15422546710357390924}.2e459864a844310ea5ab719ea4768a72_2" [label="2: Exit T_T \n " color=yellow style=filled] - - -"__infer_inner_destructor_~T#T#(198129514833990712).6f8f8037f60d385be9f35cbd1252e677_1" [label="1: Start T___infer_inner_destructor_~T\nFormals: this:T*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] - - - "__infer_inner_destructor_~T#T#(198129514833990712).6f8f8037f60d385be9f35cbd1252e677_1" -> "__infer_inner_destructor_~T#T#(198129514833990712).6f8f8037f60d385be9f35cbd1252e677_2" ; -"__infer_inner_destructor_~T#T#(198129514833990712).6f8f8037f60d385be9f35cbd1252e677_2" [label="2: Exit T___infer_inner_destructor_~T \n " color=yellow style=filled] - - "~T#T#(198129514833990712).9a1fb2f2d427aff6059a6de0c57b5949_1" [label="1: Start T_~T\nFormals: this:T*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/pseudo_destructor_expr.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/pseudo_destructor_expr.cpp.dot index 16d420279..4b7845972 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/pseudo_destructor_expr.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/pseudo_destructor_expr.cpp.dot @@ -1,20 +1,20 @@ /* @generated */ digraph cfg { -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" [label="1: Start test\nFormals: \nLocals: t:int* \n DECLARE_LOCALS(&return,&t); [line 23, column 1]\n " color=yellow style=filled] +"destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_1" [label="1: Start destroy\nFormals: ptr:int**\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] - "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" ; -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" [label="2: Exit test \n " color=yellow style=filled] + "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_1" -> "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_4" ; +"destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_2" [label="2: Exit destroy \n " color=yellow style=filled] -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" [label="3: Call _fun_destroy \n n$0=_fun_destroy(&t:int**) [line 25, column 3]\n " shape="box"] +"destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_3" [label="3: Return Stmt \n *&return:int=0 [line 20, column 3]\n " shape="box"] - "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" ; -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" [label="4: DeclStmt \n *&t:int*=null [line 24, column 3]\n " shape="box"] + "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_3" -> "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_2" ; +"destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_4" [label="4: Call _fun___infer_skip_function \n _fun___infer_skip_function() [line 19, column 3]\n " shape="box"] - "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" ; + "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_4" -> "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_3" ; "f#10188173399311638112.8cffce40f5525757e791edeba0985326_1" [label="1: Start f\nFormals: p:int*\nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 11, column 1]\n " color=yellow style=filled] @@ -34,19 +34,19 @@ digraph cfg { "f#10188173399311638112.8cffce40f5525757e791edeba0985326_5" -> "f#10188173399311638112.8cffce40f5525757e791edeba0985326_4" ; -"destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_1" [label="1: Start destroy\nFormals: ptr:int**\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" [label="1: Start test\nFormals: \nLocals: t:int* \n DECLARE_LOCALS(&return,&t); [line 23, column 1]\n " color=yellow style=filled] - "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_1" -> "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_4" ; -"destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_2" [label="2: Exit destroy \n " color=yellow style=filled] + "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" ; +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" [label="2: Exit test \n " color=yellow style=filled] -"destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_3" [label="3: Return Stmt \n *&return:int=0 [line 20, column 3]\n " shape="box"] +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" [label="3: Call _fun_destroy \n n$0=_fun_destroy(&t:int**) [line 25, column 3]\n " shape="box"] - "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_3" -> "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_2" ; -"destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_4" [label="4: Call _fun___infer_skip_function \n _fun___infer_skip_function() [line 19, column 3]\n " shape="box"] + "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" ; +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" [label="4: DeclStmt \n *&t:int*=null [line 24, column 3]\n " shape="box"] - "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_4" -> "destroy#14082686937760238422.8268959c48dc929d419568bc99a6b97b_3" ; + "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" ; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot index 5aaa4c27e..c30b4d3d7 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot @@ -41,50 +41,6 @@ digraph cfg { "getZ#destructor_scope#13110319947448813202.fe2bc6519a3d7998283b70bbacc3915e_4" -> "getZ#destructor_scope#13110319947448813202.fe2bc6519a3d7998283b70bbacc3915e_3" ; -"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_1" [label="1: Start destructor_scope::test2\nFormals: a:_Bool\nLocals: x2:destructor_scope::X x3:destructor_scope::X x1:destructor_scope::X \n DECLARE_LOCALS(&return,&x2,&x3,&x1); [line 59, column 1]\n " color=yellow style=filled] - - - "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_1" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_11" ; -"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_2" [label="2: Exit destructor_scope::test2 \n " color=yellow style=filled] - - -"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_3" [label="3: Destruction \n _=*&x1:destructor_scope::X [line 68, column 1]\n _fun_destructor_scope::X_~X(&x1:destructor_scope::X*) [line 68, column 1]\n " shape="box"] - - - "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_3" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_2" ; -"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_4" [label="4: + \n " ] - - - "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_4" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_3" ; -"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_5" [label="5: Prune (true branch, if) \n n$1=*&a:_Bool [line 61, column 7]\n PRUNE(n$1, true); [line 61, column 7]\n " shape="invhouse"] - - - "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_5" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_8" ; -"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_6" [label="6: Prune (false branch, if) \n n$1=*&a:_Bool [line 61, column 7]\n PRUNE(!n$1, false); [line 61, column 7]\n " shape="invhouse"] - - - "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_6" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_10" ; -"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_7" [label="7: Return Stmt \n *&return:int=1 [line 63, column 5]\n _=*&x2:destructor_scope::X [line 63, column 12]\n _fun_destructor_scope::X_~X(&x2:destructor_scope::X*) [line 63, column 12]\n _=*&x1:destructor_scope::X [line 63, column 12]\n _fun_destructor_scope::X_~X(&x1:destructor_scope::X*) [line 63, column 12]\n " shape="box"] - - - "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_7" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_2" ; -"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_8" [label="8: DeclStmt \n _fun_destructor_scope::X_X(&x2:destructor_scope::X*) [line 62, column 7]\n " shape="box"] - - - "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_8" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_7" ; -"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_9" [label="9: Return Stmt \n *&return:int=2 [line 66, column 5]\n _=*&x3:destructor_scope::X [line 66, column 12]\n _fun_destructor_scope::X_~X(&x3:destructor_scope::X*) [line 66, column 12]\n _=*&x1:destructor_scope::X [line 66, column 12]\n _fun_destructor_scope::X_~X(&x1:destructor_scope::X*) [line 66, column 12]\n " shape="box"] - - - "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_9" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_2" ; -"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_10" [label="10: DeclStmt \n _fun_destructor_scope::X_X(&x3:destructor_scope::X*) [line 65, column 7]\n " shape="box"] - - - "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_10" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_9" ; -"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_11" [label="11: DeclStmt \n _fun_destructor_scope::X_X(&x1:destructor_scope::X*) [line 60, column 5]\n " shape="box"] - - - "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_11" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_5" ; - "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_11" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_6" ; "test1#destructor_scope#3167061604758065234.d3af82d2ddb9b80d2c9930cb62bbbffa_1" [label="1: Start destructor_scope::test1\nFormals: a:_Bool b:_Bool\nLocals: y3:destructor_scope::Y y1:destructor_scope::Y x3:destructor_scope::X y2:destructor_scope::Y x2:destructor_scope::X s:destructor_scope::S x1:destructor_scope::X \n DECLARE_LOCALS(&return,&y3,&y1,&x3,&y2,&x2,&s,&x1); [line 39, column 1]\n " color=yellow style=filled] @@ -170,6 +126,50 @@ digraph cfg { "test1#destructor_scope#3167061604758065234.d3af82d2ddb9b80d2c9930cb62bbbffa_21" -> "test1#destructor_scope#3167061604758065234.d3af82d2ddb9b80d2c9930cb62bbbffa_20" ; +"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_1" [label="1: Start destructor_scope::test2\nFormals: a:_Bool\nLocals: x2:destructor_scope::X x3:destructor_scope::X x1:destructor_scope::X \n DECLARE_LOCALS(&return,&x2,&x3,&x1); [line 59, column 1]\n " color=yellow style=filled] + + + "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_1" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_11" ; +"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_2" [label="2: Exit destructor_scope::test2 \n " color=yellow style=filled] + + +"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_3" [label="3: Destruction \n _=*&x1:destructor_scope::X [line 68, column 1]\n _fun_destructor_scope::X_~X(&x1:destructor_scope::X*) [line 68, column 1]\n " shape="box"] + + + "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_3" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_2" ; +"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_4" [label="4: + \n " ] + + + "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_4" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_3" ; +"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_5" [label="5: Prune (true branch, if) \n n$1=*&a:_Bool [line 61, column 7]\n PRUNE(n$1, true); [line 61, column 7]\n " shape="invhouse"] + + + "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_5" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_8" ; +"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_6" [label="6: Prune (false branch, if) \n n$1=*&a:_Bool [line 61, column 7]\n PRUNE(!n$1, false); [line 61, column 7]\n " shape="invhouse"] + + + "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_6" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_10" ; +"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_7" [label="7: Return Stmt \n *&return:int=1 [line 63, column 5]\n _=*&x2:destructor_scope::X [line 63, column 12]\n _fun_destructor_scope::X_~X(&x2:destructor_scope::X*) [line 63, column 12]\n _=*&x1:destructor_scope::X [line 63, column 12]\n _fun_destructor_scope::X_~X(&x1:destructor_scope::X*) [line 63, column 12]\n " shape="box"] + + + "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_7" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_2" ; +"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_8" [label="8: DeclStmt \n _fun_destructor_scope::X_X(&x2:destructor_scope::X*) [line 62, column 7]\n " shape="box"] + + + "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_8" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_7" ; +"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_9" [label="9: Return Stmt \n *&return:int=2 [line 66, column 5]\n _=*&x3:destructor_scope::X [line 66, column 12]\n _fun_destructor_scope::X_~X(&x3:destructor_scope::X*) [line 66, column 12]\n _=*&x1:destructor_scope::X [line 66, column 12]\n _fun_destructor_scope::X_~X(&x1:destructor_scope::X*) [line 66, column 12]\n " shape="box"] + + + "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_9" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_2" ; +"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_10" [label="10: DeclStmt \n _fun_destructor_scope::X_X(&x3:destructor_scope::X*) [line 65, column 7]\n " shape="box"] + + + "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_10" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_9" ; +"test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_11" [label="11: DeclStmt \n _fun_destructor_scope::X_X(&x1:destructor_scope::X*) [line 60, column 5]\n " shape="box"] + + + "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_11" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_5" ; + "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_11" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_6" ; "S#S#destructor_scope#{12210000843635331998|constexpr}.cb28b79e3a75cf83720c23a83cf5bf01_1" [label="1: Start destructor_scope::S_S\nFormals: this:destructor_scope::S*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 8]\n " color=yellow style=filled] @@ -181,39 +181,52 @@ digraph cfg { "S#S#destructor_scope#{12210000843635331998|constexpr}.cb28b79e3a75cf83720c23a83cf5bf01_3" -> "S#S#destructor_scope#{12210000843635331998|constexpr}.cb28b79e3a75cf83720c23a83cf5bf01_2" ; -"__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_1" [label="1: Start destructor_scope::S___infer_inner_destructor_~S\nFormals: this:destructor_scope::S*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 8]\n " color=yellow style=filled] +"X#X#destructor_scope#{2603426817540977396|constexpr}.fb840cb7c96da056d7b59829caa7231d_1" [label="1: Start destructor_scope::X_X\nFormals: this:destructor_scope::X* __param_0:destructor_scope::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] - "__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_1" -> "__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_3" ; -"__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_2" [label="2: Exit destructor_scope::S___infer_inner_destructor_~S \n " color=yellow style=filled] + "X#X#destructor_scope#{2603426817540977396|constexpr}.fb840cb7c96da056d7b59829caa7231d_1" -> "X#X#destructor_scope#{2603426817540977396|constexpr}.fb840cb7c96da056d7b59829caa7231d_2" ; +"X#X#destructor_scope#{2603426817540977396|constexpr}.fb840cb7c96da056d7b59829caa7231d_2" [label="2: Exit destructor_scope::X_X \n " color=yellow style=filled] -"__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_3" [label="3: Destruction \n n$0=*&this:destructor_scope::S* [line 21, column 8]\n _=*n$0.x1:destructor_scope::X [line 21, column 8]\n _fun_destructor_scope::X_~X(n$0.x1:destructor_scope::X*) [line 21, column 8]\n " shape="box"] +"X#X#destructor_scope#{8756367833784077567|constexpr}.fe7f9d502bc5b73ec7451a152e49956f_1" [label="1: Start destructor_scope::X_X\nFormals: this:destructor_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] - "__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_3" -> "__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_2" ; -"~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_1" [label="1: Start destructor_scope::S_~S\nFormals: this:destructor_scope::S*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 8]\n " color=yellow style=filled] + "X#X#destructor_scope#{8756367833784077567|constexpr}.fe7f9d502bc5b73ec7451a152e49956f_1" -> "X#X#destructor_scope#{8756367833784077567|constexpr}.fe7f9d502bc5b73ec7451a152e49956f_2" ; +"X#X#destructor_scope#{8756367833784077567|constexpr}.fe7f9d502bc5b73ec7451a152e49956f_2" [label="2: Exit destructor_scope::X_X \n " color=yellow style=filled] - "~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_1" -> "~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_3" ; -"~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_2" [label="2: Exit destructor_scope::S_~S \n " color=yellow style=filled] +"Y#Y#destructor_scope#{15345452000440546376|constexpr}.7b3401cb4ba53beb88d6ca2de7e20249_1" [label="1: Start destructor_scope::Y_Y\nFormals: this:destructor_scope::Y*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 8]\n " color=yellow style=filled] -"~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_3" [label="3: Destruction \n n$0=*&this:destructor_scope::S* [line 21, column 8]\n _=*n$0:destructor_scope::S [line 21, column 8]\n _fun_destructor_scope::S___infer_inner_destructor_~S(n$0:destructor_scope::S*) [line 21, column 8]\n " shape="box"] + "Y#Y#destructor_scope#{15345452000440546376|constexpr}.7b3401cb4ba53beb88d6ca2de7e20249_1" -> "Y#Y#destructor_scope#{15345452000440546376|constexpr}.7b3401cb4ba53beb88d6ca2de7e20249_2" ; +"Y#Y#destructor_scope#{15345452000440546376|constexpr}.7b3401cb4ba53beb88d6ca2de7e20249_2" [label="2: Exit destructor_scope::Y_Y \n " color=yellow style=filled] - "~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_3" -> "~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_2" ; -"~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_1" [label="1: Start destructor_scope::W_~W\nFormals: this:destructor_scope::W*\nLocals: \n DECLARE_LOCALS(&return); [line 31, column 3]\n " color=yellow style=filled] +"Z#Z#destructor_scope#{18164697736739450765|constexpr}.d06f6f2e94b3e6404a0952bf77a2514e_1" [label="1: Start destructor_scope::Z_Z\nFormals: this:destructor_scope::Z*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 8]\n " color=yellow style=filled] - "~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_1" -> "~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_3" ; -"~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_2" [label="2: Exit destructor_scope::W_~W \n " color=yellow style=filled] + "Z#Z#destructor_scope#{18164697736739450765|constexpr}.d06f6f2e94b3e6404a0952bf77a2514e_1" -> "Z#Z#destructor_scope#{18164697736739450765|constexpr}.d06f6f2e94b3e6404a0952bf77a2514e_2" ; +"Z#Z#destructor_scope#{18164697736739450765|constexpr}.d06f6f2e94b3e6404a0952bf77a2514e_2" [label="2: Exit destructor_scope::Z_Z \n " color=yellow style=filled] -"~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_3" [label="3: Destruction \n n$0=*&this:destructor_scope::W* [line 36, column 3]\n _=*n$0:destructor_scope::W [line 36, column 3]\n _fun_destructor_scope::W___infer_inner_destructor_~W(n$0:destructor_scope::W*) [line 36, column 3]\n " shape="box"] +"Z#Z#destructor_scope#{8043287043140791634|constexpr}.7d5fabaed2fb79e3cac825824cb16f47_1" [label="1: Start destructor_scope::Z_Z\nFormals: this:destructor_scope::Z* __param_0:destructor_scope::Z&\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 8]\n " color=yellow style=filled] - "~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_3" -> "~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_2" ; + "Z#Z#destructor_scope#{8043287043140791634|constexpr}.7d5fabaed2fb79e3cac825824cb16f47_1" -> "Z#Z#destructor_scope#{8043287043140791634|constexpr}.7d5fabaed2fb79e3cac825824cb16f47_2" ; +"Z#Z#destructor_scope#{8043287043140791634|constexpr}.7d5fabaed2fb79e3cac825824cb16f47_2" [label="2: Exit destructor_scope::Z_Z \n " color=yellow style=filled] + + +"__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_1" [label="1: Start destructor_scope::S___infer_inner_destructor_~S\nFormals: this:destructor_scope::S*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 8]\n " color=yellow style=filled] + + + "__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_1" -> "__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_3" ; +"__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_2" [label="2: Exit destructor_scope::S___infer_inner_destructor_~S \n " color=yellow style=filled] + + +"__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_3" [label="3: Destruction \n n$0=*&this:destructor_scope::S* [line 21, column 8]\n _=*n$0.x1:destructor_scope::X [line 21, column 8]\n _fun_destructor_scope::X_~X(n$0.x1:destructor_scope::X*) [line 21, column 8]\n " shape="box"] + + + "__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_3" -> "__infer_inner_destructor_~S#S#destructor_scope#(9287491061312513566).4ef80b764b293fdc4260c9ce06a110d3_2" ; "__infer_inner_destructor_~W#W#destructor_scope#(7330614824551855498).609202c747c70b122a8a5785422f4f26_1" [label="1: Start destructor_scope::W___infer_inner_destructor_~W\nFormals: this:destructor_scope::W*\nLocals: y:destructor_scope::Y x:destructor_scope::X \n DECLARE_LOCALS(&return,&y,&x); [line 31, column 3]\n " color=yellow style=filled] @@ -254,52 +267,53 @@ digraph cfg { "__infer_inner_destructor_~W#W#destructor_scope#(7330614824551855498).609202c747c70b122a8a5785422f4f26_10" -> "__infer_inner_destructor_~W#W#destructor_scope#(7330614824551855498).609202c747c70b122a8a5785422f4f26_7" ; "__infer_inner_destructor_~W#W#destructor_scope#(7330614824551855498).609202c747c70b122a8a5785422f4f26_10" -> "__infer_inner_destructor_~W#W#destructor_scope#(7330614824551855498).609202c747c70b122a8a5785422f4f26_8" ; -"X#X#destructor_scope#{8756367833784077567|constexpr}.fe7f9d502bc5b73ec7451a152e49956f_1" [label="1: Start destructor_scope::X_X\nFormals: this:destructor_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] +"__infer_inner_destructor_~X#X#destructor_scope#(17752465063768331075).9ca577a457cb5911ce3106f5186a6435_1" [label="1: Start destructor_scope::X___infer_inner_destructor_~X\nFormals: this:destructor_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] - "X#X#destructor_scope#{8756367833784077567|constexpr}.fe7f9d502bc5b73ec7451a152e49956f_1" -> "X#X#destructor_scope#{8756367833784077567|constexpr}.fe7f9d502bc5b73ec7451a152e49956f_2" ; -"X#X#destructor_scope#{8756367833784077567|constexpr}.fe7f9d502bc5b73ec7451a152e49956f_2" [label="2: Exit destructor_scope::X_X \n " color=yellow style=filled] + "__infer_inner_destructor_~X#X#destructor_scope#(17752465063768331075).9ca577a457cb5911ce3106f5186a6435_1" -> "__infer_inner_destructor_~X#X#destructor_scope#(17752465063768331075).9ca577a457cb5911ce3106f5186a6435_2" ; +"__infer_inner_destructor_~X#X#destructor_scope#(17752465063768331075).9ca577a457cb5911ce3106f5186a6435_2" [label="2: Exit destructor_scope::X___infer_inner_destructor_~X \n " color=yellow style=filled] -"__infer_inner_destructor_~X#X#destructor_scope#(17752465063768331075).9ca577a457cb5911ce3106f5186a6435_1" [label="1: Start destructor_scope::X___infer_inner_destructor_~X\nFormals: this:destructor_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] +"__infer_inner_destructor_~Y#Y#destructor_scope#(1552422738585060844).721fb5af17f63315cc8e6bdcce2453e5_1" [label="1: Start destructor_scope::Y___infer_inner_destructor_~Y\nFormals: this:destructor_scope::Y*\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] - "__infer_inner_destructor_~X#X#destructor_scope#(17752465063768331075).9ca577a457cb5911ce3106f5186a6435_1" -> "__infer_inner_destructor_~X#X#destructor_scope#(17752465063768331075).9ca577a457cb5911ce3106f5186a6435_2" ; -"__infer_inner_destructor_~X#X#destructor_scope#(17752465063768331075).9ca577a457cb5911ce3106f5186a6435_2" [label="2: Exit destructor_scope::X___infer_inner_destructor_~X \n " color=yellow style=filled] + "__infer_inner_destructor_~Y#Y#destructor_scope#(1552422738585060844).721fb5af17f63315cc8e6bdcce2453e5_1" -> "__infer_inner_destructor_~Y#Y#destructor_scope#(1552422738585060844).721fb5af17f63315cc8e6bdcce2453e5_2" ; +"__infer_inner_destructor_~Y#Y#destructor_scope#(1552422738585060844).721fb5af17f63315cc8e6bdcce2453e5_2" [label="2: Exit destructor_scope::Y___infer_inner_destructor_~Y \n " color=yellow style=filled] -"~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_1" [label="1: Start destructor_scope::X_~X\nFormals: this:destructor_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] +"~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_1" [label="1: Start destructor_scope::S_~S\nFormals: this:destructor_scope::S*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 8]\n " color=yellow style=filled] - "~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_1" -> "~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_3" ; -"~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_2" [label="2: Exit destructor_scope::X_~X \n " color=yellow style=filled] + "~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_1" -> "~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_3" ; +"~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_2" [label="2: Exit destructor_scope::S_~S \n " color=yellow style=filled] -"~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_3" [label="3: Destruction \n n$0=*&this:destructor_scope::X* [line 12, column 9]\n _=*n$0:destructor_scope::X [line 12, column 9]\n _fun_destructor_scope::X___infer_inner_destructor_~X(n$0:destructor_scope::X*) [line 12, column 9]\n " shape="box"] +"~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_3" [label="3: Destruction \n n$0=*&this:destructor_scope::S* [line 21, column 8]\n _=*n$0:destructor_scope::S [line 21, column 8]\n _fun_destructor_scope::S___infer_inner_destructor_~S(n$0:destructor_scope::S*) [line 21, column 8]\n " shape="box"] - "~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_3" -> "~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_2" ; -"X#X#destructor_scope#{2603426817540977396|constexpr}.fb840cb7c96da056d7b59829caa7231d_1" [label="1: Start destructor_scope::X_X\nFormals: this:destructor_scope::X* __param_0:destructor_scope::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] + "~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_3" -> "~S#S#destructor_scope#(9287491061312513566).aca6b266020a04cd52a80258435bda76_2" ; +"~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_1" [label="1: Start destructor_scope::W_~W\nFormals: this:destructor_scope::W*\nLocals: \n DECLARE_LOCALS(&return); [line 31, column 3]\n " color=yellow style=filled] - "X#X#destructor_scope#{2603426817540977396|constexpr}.fb840cb7c96da056d7b59829caa7231d_1" -> "X#X#destructor_scope#{2603426817540977396|constexpr}.fb840cb7c96da056d7b59829caa7231d_2" ; -"X#X#destructor_scope#{2603426817540977396|constexpr}.fb840cb7c96da056d7b59829caa7231d_2" [label="2: Exit destructor_scope::X_X \n " color=yellow style=filled] + "~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_1" -> "~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_3" ; +"~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_2" [label="2: Exit destructor_scope::W_~W \n " color=yellow style=filled] -"Y#Y#destructor_scope#{15345452000440546376|constexpr}.7b3401cb4ba53beb88d6ca2de7e20249_1" [label="1: Start destructor_scope::Y_Y\nFormals: this:destructor_scope::Y*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 8]\n " color=yellow style=filled] +"~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_3" [label="3: Destruction \n n$0=*&this:destructor_scope::W* [line 36, column 3]\n _=*n$0:destructor_scope::W [line 36, column 3]\n _fun_destructor_scope::W___infer_inner_destructor_~W(n$0:destructor_scope::W*) [line 36, column 3]\n " shape="box"] - "Y#Y#destructor_scope#{15345452000440546376|constexpr}.7b3401cb4ba53beb88d6ca2de7e20249_1" -> "Y#Y#destructor_scope#{15345452000440546376|constexpr}.7b3401cb4ba53beb88d6ca2de7e20249_2" ; -"Y#Y#destructor_scope#{15345452000440546376|constexpr}.7b3401cb4ba53beb88d6ca2de7e20249_2" [label="2: Exit destructor_scope::Y_Y \n " color=yellow style=filled] + "~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_3" -> "~W#W#destructor_scope#(7330614824551855498).f9ed98feeae8b94c6906cf3cd29688b3_2" ; +"~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_1" [label="1: Start destructor_scope::X_~X\nFormals: this:destructor_scope::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] -"__infer_inner_destructor_~Y#Y#destructor_scope#(1552422738585060844).721fb5af17f63315cc8e6bdcce2453e5_1" [label="1: Start destructor_scope::Y___infer_inner_destructor_~Y\nFormals: this:destructor_scope::Y*\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] + "~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_1" -> "~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_3" ; +"~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_2" [label="2: Exit destructor_scope::X_~X \n " color=yellow style=filled] - "__infer_inner_destructor_~Y#Y#destructor_scope#(1552422738585060844).721fb5af17f63315cc8e6bdcce2453e5_1" -> "__infer_inner_destructor_~Y#Y#destructor_scope#(1552422738585060844).721fb5af17f63315cc8e6bdcce2453e5_2" ; -"__infer_inner_destructor_~Y#Y#destructor_scope#(1552422738585060844).721fb5af17f63315cc8e6bdcce2453e5_2" [label="2: Exit destructor_scope::Y___infer_inner_destructor_~Y \n " color=yellow style=filled] +"~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_3" [label="3: Destruction \n n$0=*&this:destructor_scope::X* [line 12, column 9]\n _=*n$0:destructor_scope::X [line 12, column 9]\n _fun_destructor_scope::X___infer_inner_destructor_~X(n$0:destructor_scope::X*) [line 12, column 9]\n " shape="box"] + "~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_3" -> "~X#X#destructor_scope#(17752465063768331075).e9440dc26d00e6a493a0ae5908b3f399_2" ; "~Y#Y#destructor_scope#(1552422738585060844).f631a64648f2fd67ee421a0da2149c2a_1" [label="1: Start destructor_scope::Y_~Y\nFormals: this:destructor_scope::Y*\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] @@ -311,18 +325,4 @@ digraph cfg { "~Y#Y#destructor_scope#(1552422738585060844).f631a64648f2fd67ee421a0da2149c2a_3" -> "~Y#Y#destructor_scope#(1552422738585060844).f631a64648f2fd67ee421a0da2149c2a_2" ; -"Z#Z#destructor_scope#{18164697736739450765|constexpr}.d06f6f2e94b3e6404a0952bf77a2514e_1" [label="1: Start destructor_scope::Z_Z\nFormals: this:destructor_scope::Z*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 8]\n " color=yellow style=filled] - - - "Z#Z#destructor_scope#{18164697736739450765|constexpr}.d06f6f2e94b3e6404a0952bf77a2514e_1" -> "Z#Z#destructor_scope#{18164697736739450765|constexpr}.d06f6f2e94b3e6404a0952bf77a2514e_2" ; -"Z#Z#destructor_scope#{18164697736739450765|constexpr}.d06f6f2e94b3e6404a0952bf77a2514e_2" [label="2: Exit destructor_scope::Z_Z \n " color=yellow style=filled] - - -"Z#Z#destructor_scope#{8043287043140791634|constexpr}.7d5fabaed2fb79e3cac825824cb16f47_1" [label="1: Start destructor_scope::Z_Z\nFormals: this:destructor_scope::Z* __param_0:destructor_scope::Z&\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 8]\n " color=yellow style=filled] - - - "Z#Z#destructor_scope#{8043287043140791634|constexpr}.7d5fabaed2fb79e3cac825824cb16f47_1" -> "Z#Z#destructor_scope#{8043287043140791634|constexpr}.7d5fabaed2fb79e3cac825824cb16f47_2" ; -"Z#Z#destructor_scope#{8043287043140791634|constexpr}.7d5fabaed2fb79e3cac825824cb16f47_2" [label="2: Exit destructor_scope::Z_Z \n " color=yellow style=filled] - - } diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/simple_decl.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/simple_decl.cpp.dot index 5a18b4d30..325f5450a 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/simple_decl.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/simple_decl.cpp.dot @@ -11,28 +11,28 @@ digraph cfg { "__infer_inner_destructor_~A#A#(5328378654181921475).fc82b49c4db05388a691369e292a802b_3" -> "__infer_inner_destructor_~A#A#(5328378654181921475).fc82b49c4db05388a691369e292a802b_2" ; -"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_1" [label="1: Start A_~A\nFormals: this:A*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] +"__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_1" [label="1: Start B___infer_inner_destructor_~B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 1]\n " color=yellow style=filled] - "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_1" -> "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" ; -"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_2" [label="2: Exit A_~A \n " color=yellow style=filled] + "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_1" -> "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_3" ; +"__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_2" [label="2: Exit B___infer_inner_destructor_~B \n " color=yellow style=filled] -"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" [label="3: Destruction \n n$0=*&this:A* [line 12, column 17]\n _=*n$0:A [line 12, column 17]\n _fun_A___infer_inner_destructor_~A(n$0:A*) [line 12, column 17]\n " shape="box"] +"__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_3" [label="3: BinaryOperatorStmt: Assign \n n$1=*&this:B* [line 20, column 11]\n *n$1.f:int=1 [line 20, column 11]\n " shape="box"] - "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" -> "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_2" ; -"__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_1" [label="1: Start B___infer_inner_destructor_~B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 1]\n " color=yellow style=filled] + "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_3" -> "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_2" ; +"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_1" [label="1: Start A_~A\nFormals: this:A*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] - "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_1" -> "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_3" ; -"__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_2" [label="2: Exit B___infer_inner_destructor_~B \n " color=yellow style=filled] + "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_1" -> "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" ; +"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_2" [label="2: Exit A_~A \n " color=yellow style=filled] -"__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_3" [label="3: BinaryOperatorStmt: Assign \n n$1=*&this:B* [line 20, column 11]\n *n$1.f:int=1 [line 20, column 11]\n " shape="box"] +"~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" [label="3: Destruction \n n$0=*&this:A* [line 12, column 17]\n _=*n$0:A [line 12, column 17]\n _fun_A___infer_inner_destructor_~A(n$0:A*) [line 12, column 17]\n " shape="box"] - "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_3" -> "__infer_inner_destructor_~B#B#(7876366742276079110).fe5e2468da434006eca91d5190796d09_2" ; + "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_3" -> "~A#A#(5328378654181921475).cff4808f235f4b18d15ccd10cb1df4ff_2" ; "~B#B#(7876366742276079110).576ee7cb70a3e3453b3760583a94887e_1" [label="1: Start B_~B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 1]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/frontend/globals/global_const1.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/globals/global_const1.cpp.dot index d348dff25..621151fe8 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/globals/global_const1.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/globals/global_const1.cpp.dot @@ -22,6 +22,17 @@ digraph cfg { "__infer_globals_initializer_v#708fabe5dc8ff523caaa5f44184921e8.588095fa475e4a9e8c83f50f26a48ea9_3" -> "__infer_globals_initializer_v#708fabe5dc8ff523caaa5f44184921e8.588095fa475e4a9e8c83f50f26a48ea9_2" ; +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" [label="1: Start test\nFormals: __return_param:X*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 1]\n " color=yellow style=filled] + + + "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" ; +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" [label="2: Exit test \n " color=yellow style=filled] + + +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" [label="3: Return Stmt \n n$0=*&__return_param:X* [line 15, column 12]\n _fun_X_X(n$0:X*,&#GB$global:X const &) [line 15, column 19]\n " shape="box"] + + + "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" ; "test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_1" [label="1: Start test2\nFormals: \nLocals: local:int \n DECLARE_LOCALS(&return,&local); [line 19, column 1]\n " color=yellow style=filled] @@ -37,17 +48,13 @@ digraph cfg { "test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_4" -> "test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_3" ; -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" [label="1: Start test\nFormals: __return_param:X*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 1]\n " color=yellow style=filled] - - - "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" ; -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" [label="2: Exit test \n " color=yellow style=filled] +"X#X#{11474741413113936247|constexpr}.31759ca8626d769f5d4e50690b180278_1" [label="1: Start X_X\nFormals: this:X* __param_0:X const &\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" [label="3: Return Stmt \n n$0=*&__return_param:X* [line 15, column 12]\n _fun_X_X(n$0:X*,&#GB$global:X const &) [line 15, column 19]\n " shape="box"] + "X#X#{11474741413113936247|constexpr}.31759ca8626d769f5d4e50690b180278_1" -> "X#X#{11474741413113936247|constexpr}.31759ca8626d769f5d4e50690b180278_2" ; +"X#X#{11474741413113936247|constexpr}.31759ca8626d769f5d4e50690b180278_2" [label="2: Exit X_X \n " color=yellow style=filled] - "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" ; "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" [label="1: Start X_X\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 3]\n " color=yellow style=filled] @@ -55,11 +62,4 @@ digraph cfg { "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" [label="2: Exit X_X \n " color=yellow style=filled] -"X#X#{11474741413113936247|constexpr}.31759ca8626d769f5d4e50690b180278_1" [label="1: Start X_X\nFormals: this:X* __param_0:X const &\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] - - - "X#X#{11474741413113936247|constexpr}.31759ca8626d769f5d4e50690b180278_1" -> "X#X#{11474741413113936247|constexpr}.31759ca8626d769f5d4e50690b180278_2" ; -"X#X#{11474741413113936247|constexpr}.31759ca8626d769f5d4e50690b180278_2" [label="2: Exit X_X \n " color=yellow style=filled] - - } diff --git a/infer/tests/codetoanalyze/cpp/frontend/include_header/include_templ.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/include_header/include_templ.cpp.dot index d6b66a07c..92112801b 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/include_header/include_templ.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/include_header/include_templ.cpp.dot @@ -1,35 +1,35 @@ /* @generated */ digraph cfg { -"div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_1" [label="1: Start div0_B_int\nFormals: \nLocals: b:B \n DECLARE_LOCALS(&return,&b); [line 13, column 1]\n " color=yellow style=filled] +"div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_1" [label="1: Start div0_B_A\nFormals: \nLocals: b:B \n DECLARE_LOCALS(&return,&b); [line 18, column 1]\n " color=yellow style=filled] - "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_1" -> "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_4" ; -"div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_2" [label="2: Exit div0_B_int \n " color=yellow style=filled] + "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_1" -> "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_4" ; +"div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_2" [label="2: Exit div0_B_A \n " color=yellow style=filled] -"div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_3" [label="3: Call _fun_B_div0 \n _=*&b:B [line 15, column 3]\n n$1=_fun_B_div0(&b:B&) [line 15, column 3]\n " shape="box"] +"div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_3" [label="3: Call _fun_B_div0 \n _=*&b:B [line 20, column 3]\n n$1=_fun_B_div0(&b:B&) [line 20, column 3]\n " shape="box"] - "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_3" -> "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_2" ; -"div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_4" [label="4: DeclStmt \n _fun_B_B(&b:B*) [line 14, column 10]\n " shape="box"] + "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_3" -> "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_2" ; +"div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_4" [label="4: DeclStmt \n _fun_B_B(&b:B*) [line 19, column 8]\n " shape="box"] - "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_4" -> "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_3" ; -"div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_1" [label="1: Start div0_B_A\nFormals: \nLocals: b:B \n DECLARE_LOCALS(&return,&b); [line 18, column 1]\n " color=yellow style=filled] + "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_4" -> "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_3" ; +"div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_1" [label="1: Start div0_B_int\nFormals: \nLocals: b:B \n DECLARE_LOCALS(&return,&b); [line 13, column 1]\n " color=yellow style=filled] - "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_1" -> "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_4" ; -"div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_2" [label="2: Exit div0_B_A \n " color=yellow style=filled] + "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_1" -> "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_4" ; +"div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_2" [label="2: Exit div0_B_int \n " color=yellow style=filled] -"div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_3" [label="3: Call _fun_B_div0 \n _=*&b:B [line 20, column 3]\n n$1=_fun_B_div0(&b:B&) [line 20, column 3]\n " shape="box"] +"div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_3" [label="3: Call _fun_B_div0 \n _=*&b:B [line 15, column 3]\n n$1=_fun_B_div0(&b:B&) [line 15, column 3]\n " shape="box"] - "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_3" -> "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_2" ; -"div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_4" [label="4: DeclStmt \n _fun_B_B(&b:B*) [line 19, column 8]\n " shape="box"] + "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_3" -> "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_2" ; +"div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_4" [label="4: DeclStmt \n _fun_B_B(&b:B*) [line 14, column 10]\n " shape="box"] - "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_4" -> "div0_B_A#16868528730428357658.9b8f4e2ce0bf464a2adbe53fb7a34f64_3" ; + "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_4" -> "div0_B_int#1022620961131326491.1d61c8d3035b9223f336f2b0e83b1cd8_3" ; "div0_templ#3392200936327226954.953c7991c92a71a697b380b40ee16cec_1" [label="1: Start div0_templ\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] @@ -52,6 +52,17 @@ digraph cfg { "div0_templ#7407833322787370357.019ce5e1d40ea68361ad0caeb08c53f0_3" -> "div0_templ#7407833322787370357.019ce5e1d40ea68361ad0caeb08c53f0_2" ; +"div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_1" [label="1: Start div0_templ_A\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 25, column 1]\n " color=yellow style=filled] + + + "div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_1" -> "div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_3" ; +"div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_2" [label="2: Exit div0_templ_A \n " color=yellow style=filled] + + +"div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_3" [label="3: Call _fun_div0_templ \n n$0=_fun_div0_templ() [line 25, column 22]\n " shape="box"] + + + "div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_3" -> "div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_2" ; "div0_templ_int#6723189882400805523.156da066b41947aa58ec7afb9551dc47_1" [label="1: Start div0_templ_int\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 23, column 1]\n " color=yellow style=filled] @@ -63,17 +74,20 @@ digraph cfg { "div0_templ_int#6723189882400805523.156da066b41947aa58ec7afb9551dc47_3" -> "div0_templ_int#6723189882400805523.156da066b41947aa58ec7afb9551dc47_2" ; -"div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_1" [label="1: Start div0_templ_A\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 25, column 1]\n " color=yellow style=filled] +"B#B#{17682530858649742785|constexpr}.578f27c1234efbc7eadc69dc4ca9042c_1" [label="1: Start B_B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 8]\n " color=yellow style=filled] - "div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_1" -> "div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_3" ; -"div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_2" [label="2: Exit div0_templ_A \n " color=yellow style=filled] + "B#B#{17682530858649742785|constexpr}.578f27c1234efbc7eadc69dc4ca9042c_1" -> "B#B#{17682530858649742785|constexpr}.578f27c1234efbc7eadc69dc4ca9042c_2" ; +"B#B#{17682530858649742785|constexpr}.578f27c1234efbc7eadc69dc4ca9042c_2" [label="2: Exit B_B \n " color=yellow style=filled] -"div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_3" [label="3: Call _fun_div0_templ \n n$0=_fun_div0_templ() [line 25, column 22]\n " shape="box"] +"B#B#{9925592449220811998|constexpr}.262c24bdb23f603bce26438cb30cea71_1" [label="1: Start B_B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 8]\n " color=yellow style=filled] + + + "B#B#{9925592449220811998|constexpr}.262c24bdb23f603bce26438cb30cea71_1" -> "B#B#{9925592449220811998|constexpr}.262c24bdb23f603bce26438cb30cea71_2" ; +"B#B#{9925592449220811998|constexpr}.262c24bdb23f603bce26438cb30cea71_2" [label="2: Exit B_B \n " color=yellow style=filled] - "div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_3" -> "div0_templ_A#15777392272986999827.c3e6f124c5921f718c539c423038b21a_2" ; "div0#B#(9546261644456360892).132a3992ba75c40ad8966e1504521d7d_1" [label="1: Start B_div0\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] @@ -85,13 +99,6 @@ digraph cfg { "div0#B#(9546261644456360892).132a3992ba75c40ad8966e1504521d7d_3" -> "div0#B#(9546261644456360892).132a3992ba75c40ad8966e1504521d7d_2" ; -"B#B#{17682530858649742785|constexpr}.578f27c1234efbc7eadc69dc4ca9042c_1" [label="1: Start B_B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 8]\n " color=yellow style=filled] - - - "B#B#{17682530858649742785|constexpr}.578f27c1234efbc7eadc69dc4ca9042c_1" -> "B#B#{17682530858649742785|constexpr}.578f27c1234efbc7eadc69dc4ca9042c_2" ; -"B#B#{17682530858649742785|constexpr}.578f27c1234efbc7eadc69dc4ca9042c_2" [label="2: Exit B_B \n " color=yellow style=filled] - - "div0#B#(10848361513712066289).6e41f7aae5452f098d414bfe7ad8cf85_1" [label="1: Start B_div0\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] @@ -103,11 +110,4 @@ digraph cfg { "div0#B#(10848361513712066289).6e41f7aae5452f098d414bfe7ad8cf85_3" -> "div0#B#(10848361513712066289).6e41f7aae5452f098d414bfe7ad8cf85_2" ; -"B#B#{9925592449220811998|constexpr}.262c24bdb23f603bce26438cb30cea71_1" [label="1: Start B_B\nFormals: this:B*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 8]\n " color=yellow style=filled] - - - "B#B#{9925592449220811998|constexpr}.262c24bdb23f603bce26438cb30cea71_1" -> "B#B#{9925592449220811998|constexpr}.262c24bdb23f603bce26438cb30cea71_2" ; -"B#B#{9925592449220811998|constexpr}.262c24bdb23f603bce26438cb30cea71_2" [label="2: Exit B_B \n " color=yellow style=filled] - - } diff --git a/infer/tests/codetoanalyze/cpp/frontend/initialization/init_list.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/initialization/init_list.cpp.dot index ac959b7a4..985a27e05 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/initialization/init_list.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/initialization/init_list.cpp.dot @@ -1,43 +1,28 @@ /* @generated */ digraph cfg { -"zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_1" [label="1: Start init_list::zero_init_primitive\nFormals: \nLocals: f:float p:int* i:int \n DECLARE_LOCALS(&return,&f,&p,&i); [line 27, column 1]\n " color=yellow style=filled] - - - "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_1" -> "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_5" ; -"zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_2" [label="2: Exit init_list::zero_init_primitive \n " color=yellow style=filled] - - -"zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_3" [label="3: DeclStmt \n *&f:float=0.000000 [line 30, column 3]\n " shape="box"] - - - "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_3" -> "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_2" ; -"zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_4" [label="4: DeclStmt \n *&p:int*=null [line 29, column 3]\n " shape="box"] - - - "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_4" -> "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_3" ; -"zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_5" [label="5: DeclStmt \n *&i:int=0 [line 28, column 3]\n " shape="box"] +"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_1" [label="1: Start init_list::list_init\nFormals: \nLocals: ty:init_list::Y[3*24] yref:init_list::Y& y:init_list::Y ti:int[4*4] \n DECLARE_LOCALS(&return,&ty,&yref,&y,&ti); [line 46, column 1]\n " color=yellow style=filled] - "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_5" -> "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_4" ; -"zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_1" [label="1: Start init_list::zero_init_record\nFormals: \nLocals: c:init_list::C y:init_list::Y \n DECLARE_LOCALS(&return,&c,&y); [line 33, column 1]\n " color=yellow style=filled] + "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_1" -> "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_6" ; +"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_2" [label="2: Exit init_list::list_init \n " color=yellow style=filled] - "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_1" -> "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_5" ; -"zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_2" [label="2: Exit init_list::zero_init_record \n " color=yellow style=filled] +"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_3" [label="3: DeclStmt \n *&ty[0].z:int=1 [line 50, column 14]\n *&ty[0].x.a:int=2 [line 50, column 18]\n *&ty[0].x.p:int*=null [line 50, column 18]\n _fun_init_list::Y_Y(&ty[1]:init_list::Y*,&y:init_list::Y&) [line 50, column 33]\n n$0=*&yref:init_list::Y& [line 50, column 36]\n _fun_init_list::Y_Y(&ty[2]:init_list::Y*,n$0:init_list::Y&) [line 50, column 36]\n " shape="box"] -"zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_3" [label="3: Destruction \n _=*&c:init_list::C [line 36, column 1]\n _fun_init_list::C_~C(&c:init_list::C*) [line 36, column 1]\n " shape="box"] + "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_3" -> "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_2" ; +"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_4" [label="4: DeclStmt \n *&yref:init_list::Y&=&y [line 49, column 3]\n " shape="box"] - "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_3" -> "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_2" ; -"zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_4" [label="4: DeclStmt \n _fun_init_list::C_C(&c:init_list::C*) [line 35, column 5]\n " shape="box"] + "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_4" -> "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_3" ; +"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_5" [label="5: DeclStmt \n _fun_init_list::Y_Y(&y:init_list::Y*) [line 48, column 5]\n " shape="box"] - "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_4" -> "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_3" ; -"zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_5" [label="5: DeclStmt \n *&y.z:int=0 [line 34, column 7]\n *&y.x.a:int=0 [line 34, column 7]\n *&y.x.p:int*=null [line 34, column 7]\n " shape="box"] + "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_5" -> "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_4" ; +"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_6" [label="6: DeclStmt \n *&ti[0]:int=1 [line 47, column 15]\n *&ti[1]:int=2 [line 47, column 15]\n " shape="box"] - "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_5" -> "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_4" ; + "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_6" -> "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_5" ; "record_init#init_list#9390182661430352809.a0bac2a3cf71c0b7c450ce49d030845f_1" [label="1: Start init_list::record_init\nFormals: \nLocals: c:init_list::C y2:init_list::Y y1:init_list::Y x:init_list::X \n DECLARE_LOCALS(&return,&c,&y2,&y1,&x); [line 38, column 1]\n " color=yellow style=filled] @@ -65,47 +50,44 @@ digraph cfg { "record_init#init_list#9390182661430352809.a0bac2a3cf71c0b7c450ce49d030845f_7" -> "record_init#init_list#9390182661430352809.a0bac2a3cf71c0b7c450ce49d030845f_6" ; -"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_1" [label="1: Start init_list::list_init\nFormals: \nLocals: ty:init_list::Y[3*24] yref:init_list::Y& y:init_list::Y ti:int[4*4] \n DECLARE_LOCALS(&return,&ty,&yref,&y,&ti); [line 46, column 1]\n " color=yellow style=filled] - - - "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_1" -> "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_6" ; -"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_2" [label="2: Exit init_list::list_init \n " color=yellow style=filled] +"zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_1" [label="1: Start init_list::zero_init_primitive\nFormals: \nLocals: f:float p:int* i:int \n DECLARE_LOCALS(&return,&f,&p,&i); [line 27, column 1]\n " color=yellow style=filled] -"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_3" [label="3: DeclStmt \n *&ty[0].z:int=1 [line 50, column 14]\n *&ty[0].x.a:int=2 [line 50, column 18]\n *&ty[0].x.p:int*=null [line 50, column 18]\n _fun_init_list::Y_Y(&ty[1]:init_list::Y*,&y:init_list::Y&) [line 50, column 33]\n n$0=*&yref:init_list::Y& [line 50, column 36]\n _fun_init_list::Y_Y(&ty[2]:init_list::Y*,n$0:init_list::Y&) [line 50, column 36]\n " shape="box"] + "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_1" -> "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_5" ; +"zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_2" [label="2: Exit init_list::zero_init_primitive \n " color=yellow style=filled] - "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_3" -> "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_2" ; -"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_4" [label="4: DeclStmt \n *&yref:init_list::Y&=&y [line 49, column 3]\n " shape="box"] +"zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_3" [label="3: DeclStmt \n *&f:float=0.000000 [line 30, column 3]\n " shape="box"] - "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_4" -> "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_3" ; -"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_5" [label="5: DeclStmt \n _fun_init_list::Y_Y(&y:init_list::Y*) [line 48, column 5]\n " shape="box"] + "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_3" -> "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_2" ; +"zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_4" [label="4: DeclStmt \n *&p:int*=null [line 29, column 3]\n " shape="box"] - "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_5" -> "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_4" ; -"list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_6" [label="6: DeclStmt \n *&ti[0]:int=1 [line 47, column 15]\n *&ti[1]:int=2 [line 47, column 15]\n " shape="box"] + "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_4" -> "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_3" ; +"zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_5" [label="5: DeclStmt \n *&i:int=0 [line 28, column 3]\n " shape="box"] - "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_6" -> "list_init#init_list#18348854466346904105.0126b9f1f80f91b73d5fbdbf2bc60754_5" ; -"f#C#init_list#(17813515084368904036).f077ed1f0db2e84c012845f48373d63b_1" [label="1: Start init_list::C_f\nFormals: this:init_list::C*\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 3]\n " color=yellow style=filled] + "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_5" -> "zero_init_primitive#init_list#3465759276925732066.1d03db1e38d38f4b345f33049176e92c_4" ; +"zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_1" [label="1: Start init_list::zero_init_record\nFormals: \nLocals: c:init_list::C y:init_list::Y \n DECLARE_LOCALS(&return,&c,&y); [line 33, column 1]\n " color=yellow style=filled] - "f#C#init_list#(17813515084368904036).f077ed1f0db2e84c012845f48373d63b_1" -> "f#C#init_list#(17813515084368904036).f077ed1f0db2e84c012845f48373d63b_2" ; -"f#C#init_list#(17813515084368904036).f077ed1f0db2e84c012845f48373d63b_2" [label="2: Exit init_list::C_f \n " color=yellow style=filled] + "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_1" -> "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_5" ; +"zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_2" [label="2: Exit init_list::zero_init_record \n " color=yellow style=filled] -"C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_1" [label="1: Start init_list::C_C\nFormals: this:init_list::C*\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 3]\n " color=yellow style=filled] +"zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_3" [label="3: Destruction \n _=*&c:init_list::C [line 36, column 1]\n _fun_init_list::C_~C(&c:init_list::C*) [line 36, column 1]\n " shape="box"] - "C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_1" -> "C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_3" ; -"C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_2" [label="2: Exit init_list::C_C \n " color=yellow style=filled] + "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_3" -> "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_2" ; +"zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_4" [label="4: DeclStmt \n _fun_init_list::C_C(&c:init_list::C*) [line 35, column 5]\n " shape="box"] -"C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_3" [label="3: Constructor Init \n n$0=*&this:init_list::C* [line 21, column 6]\n *n$0.x.a:int=0 [line 21, column 7]\n *n$0.x.p:int*=null [line 21, column 7]\n " shape="box"] + "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_4" -> "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_3" ; +"zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_5" [label="5: DeclStmt \n *&y.z:int=0 [line 34, column 7]\n *&y.x.a:int=0 [line 34, column 7]\n *&y.x.p:int*=null [line 34, column 7]\n " shape="box"] - "C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_3" -> "C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_2" ; + "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_5" -> "zero_init_record#init_list#7364160241041626579.8baaea62666796dca7b4a7b11bf4f2bb_4" ; "C#C#init_list#{17260491501636558446}.47559f88c2f7136a0ceafb8b6a3b78ad_1" [label="1: Start init_list::C_C\nFormals: this:init_list::C* a:int b:int x:init_list::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 3]\n " color=yellow style=filled] @@ -121,13 +103,17 @@ digraph cfg { "C#C#init_list#{17260491501636558446}.47559f88c2f7136a0ceafb8b6a3b78ad_4" -> "C#C#init_list#{17260491501636558446}.47559f88c2f7136a0ceafb8b6a3b78ad_3" ; -"X#X#init_list#{14623563476151830502}.b21008744daa797ebfd9ef4c9c105ffb_1" [label="1: Start init_list::X_X\nFormals: this:init_list::X*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] +"C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_1" [label="1: Start init_list::C_C\nFormals: this:init_list::C*\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 3]\n " color=yellow style=filled] - "X#X#init_list#{14623563476151830502}.b21008744daa797ebfd9ef4c9c105ffb_1" -> "X#X#init_list#{14623563476151830502}.b21008744daa797ebfd9ef4c9c105ffb_2" ; -"X#X#init_list#{14623563476151830502}.b21008744daa797ebfd9ef4c9c105ffb_2" [label="2: Exit init_list::X_X \n " color=yellow style=filled] + "C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_1" -> "C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_3" ; +"C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_2" [label="2: Exit init_list::C_C \n " color=yellow style=filled] +"C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_3" [label="3: Constructor Init \n n$0=*&this:init_list::C* [line 21, column 6]\n *n$0.x.a:int=0 [line 21, column 7]\n *n$0.x.p:int*=null [line 21, column 7]\n " shape="box"] + + + "C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_3" -> "C#C#init_list#{85179409263577607}.c3811ab730f90bddf1eefdc7ec6030b7_2" ; "X#X#init_list#{10362293117207912357|constexpr}.5b774fb6d82792ac0bbbdbe09cdd5093_1" [label="1: Start init_list::X_X\nFormals: this:init_list::X* __param_0:init_list::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] @@ -143,17 +129,13 @@ digraph cfg { "X#X#init_list#{10362293117207912357|constexpr}.5b774fb6d82792ac0bbbdbe09cdd5093_4" -> "X#X#init_list#{10362293117207912357|constexpr}.5b774fb6d82792ac0bbbdbe09cdd5093_3" ; -"Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_1" [label="1: Start init_list::Y_Y\nFormals: this:init_list::Y*\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 8]\n " color=yellow style=filled] - - - "Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_1" -> "Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_3" ; -"Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_2" [label="2: Exit init_list::Y_Y \n " color=yellow style=filled] +"X#X#init_list#{14623563476151830502}.b21008744daa797ebfd9ef4c9c105ffb_1" [label="1: Start init_list::X_X\nFormals: this:init_list::X*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] -"Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_3" [label="3: Constructor Init \n n$0=*&this:init_list::Y* [line 14, column 8]\n _fun_init_list::X_X(n$0.x:init_list::X*) [line 14, column 8]\n " shape="box"] + "X#X#init_list#{14623563476151830502}.b21008744daa797ebfd9ef4c9c105ffb_1" -> "X#X#init_list#{14623563476151830502}.b21008744daa797ebfd9ef4c9c105ffb_2" ; +"X#X#init_list#{14623563476151830502}.b21008744daa797ebfd9ef4c9c105ffb_2" [label="2: Exit init_list::X_X \n " color=yellow style=filled] - "Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_3" -> "Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_2" ; "Y#Y#init_list#{7965727998464233870|constexpr}.d9c0a01aa3d67701ff6c6bdd6dd01f2d_1" [label="1: Start init_list::Y_Y\nFormals: this:init_list::Y* __param_0:init_list::Y const &\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 8]\n " color=yellow style=filled] @@ -169,4 +151,22 @@ digraph cfg { "Y#Y#init_list#{7965727998464233870|constexpr}.d9c0a01aa3d67701ff6c6bdd6dd01f2d_4" -> "Y#Y#init_list#{7965727998464233870|constexpr}.d9c0a01aa3d67701ff6c6bdd6dd01f2d_3" ; +"Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_1" [label="1: Start init_list::Y_Y\nFormals: this:init_list::Y*\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 8]\n " color=yellow style=filled] + + + "Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_1" -> "Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_3" ; +"Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_2" [label="2: Exit init_list::Y_Y \n " color=yellow style=filled] + + +"Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_3" [label="3: Constructor Init \n n$0=*&this:init_list::Y* [line 14, column 8]\n _fun_init_list::X_X(n$0.x:init_list::X*) [line 14, column 8]\n " shape="box"] + + + "Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_3" -> "Y#Y#init_list#{9181657051811221357}.e663651ceaf28a9c0d59b3f85499f583_2" ; +"f#C#init_list#(17813515084368904036).f077ed1f0db2e84c012845f48373d63b_1" [label="1: Start init_list::C_f\nFormals: this:init_list::C*\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 3]\n " color=yellow style=filled] + + + "f#C#init_list#(17813515084368904036).f077ed1f0db2e84c012845f48373d63b_1" -> "f#C#init_list#(17813515084368904036).f077ed1f0db2e84c012845f48373d63b_2" ; +"f#C#init_list#(17813515084368904036).f077ed1f0db2e84c012845f48373d63b_2" [label="2: Exit init_list::C_f \n " color=yellow style=filled] + + } diff --git a/infer/tests/codetoanalyze/cpp/frontend/keywords/self_parameter.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/keywords/self_parameter.cpp.dot index 6da445e1f..ff4602df7 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/keywords/self_parameter.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/keywords/self_parameter.cpp.dot @@ -1,27 +1,27 @@ /* @generated */ digraph cfg { -"test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_1" [label="1: Start test\nFormals: a:A*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 1]\n " color=yellow style=filled] +"fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_1" [label="1: Start fun_with_self\nFormals: self:int\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 1]\n " color=yellow style=filled] - "test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_1" -> "test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_3" ; -"test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_2" [label="2: Exit test \n " color=yellow style=filled] + "fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_1" -> "fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_3" ; +"fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_2" [label="2: Exit fun_with_self \n " color=yellow style=filled] -"test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_3" [label="3: Return Stmt \n n$0=*&a:A* [line 17, column 25]\n _=*n$0:A [line 17, column 25]\n n$2=_fun_A_meth_with_self(n$0:A*,1:int,2:int) [line 17, column 25]\n n$3=_fun_fun_with_self(10:int) [line 17, column 51]\n *&return:int=(n$2 + n$3) [line 17, column 18]\n " shape="box"] +"fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_3" [label="3: Return Stmt \n n$0=*&self:int [line 15, column 38]\n *&return:int=n$0 [line 15, column 31]\n " shape="box"] - "test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_3" -> "test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_2" ; -"fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_1" [label="1: Start fun_with_self\nFormals: self:int\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 1]\n " color=yellow style=filled] + "fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_3" -> "fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_2" ; +"test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_1" [label="1: Start test\nFormals: a:A*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 1]\n " color=yellow style=filled] - "fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_1" -> "fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_3" ; -"fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_2" [label="2: Exit fun_with_self \n " color=yellow style=filled] + "test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_1" -> "test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_3" ; +"test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_2" [label="2: Exit test \n " color=yellow style=filled] -"fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_3" [label="3: Return Stmt \n n$0=*&self:int [line 15, column 38]\n *&return:int=n$0 [line 15, column 31]\n " shape="box"] +"test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_3" [label="3: Return Stmt \n n$0=*&a:A* [line 17, column 25]\n _=*n$0:A [line 17, column 25]\n n$2=_fun_A_meth_with_self(n$0:A*,1:int,2:int) [line 17, column 25]\n n$3=_fun_fun_with_self(10:int) [line 17, column 51]\n *&return:int=(n$2 + n$3) [line 17, column 18]\n " shape="box"] - "fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_3" -> "fun_with_self#17802276037376540432.4639f371cac8e491a6b8c0363a0bc168_2" ; + "test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_3" -> "test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_2" ; "meth_with_self#A#(5126246555081316972).087223c2fe95da4de39ef1116c167075_1" [label="1: Start A_meth_with_self\nFormals: this:A* self:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot index da4aff789..fa96b9c0f 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot @@ -1,5 +1,41 @@ /* @generated */ digraph cfg { +"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_1" [label="1: Start operator!=\nFormals: i1:iterator&(byval) i2:iterator&(byval)\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 21, column 1]\n " color=yellow style=filled] + + + "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_1" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_4" ; +"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_2" [label="2: Exit operator!= \n " color=yellow style=filled] + + +"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_3" [label="3: + \n " ] + + + "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_3" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_9" ; +"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_4" [label="4: BinaryOperatorStmt: NE \n n$1=*&i1:iterator& [line 21, column 52]\n n$2=*n$1.val:int [line 21, column 52]\n n$3=*&i2:iterator& [line 21, column 62]\n n$4=*n$3.val:int [line 21, column 62]\n " shape="box"] + + + "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_4" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_5" ; + "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_4" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_6" ; +"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_5" [label="5: Prune (true branch, boolean exp) \n PRUNE((n$2 != n$4), true); [line 21, column 52]\n " shape="invhouse"] + + + "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_5" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_7" ; +"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_6" [label="6: Prune (false branch, boolean exp) \n PRUNE(!(n$2 != n$4), false); [line 21, column 52]\n " shape="invhouse"] + + + "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_6" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_8" ; +"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool=1 [line 21, column 52]\n " shape="box"] + + + "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_7" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_3" ; +"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool=0 [line 21, column 52]\n " shape="box"] + + + "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_8" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_3" ; +"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_9" [label="9: Return Stmt \n n$5=*&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool [line 21, column 52]\n *&return:_Bool=n$5 [line 21, column 45]\n " shape="box"] + + + "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_9" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_2" ; "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" [label="1: Start test\nFormals: \nLocals: __end:iterator 0$?%__sil_tmpSIL_materialize_temp__n$0:iterator __begin:iterator 0$?%__sil_tmpSIL_materialize_temp__n$4:iterator 0$?%__sil_tmp__temp_return_n$9:iterator 0$?%__sil_tmp__temp_construct_n$10:iterator 0$?%__sil_tmp__temp_construct_n$11:iterator temp:int value:int __range:vec& vector:vec \n DECLARE_LOCALS(&return,&__end,&0$?%__sil_tmpSIL_materialize_temp__n$0,&__begin,&0$?%__sil_tmpSIL_materialize_temp__n$4,&0$?%__sil_tmp__temp_return_n$9,&0$?%__sil_tmp__temp_construct_n$10,&0$?%__sil_tmp__temp_construct_n$11,&temp,&value,&__range,&vector); [line 35, column 1]\n " color=yellow style=filled] @@ -52,53 +88,39 @@ digraph cfg { "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_13" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_12" ; -"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_1" [label="1: Start operator!=\nFormals: i1:iterator&(byval) i2:iterator&(byval)\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 21, column 1]\n " color=yellow style=filled] - - - "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_1" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_4" ; -"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_2" [label="2: Exit operator!= \n " color=yellow style=filled] - - -"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_3" [label="3: + \n " ] - - - "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_3" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_9" ; -"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_4" [label="4: BinaryOperatorStmt: NE \n n$1=*&i1:iterator& [line 21, column 52]\n n$2=*n$1.val:int [line 21, column 52]\n n$3=*&i2:iterator& [line 21, column 62]\n n$4=*n$3.val:int [line 21, column 62]\n " shape="box"] +"begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_1" [label="1: Start vec_begin\nFormals: this:vec* __return_param:iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 28, column 3]\n " color=yellow style=filled] - "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_4" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_5" ; - "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_4" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_6" ; -"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_5" [label="5: Prune (true branch, boolean exp) \n PRUNE((n$2 != n$4), true); [line 21, column 52]\n " shape="invhouse"] + "begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_1" -> "begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_3" ; +"begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_2" [label="2: Exit vec_begin \n " color=yellow style=filled] - "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_5" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_7" ; -"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_6" [label="6: Prune (false branch, boolean exp) \n PRUNE(!(n$2 != n$4), false); [line 21, column 52]\n " shape="invhouse"] +"begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_3" [label="3: Return Stmt \n n$0=*&__return_param:iterator* [line 28, column 22]\n n$1=*&this:vec* [line 28, column 29]\n _fun_iterator_iterator(n$0:iterator*,n$1.begin_:iterator&) [line 28, column 29]\n " shape="box"] - "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_6" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_8" ; -"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool=1 [line 21, column 52]\n " shape="box"] + "begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_3" -> "begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_2" ; +"end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_1" [label="1: Start vec_end\nFormals: this:vec* __return_param:iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 29, column 3]\n " color=yellow style=filled] - "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_7" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_3" ; -"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool=0 [line 21, column 52]\n " shape="box"] + "end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_1" -> "end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_3" ; +"end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_2" [label="2: Exit vec_end \n " color=yellow style=filled] - "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_8" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_3" ; -"operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_9" [label="9: Return Stmt \n n$5=*&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool [line 21, column 52]\n *&return:_Bool=n$5 [line 21, column 45]\n " shape="box"] +"end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_3" [label="3: Return Stmt \n n$0=*&__return_param:iterator* [line 29, column 20]\n n$1=*&this:vec* [line 29, column 27]\n _fun_iterator_iterator(n$0:iterator*,n$1.end_:iterator&) [line 29, column 27]\n " shape="box"] - "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_9" -> "operator!=#4715710375716659667.eb4126b3edd381f3092a9e38275754d4_2" ; -"operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_1" [label="1: Start iterator_operator*\nFormals: this:iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] + "end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_3" -> "end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_2" ; +"iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_1" [label="1: Start iterator_iterator\nFormals: this:iterator* __param_0:iterator const &\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] - "operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_1" -> "operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_3" ; -"operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_2" [label="2: Exit iterator_operator* \n " color=yellow style=filled] + "iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_1" -> "iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_3" ; +"iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_2" [label="2: Exit iterator_iterator \n " color=yellow style=filled] -"operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_3" [label="3: Return Stmt \n n$0=*&this:iterator* [line 18, column 12]\n n$1=*n$0.val:int [line 18, column 12]\n *&return:int=n$1 [line 18, column 5]\n " shape="box"] +"iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_3" [label="3: Constructor Init \n n$0=*&this:iterator* [line 11, column 8]\n n$1=*&__param_0:iterator const & [line 11, column 8]\n n$2=*n$1.val:int [line 11, column 8]\n *n$0.val:int=n$2 [line 11, column 8]\n " shape="box"] - "operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_3" -> "operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_2" ; + "iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_3" -> "iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_2" ; "iterator#iterator#{17107199916075329459}.2fc51ac860d26e778b9b34e5032f02d5_1" [label="1: Start iterator_iterator\nFormals: this:iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] @@ -117,17 +139,17 @@ digraph cfg { "iterator#iterator#{3083368405611515834|constexpr}.86fcbefb2af88c097bfa7e085c4b4f40_3" -> "iterator#iterator#{3083368405611515834|constexpr}.86fcbefb2af88c097bfa7e085c4b4f40_2" ; -"iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_1" [label="1: Start iterator_iterator\nFormals: this:iterator* __param_0:iterator const &\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 8]\n " color=yellow style=filled] +"operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_1" [label="1: Start iterator_operator*\nFormals: this:iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] - "iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_1" -> "iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_3" ; -"iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_2" [label="2: Exit iterator_iterator \n " color=yellow style=filled] + "operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_1" -> "operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_3" ; +"operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_2" [label="2: Exit iterator_operator* \n " color=yellow style=filled] -"iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_3" [label="3: Constructor Init \n n$0=*&this:iterator* [line 11, column 8]\n n$1=*&__param_0:iterator const & [line 11, column 8]\n n$2=*n$1.val:int [line 11, column 8]\n *n$0.val:int=n$2 [line 11, column 8]\n " shape="box"] +"operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_3" [label="3: Return Stmt \n n$0=*&this:iterator* [line 18, column 12]\n n$1=*n$0.val:int [line 18, column 12]\n *&return:int=n$1 [line 18, column 5]\n " shape="box"] - "iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_3" -> "iterator#iterator#{11413353760466671846|constexpr}.a278508d3bccc69caf1a1db6246cf788_2" ; + "operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_3" -> "operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_2" ; "operator++#iterator#(14034081864165661659).8f8d47641e87add0a7463df1d1fa7b15_1" [label="1: Start iterator_operator++\nFormals: this:iterator* __return_param:iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] @@ -143,28 +165,6 @@ digraph cfg { "operator++#iterator#(14034081864165661659).8f8d47641e87add0a7463df1d1fa7b15_4" -> "operator++#iterator#(14034081864165661659).8f8d47641e87add0a7463df1d1fa7b15_3" ; -"begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_1" [label="1: Start vec_begin\nFormals: this:vec* __return_param:iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 28, column 3]\n " color=yellow style=filled] - - - "begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_1" -> "begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_3" ; -"begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_2" [label="2: Exit vec_begin \n " color=yellow style=filled] - - -"begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_3" [label="3: Return Stmt \n n$0=*&__return_param:iterator* [line 28, column 22]\n n$1=*&this:vec* [line 28, column 29]\n _fun_iterator_iterator(n$0:iterator*,n$1.begin_:iterator&) [line 28, column 29]\n " shape="box"] - - - "begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_3" -> "begin#vec#(1866137161906470488).7bca21f38283b3487a15399a2f8cb73c_2" ; -"end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_1" [label="1: Start vec_end\nFormals: this:vec* __return_param:iterator*\nLocals: \n DECLARE_LOCALS(&return); [line 29, column 3]\n " color=yellow style=filled] - - - "end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_1" -> "end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_3" ; -"end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_2" [label="2: Exit vec_end \n " color=yellow style=filled] - - -"end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_3" [label="3: Return Stmt \n n$0=*&__return_param:iterator* [line 29, column 20]\n n$1=*&this:vec* [line 29, column 27]\n _fun_iterator_iterator(n$0:iterator*,n$1.end_:iterator&) [line 29, column 27]\n " shape="box"] - - - "end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_3" -> "end#vec#(14240882620331653738).9e08a46e9d5bcb3339794674882c80a3_2" ; "vec#vec#{13876720186060950809}.c3c9a518fcec87e97d6b52a59f13d428_1" [label="1: Start vec_vec\nFormals: this:vec* size:int\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 3]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/attributes/annotate.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/attributes/annotate.cpp.dot index 5965bbae6..517510bc8 100644 --- a/infer/tests/codetoanalyze/cpp/shared/attributes/annotate.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/attributes/annotate.cpp.dot @@ -1,35 +1,23 @@ /* @generated */ digraph cfg { -"derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_1" [label="1: Start derefFirstArg_null_deref\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 37, column 1]\n " color=yellow style=filled] - - - "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_1" -> "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_4" ; -"derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_2" [label="2: Exit derefFirstArg_null_deref \n " color=yellow style=filled] - - -"derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_3" [label="3: Return Stmt \n n$0=*null:int [line 39, column 10]\n *&return:int=n$0 [line 39, column 3]\n " shape="box"] - - - "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_3" -> "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_2" ; -"derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_4" [label="4: DeclStmt \n *&a:int=0 [line 38, column 3]\n " shape="box"] +"derefFirstArg#11155233742091168443.dc9be6cfdd866625309f594a0c1a3bdc_1" [label="1: Start derefFirstArg\nFormals: a:int* b:int*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] - "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_4" -> "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_3" ; -"derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_1" [label="1: Start derefFirstArg_ok_deref\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 42, column 1]\n " color=yellow style=filled] + "derefFirstArg#11155233742091168443.dc9be6cfdd866625309f594a0c1a3bdc_1" -> "derefFirstArg#11155233742091168443.dc9be6cfdd866625309f594a0c1a3bdc_2" ; +"derefFirstArg#11155233742091168443.dc9be6cfdd866625309f594a0c1a3bdc_2" [label="2: Exit derefFirstArg \n " color=yellow style=filled] - "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_1" -> "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_4" ; -"derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_2" [label="2: Exit derefFirstArg_ok_deref \n " color=yellow style=filled] +"derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_1" [label="1: Start derefFirstArg2\nFormals: a:int* b:int*\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] -"derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_3" [label="3: Return Stmt \n n$0=*&a:int [line 44, column 10]\n *&return:int=n$0 [line 44, column 3]\n " shape="box"] + "derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_1" -> "derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_3" ; +"derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_2" [label="2: Exit derefFirstArg2 \n " color=yellow style=filled] - "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_3" -> "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_2" ; -"derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_4" [label="4: DeclStmt \n *&a:int=0 [line 43, column 3]\n " shape="box"] +"derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_3" [label="3: Return Stmt \n n$0=*&b:int* [line 26, column 11]\n n$1=*n$0:int [line 26, column 10]\n *&return:int=n$1 [line 26, column 3]\n " shape="box"] - "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_4" -> "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_3" ; + "derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_3" -> "derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_2" ; "derefFirstArg2_null_deref#13631548499595216278.23fca23ff6728e4b72a2548ecb3b1ba0_1" [label="1: Start derefFirstArg2_null_deref\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 47, column 1]\n " color=yellow style=filled] @@ -60,6 +48,32 @@ digraph cfg { "derefFirstArg2_ok_deref#6873109919028202465.d57ab0b62c0ba18894b8b08d5a8f8e8a_4" -> "derefFirstArg2_ok_deref#6873109919028202465.d57ab0b62c0ba18894b8b08d5a8f8e8a_3" ; +"derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_1" [label="1: Start derefFirstArg3\nFormals: a:int* b:int*\nLocals: \n DECLARE_LOCALS(&return); [line 31, column 1]\n " color=yellow style=filled] + + + "derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_1" -> "derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_3" ; +"derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_2" [label="2: Exit derefFirstArg3 \n " color=yellow style=filled] + + +"derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_3" [label="3: Return Stmt \n n$0=*&b:int* [line 33, column 11]\n n$1=*n$0:int [line 33, column 10]\n *&return:int=n$1 [line 33, column 3]\n " shape="box"] + + + "derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_3" -> "derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_2" ; +"derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_1" [label="1: Start derefFirstArg3_null_deref\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 62, column 1]\n " color=yellow style=filled] + + + "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_1" -> "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_4" ; +"derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_2" [label="2: Exit derefFirstArg3_null_deref \n " color=yellow style=filled] + + +"derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_3" [label="3: Return Stmt \n n$0=_fun_derefFirstArg3(&a:int*,null:int*) [line 64, column 10]\n *&return:int=n$0 [line 64, column 3]\n " shape="box"] + + + "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_3" -> "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_2" ; +"derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_4" [label="4: DeclStmt \n *&a:int=0 [line 63, column 3]\n " shape="box"] + + + "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_4" -> "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_3" ; "derefFirstArg3_ok_deref#12266654054137171150.c58c85ea4ba2ebfd89d0336e51301e7a_1" [label="1: Start derefFirstArg3_ok_deref\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 57, column 1]\n " color=yellow style=filled] @@ -75,21 +89,36 @@ digraph cfg { "derefFirstArg3_ok_deref#12266654054137171150.c58c85ea4ba2ebfd89d0336e51301e7a_4" -> "derefFirstArg3_ok_deref#12266654054137171150.c58c85ea4ba2ebfd89d0336e51301e7a_3" ; -"derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_1" [label="1: Start derefFirstArg3_null_deref\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 62, column 1]\n " color=yellow style=filled] +"derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_1" [label="1: Start derefFirstArg_null_deref\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 37, column 1]\n " color=yellow style=filled] - "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_1" -> "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_4" ; -"derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_2" [label="2: Exit derefFirstArg3_null_deref \n " color=yellow style=filled] + "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_1" -> "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_4" ; +"derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_2" [label="2: Exit derefFirstArg_null_deref \n " color=yellow style=filled] -"derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_3" [label="3: Return Stmt \n n$0=_fun_derefFirstArg3(&a:int*,null:int*) [line 64, column 10]\n *&return:int=n$0 [line 64, column 3]\n " shape="box"] +"derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_3" [label="3: Return Stmt \n n$0=*null:int [line 39, column 10]\n *&return:int=n$0 [line 39, column 3]\n " shape="box"] - "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_3" -> "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_2" ; -"derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_4" [label="4: DeclStmt \n *&a:int=0 [line 63, column 3]\n " shape="box"] + "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_3" -> "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_2" ; +"derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_4" [label="4: DeclStmt \n *&a:int=0 [line 38, column 3]\n " shape="box"] - "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_4" -> "derefFirstArg3_null_deref#3036141491555788229.605788dbf5e3c5625520098d1b5d320e_3" ; + "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_4" -> "derefFirstArg_null_deref#14830687999166111591.325df3347d8f75d0292cfd33a485d28a_3" ; +"derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_1" [label="1: Start derefFirstArg_ok_deref\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 42, column 1]\n " color=yellow style=filled] + + + "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_1" -> "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_4" ; +"derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_2" [label="2: Exit derefFirstArg_ok_deref \n " color=yellow style=filled] + + +"derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_3" [label="3: Return Stmt \n n$0=*&a:int [line 44, column 10]\n *&return:int=n$0 [line 44, column 3]\n " shape="box"] + + + "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_3" -> "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_2" ; +"derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_4" [label="4: DeclStmt \n *&a:int=0 [line 43, column 3]\n " shape="box"] + + + "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_4" -> "derefFirstArg_ok_deref#70986049112502156.78efafe2cdade07d4257a7cd671e75f5_3" ; "getPtr_null_deref1#10685326586135592861.d05a7735c36f759fec001951cdc51035_1" [label="1: Start getPtr_null_deref1\nFormals: \nLocals: t:int* \n DECLARE_LOCALS(&return,&t); [line 89, column 1]\n " color=yellow style=filled] @@ -151,63 +180,6 @@ digraph cfg { "getPtr_ok_deref#15608473391071478730.49e56fac5bd82269c2093a9c1e438200_6" -> "getPtr_ok_deref#15608473391071478730.49e56fac5bd82269c2093a9c1e438200_5" ; -"operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_1" [label="1: Start operator_star_null_deref1\nFormals: \nLocals: t:int* \n DECLARE_LOCALS(&return,&t); [line 108, column 1]\n " color=yellow style=filled] - - - "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_1" -> "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_5" ; -"operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_2" [label="2: Exit operator_star_null_deref1 \n " color=yellow style=filled] - - -"operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_3" [label="3: Return Stmt \n n$0=*&t:int* [line 111, column 10]\n n$1=*n$0:int [line 111, column 10]\n *&return:int=n$1 [line 111, column 3]\n " shape="box"] - - - "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_3" -> "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_2" ; -"operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_4" [label="4: Call _fun_TranslateAsPtr_setPtr \n _=*&t:int* [line 110, column 3]\n _fun_TranslateAsPtr_setPtr(&t:int*&,null:int*) [line 110, column 3]\n " shape="box"] - - - "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_4" -> "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_3" ; -"operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_5" [label="5: DeclStmt \n _fun_TranslateAsPtr_TranslateAsPtr(&t:int**,null:int*) [line 109, column 23]\n n$3=*&t:int* [line 109, column 23]\n " shape="box"] - - - "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_5" -> "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_4" ; -"operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_1" [label="1: Start operator_star_null_deref2\nFormals: \nLocals: t:int* \n DECLARE_LOCALS(&return,&t); [line 114, column 1]\n " color=yellow style=filled] - - - "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_1" -> "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_5" ; -"operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_2" [label="2: Exit operator_star_null_deref2 \n " color=yellow style=filled] - - -"operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_3" [label="3: Return Stmt \n _=*&t:int* [line 117, column 10]\n n$1=*&t:int* [line 117, column 10]\n n$2=*n$1:int [line 117, column 10]\n *&return:int=n$2 [line 117, column 3]\n " shape="box"] - - - "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_3" -> "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_2" ; -"operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_4" [label="4: Call _fun_TranslateAsPtr_setPtr \n _=*&t:int* [line 116, column 3]\n _fun_TranslateAsPtr_setPtr(&t:int*&,null:int*) [line 116, column 3]\n " shape="box"] - - - "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_4" -> "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_3" ; -"operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_5" [label="5: DeclStmt \n _fun_TranslateAsPtr_TranslateAsPtr(&t:int**,null:int*) [line 115, column 23]\n n$4=*&t:int* [line 115, column 23]\n " shape="box"] - - - "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_5" -> "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_4" ; -"operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_1" [label="1: Start operator_star_ok_deref\nFormals: \nLocals: t:int* a:int \n DECLARE_LOCALS(&return,&t,&a); [line 120, column 1]\n " color=yellow style=filled] - - - "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_1" -> "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_5" ; -"operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_2" [label="2: Exit operator_star_ok_deref \n " color=yellow style=filled] - - -"operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_3" [label="3: Return Stmt \n _=*&t:int* [line 124, column 10]\n n$1=*&t:int* [line 124, column 10]\n n$2=*n$1:int [line 124, column 10]\n *&return:int=n$2 [line 124, column 3]\n " shape="box"] - - - "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_3" -> "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_2" ; -"operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_4" [label="4: Call _fun_TranslateAsPtr_setPtr \n _=*&t:int* [line 123, column 3]\n _fun_TranslateAsPtr_setPtr(&t:int*&,&a:int*) [line 123, column 3]\n " shape="box"] - - - "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_4" -> "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_3" ; -"operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_5" [label="5: DeclStmt \n _fun_TranslateAsPtr_TranslateAsPtr(&t:int**,null:int*) [line 122, column 23]\n n$4=*&t:int* [line 122, column 23]\n " shape="box"] - - - "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_5" -> "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_4" ; "getRef_null_deref1#4264296374417396044.654d24b6c4af017d90a5ceff83c121c2_1" [label="1: Start getRef_null_deref1\nFormals: \nLocals: t:int* \n DECLARE_LOCALS(&return,&t); [line 127, column 1]\n " color=yellow style=filled] @@ -269,54 +241,79 @@ digraph cfg { "getRef_ok_deref#10111201054364386601.e514c65ac6978a31376e6032d81b3d16_6" -> "getRef_ok_deref#10111201054364386601.e514c65ac6978a31376e6032d81b3d16_5" ; -"derefFirstArg#11155233742091168443.dc9be6cfdd866625309f594a0c1a3bdc_1" [label="1: Start derefFirstArg\nFormals: a:int* b:int*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] +"operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_1" [label="1: Start operator_star_null_deref1\nFormals: \nLocals: t:int* \n DECLARE_LOCALS(&return,&t); [line 108, column 1]\n " color=yellow style=filled] - "derefFirstArg#11155233742091168443.dc9be6cfdd866625309f594a0c1a3bdc_1" -> "derefFirstArg#11155233742091168443.dc9be6cfdd866625309f594a0c1a3bdc_2" ; -"derefFirstArg#11155233742091168443.dc9be6cfdd866625309f594a0c1a3bdc_2" [label="2: Exit derefFirstArg \n " color=yellow style=filled] + "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_1" -> "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_5" ; +"operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_2" [label="2: Exit operator_star_null_deref1 \n " color=yellow style=filled] -"derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_1" [label="1: Start derefFirstArg2\nFormals: a:int* b:int*\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] +"operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_3" [label="3: Return Stmt \n n$0=*&t:int* [line 111, column 10]\n n$1=*n$0:int [line 111, column 10]\n *&return:int=n$1 [line 111, column 3]\n " shape="box"] - "derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_1" -> "derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_3" ; -"derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_2" [label="2: Exit derefFirstArg2 \n " color=yellow style=filled] + "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_3" -> "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_2" ; +"operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_4" [label="4: Call _fun_TranslateAsPtr_setPtr \n _=*&t:int* [line 110, column 3]\n _fun_TranslateAsPtr_setPtr(&t:int*&,null:int*) [line 110, column 3]\n " shape="box"] -"derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_3" [label="3: Return Stmt \n n$0=*&b:int* [line 26, column 11]\n n$1=*n$0:int [line 26, column 10]\n *&return:int=n$1 [line 26, column 3]\n " shape="box"] + "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_4" -> "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_3" ; +"operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_5" [label="5: DeclStmt \n _fun_TranslateAsPtr_TranslateAsPtr(&t:int**,null:int*) [line 109, column 23]\n n$3=*&t:int* [line 109, column 23]\n " shape="box"] - "derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_3" -> "derefFirstArg2#11387624487828646016.9777f67ce8b8da5c99a0e59eaaf6eb17_2" ; -"derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_1" [label="1: Start derefFirstArg3\nFormals: a:int* b:int*\nLocals: \n DECLARE_LOCALS(&return); [line 31, column 1]\n " color=yellow style=filled] + "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_5" -> "operator_star_null_deref1#14187169119337849630.74372e24230903d2d4cacecae74f498d_4" ; +"operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_1" [label="1: Start operator_star_null_deref2\nFormals: \nLocals: t:int* \n DECLARE_LOCALS(&return,&t); [line 114, column 1]\n " color=yellow style=filled] - "derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_1" -> "derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_3" ; -"derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_2" [label="2: Exit derefFirstArg3 \n " color=yellow style=filled] + "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_1" -> "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_5" ; +"operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_2" [label="2: Exit operator_star_null_deref2 \n " color=yellow style=filled] -"derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_3" [label="3: Return Stmt \n n$0=*&b:int* [line 33, column 11]\n n$1=*n$0:int [line 33, column 10]\n *&return:int=n$1 [line 33, column 3]\n " shape="box"] +"operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_3" [label="3: Return Stmt \n _=*&t:int* [line 117, column 10]\n n$1=*&t:int* [line 117, column 10]\n n$2=*n$1:int [line 117, column 10]\n *&return:int=n$2 [line 117, column 3]\n " shape="box"] - "derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_3" -> "derefFirstArg3#3150650678378709003.fb38cf6b9238ba2f8f6e25136f8beb95_2" ; -"getPtr#TranslateAsPtr#(11398425810130716395).657b6b87ee3e6dc84e17d734bcfc55b1_1" [label="1: Start TranslateAsPtr_getPtr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 78, column 3]\n " color=yellow style=filled] + "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_3" -> "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_2" ; +"operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_4" [label="4: Call _fun_TranslateAsPtr_setPtr \n _=*&t:int* [line 116, column 3]\n _fun_TranslateAsPtr_setPtr(&t:int*&,null:int*) [line 116, column 3]\n " shape="box"] - "getPtr#TranslateAsPtr#(11398425810130716395).657b6b87ee3e6dc84e17d734bcfc55b1_1" -> "getPtr#TranslateAsPtr#(11398425810130716395).657b6b87ee3e6dc84e17d734bcfc55b1_2" ; -"getPtr#TranslateAsPtr#(11398425810130716395).657b6b87ee3e6dc84e17d734bcfc55b1_2" [label="2: Exit TranslateAsPtr_getPtr \n " color=yellow style=filled] + "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_4" -> "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_3" ; +"operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_5" [label="5: DeclStmt \n _fun_TranslateAsPtr_TranslateAsPtr(&t:int**,null:int*) [line 115, column 23]\n n$4=*&t:int* [line 115, column 23]\n " shape="box"] -"operator*#TranslateAsPtr#(2957914813032465436).d9d28f5b3fa89d06894336545dfa919e_1" [label="1: Start TranslateAsPtr_operator*\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 81, column 3]\n " color=yellow style=filled] + "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_5" -> "operator_star_null_deref2#14189968475942707161.6f6b808f2059b0f1bd8edd63f3e0c27b_4" ; +"operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_1" [label="1: Start operator_star_ok_deref\nFormals: \nLocals: t:int* a:int \n DECLARE_LOCALS(&return,&t,&a); [line 120, column 1]\n " color=yellow style=filled] - "operator*#TranslateAsPtr#(2957914813032465436).d9d28f5b3fa89d06894336545dfa919e_1" -> "operator*#TranslateAsPtr#(2957914813032465436).d9d28f5b3fa89d06894336545dfa919e_2" ; -"operator*#TranslateAsPtr#(2957914813032465436).d9d28f5b3fa89d06894336545dfa919e_2" [label="2: Exit TranslateAsPtr_operator* \n " color=yellow style=filled] + "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_1" -> "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_5" ; +"operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_2" [label="2: Exit operator_star_ok_deref \n " color=yellow style=filled] -"getRef#TranslateAsPtr#(8980454460906194048).c1f61acdfdda98d0f31dfdad70fac6a4_1" [label="1: Start TranslateAsPtr_getRef\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 82, column 3]\n " color=yellow style=filled] +"operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_3" [label="3: Return Stmt \n _=*&t:int* [line 124, column 10]\n n$1=*&t:int* [line 124, column 10]\n n$2=*n$1:int [line 124, column 10]\n *&return:int=n$2 [line 124, column 3]\n " shape="box"] - "getRef#TranslateAsPtr#(8980454460906194048).c1f61acdfdda98d0f31dfdad70fac6a4_1" -> "getRef#TranslateAsPtr#(8980454460906194048).c1f61acdfdda98d0f31dfdad70fac6a4_2" ; -"getRef#TranslateAsPtr#(8980454460906194048).c1f61acdfdda98d0f31dfdad70fac6a4_2" [label="2: Exit TranslateAsPtr_getRef \n " color=yellow style=filled] + "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_3" -> "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_2" ; +"operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_4" [label="4: Call _fun_TranslateAsPtr_setPtr \n _=*&t:int* [line 123, column 3]\n _fun_TranslateAsPtr_setPtr(&t:int*&,&a:int*) [line 123, column 3]\n " shape="box"] + + + "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_4" -> "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_3" ; +"operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_5" [label="5: DeclStmt \n _fun_TranslateAsPtr_TranslateAsPtr(&t:int**,null:int*) [line 122, column 23]\n n$4=*&t:int* [line 122, column 23]\n " shape="box"] + + + "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_5" -> "operator_star_ok_deref#11345277927099423171.138b78e88dab5887cd2f20f2590c779f_4" ; +"TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_1" [label="1: Start TranslateAsPtr_TranslateAsPtr\nFormals: this:int** t:int*\nLocals: \n DECLARE_LOCALS(&return); [line 76, column 3]\n " color=yellow style=filled] + + + "TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_1" -> "TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_3" ; +"TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_2" [label="2: Exit TranslateAsPtr_TranslateAsPtr \n " color=yellow style=filled] + + +"TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_3" [label="3: Call _fun_TranslateAsPtr_setPtr \n n$0=*&this:int** [line 76, column 36]\n _=*n$0:int* [line 76, column 36]\n n$2=*&t:int* [line 76, column 43]\n _fun_TranslateAsPtr_setPtr(n$0:int**,n$2:int*) [line 76, column 36]\n " shape="box"] + + + "TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_3" -> "TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_2" ; +"getPtr#TranslateAsPtr#(11398425810130716395).657b6b87ee3e6dc84e17d734bcfc55b1_1" [label="1: Start TranslateAsPtr_getPtr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 78, column 3]\n " color=yellow style=filled] + + + "getPtr#TranslateAsPtr#(11398425810130716395).657b6b87ee3e6dc84e17d734bcfc55b1_1" -> "getPtr#TranslateAsPtr#(11398425810130716395).657b6b87ee3e6dc84e17d734bcfc55b1_2" ; +"getPtr#TranslateAsPtr#(11398425810130716395).657b6b87ee3e6dc84e17d734bcfc55b1_2" [label="2: Exit TranslateAsPtr_getPtr \n " color=yellow style=filled] "getPtr#TranslateAsPtr#(5108725798531153105).ddae4f977672452bac54a30a4533059d_1" [label="1: Start TranslateAsPtr_getPtr\nFormals: this:int** a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 79, column 3]\n " color=yellow style=filled] @@ -333,17 +330,20 @@ digraph cfg { "getRef#TranslateAsPtr#(12157952070639259276).02c97edc35db5f793a7a4d1e6c16b00b_2" [label="2: Exit TranslateAsPtr_getRef \n " color=yellow style=filled] -"TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_1" [label="1: Start TranslateAsPtr_TranslateAsPtr\nFormals: this:int** t:int*\nLocals: \n DECLARE_LOCALS(&return); [line 76, column 3]\n " color=yellow style=filled] +"getRef#TranslateAsPtr#(8980454460906194048).c1f61acdfdda98d0f31dfdad70fac6a4_1" [label="1: Start TranslateAsPtr_getRef\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 82, column 3]\n " color=yellow style=filled] - "TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_1" -> "TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_3" ; -"TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_2" [label="2: Exit TranslateAsPtr_TranslateAsPtr \n " color=yellow style=filled] + "getRef#TranslateAsPtr#(8980454460906194048).c1f61acdfdda98d0f31dfdad70fac6a4_1" -> "getRef#TranslateAsPtr#(8980454460906194048).c1f61acdfdda98d0f31dfdad70fac6a4_2" ; +"getRef#TranslateAsPtr#(8980454460906194048).c1f61acdfdda98d0f31dfdad70fac6a4_2" [label="2: Exit TranslateAsPtr_getRef \n " color=yellow style=filled] -"TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_3" [label="3: Call _fun_TranslateAsPtr_setPtr \n n$0=*&this:int** [line 76, column 36]\n _=*n$0:int* [line 76, column 36]\n n$2=*&t:int* [line 76, column 43]\n _fun_TranslateAsPtr_setPtr(n$0:int**,n$2:int*) [line 76, column 36]\n " shape="box"] +"operator*#TranslateAsPtr#(2957914813032465436).d9d28f5b3fa89d06894336545dfa919e_1" [label="1: Start TranslateAsPtr_operator*\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 81, column 3]\n " color=yellow style=filled] + + + "operator*#TranslateAsPtr#(2957914813032465436).d9d28f5b3fa89d06894336545dfa919e_1" -> "operator*#TranslateAsPtr#(2957914813032465436).d9d28f5b3fa89d06894336545dfa919e_2" ; +"operator*#TranslateAsPtr#(2957914813032465436).d9d28f5b3fa89d06894336545dfa919e_2" [label="2: Exit TranslateAsPtr_operator* \n " color=yellow style=filled] - "TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_3" -> "TranslateAsPtr#TranslateAsPtr#{16989717360382977660}.33ce04b76efc158540bbe4b4b3c6897f_2" ; "setPtr#TranslateAsPtr#(11427652750021041520).3f4d983a0a5cf5a43b2e4fd66c30c6a9_1" [label="1: Start TranslateAsPtr_setPtr\nFormals: this:int** v:int*\nLocals: \n DECLARE_LOCALS(&return); [line 86, column 3]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot index 63847278b..d93703a5e 100644 --- a/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot @@ -107,17 +107,6 @@ digraph cfg { "getX#binary_conditional#7708042186122353096.ec6c66051810049a5e5688caadbf0f96_4" -> "getX#binary_conditional#7708042186122353096.ec6c66051810049a5e5688caadbf0f96_3" ; -"operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_1" [label="1: Start binary_conditional::X_operator_bool\nFormals: this:binary_conditional::X*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] - - - "operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_1" -> "operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_3" ; -"operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_2" [label="2: Exit binary_conditional::X_operator_bool \n " color=yellow style=filled] - - -"operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_3" [label="3: Return Stmt \n *&return:_Bool=1 [line 13, column 21]\n " shape="box"] - - - "operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_3" -> "operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_2" ; "X#X#binary_conditional#{14263889156663411855|constexpr}.2259daea109ab4ed7cb747998c1a8b38_1" [label="1: Start binary_conditional::X_X\nFormals: this:binary_conditional::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] @@ -139,4 +128,15 @@ digraph cfg { "X#X#binary_conditional#{9863553346576066468|constexpr}.13550d5872419d596c3c38205883714d_2" [label="2: Exit binary_conditional::X_X \n " color=yellow style=filled] +"operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_1" [label="1: Start binary_conditional::X_operator_bool\nFormals: this:binary_conditional::X*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] + + + "operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_1" -> "operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_3" ; +"operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_2" [label="2: Exit binary_conditional::X_operator_bool \n " color=yellow style=filled] + + +"operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_3" [label="3: Return Stmt \n *&return:_Bool=1 [line 13, column 21]\n " shape="box"] + + + "operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_3" -> "operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/conditional/lvalue_conditional.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/conditional/lvalue_conditional.cpp.dot index 107588f02..483c26fe5 100644 --- a/infer/tests/codetoanalyze/cpp/shared/conditional/lvalue_conditional.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/conditional/lvalue_conditional.cpp.dot @@ -1,93 +1,49 @@ /* @generated */ digraph cfg { -"div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_1" [label="1: Start div0_choose_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 33, column 1]\n " color=yellow style=filled] - - - "div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_1" -> "div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_3" ; -"div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_2" [label="2: Exit div0_choose_lvalue \n " color=yellow style=filled] - - -"div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_3" [label="3: Return Stmt \n n$0=_fun_choose_lvalue(1:int) [line 33, column 39]\n *&return:int=(1 / n$0) [line 33, column 28]\n " shape="box"] - - - "div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_3" -> "div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_2" ; -"div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_1" [label="1: Start div1_choose_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 35, column 1]\n " color=yellow style=filled] - - - "div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_1" -> "div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_3" ; -"div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_2" [label="2: Exit div1_choose_lvalue \n " color=yellow style=filled] - - -"div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_3" [label="3: Return Stmt \n n$0=_fun_choose_lvalue(0:int) [line 35, column 39]\n *&return:int=(1 / n$0) [line 35, column 28]\n " shape="box"] - - - "div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_3" -> "div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_2" ; -"div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_1" [label="1: Start div0_choose_rvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 37, column 1]\n " color=yellow style=filled] - - - "div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_1" -> "div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_3" ; -"div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_2" [label="2: Exit div0_choose_rvalue \n " color=yellow style=filled] - - -"div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_3" [label="3: Return Stmt \n n$0=_fun_choose_rvalue(1:int) [line 37, column 39]\n *&return:int=(1 / n$0) [line 37, column 28]\n " shape="box"] - - - "div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_3" -> "div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_2" ; -"div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_1" [label="1: Start div1_choose_rvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 39, column 1]\n " color=yellow style=filled] - - - "div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_1" -> "div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_3" ; -"div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_2" [label="2: Exit div1_choose_rvalue \n " color=yellow style=filled] - - -"div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_3" [label="3: Return Stmt \n n$0=_fun_choose_rvalue(0:int) [line 39, column 39]\n *&return:int=(1 / n$0) [line 39, column 28]\n " shape="box"] - - - "div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_3" -> "div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_2" ; -"div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_1" [label="1: Start div0_assign_conditional\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 41, column 1]\n " color=yellow style=filled] - - - "div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_1" -> "div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_3" ; -"div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_2" [label="2: Exit div0_assign_conditional \n " color=yellow style=filled] +"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_1" [label="1: Start assign_conditional\nFormals: a:int\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$1:int& v2:int v1:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$1,&v2,&v1); [line 22, column 1]\n " color=yellow style=filled] -"div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_3" [label="3: Return Stmt \n n$0=_fun_assign_conditional(0:int) [line 41, column 44]\n *&return:int=(1 / n$0) [line 41, column 33]\n " shape="box"] + "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_1" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_11" ; +"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_2" [label="2: Exit assign_conditional \n " color=yellow style=filled] - "div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_3" -> "div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_2" ; -"div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_1" [label="1: Start div1_assign_conditional\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 43, column 1]\n " color=yellow style=filled] +"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_3" [label="3: Return Stmt \n n$0=*&v1:int [line 25, column 10]\n *&return:int=n$0 [line 25, column 3]\n " shape="box"] - "div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_1" -> "div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_3" ; -"div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_2" [label="2: Exit div1_assign_conditional \n " color=yellow style=filled] + "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_3" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_2" ; +"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_4" [label="4: + \n " ] -"div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_3" [label="3: Return Stmt \n n$0=_fun_assign_conditional(1:int) [line 43, column 44]\n *&return:int=(1 / n$0) [line 43, column 33]\n " shape="box"] + "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_4" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_9" ; +"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_5" [label="5: Prune (true branch, boolean exp) \n n$2=*&a:int [line 24, column 4]\n PRUNE(n$2, true); [line 24, column 4]\n " shape="invhouse"] - "div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_3" -> "div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_2" ; -"div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_1" [label="1: Start div0_temp_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 45, column 1]\n " color=yellow style=filled] + "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_5" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_7" ; +"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_6" [label="6: Prune (false branch, boolean exp) \n n$2=*&a:int [line 24, column 4]\n PRUNE(!n$2, false); [line 24, column 4]\n " shape="invhouse"] - "div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_1" -> "div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_3" ; -"div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_2" [label="2: Exit div0_temp_lvalue \n " color=yellow style=filled] + "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_6" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_8" ; +"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int&=&v1 [line 24, column 4]\n " shape="box"] -"div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_3" [label="3: Return Stmt \n n$0=_fun_div_temp_lvalue(1:int,0:int) [line 45, column 33]\n *&return:int=n$0 [line 45, column 26]\n " shape="box"] + "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_7" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_4" ; +"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int&=&v2 [line 24, column 4]\n " shape="box"] - "div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_3" -> "div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_2" ; -"div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_1" [label="1: Start div1_temp_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 47, column 1]\n " color=yellow style=filled] + "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_8" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_4" ; +"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_9" [label="9: BinaryOperatorStmt: Assign \n n$3=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int& [line 24, column 4]\n *n$3:int=1 [line 24, column 3]\n " shape="box"] - "div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_1" -> "div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_3" ; -"div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_2" [label="2: Exit div1_temp_lvalue \n " color=yellow style=filled] + "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_9" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_3" ; +"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_10" [label="10: DeclStmt \n *&v2:int=0 [line 23, column 3]\n " shape="box"] -"div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_3" [label="3: Return Stmt \n n$0=_fun_div_temp_lvalue(0:int,1:int) [line 47, column 33]\n *&return:int=n$0 [line 47, column 26]\n " shape="box"] + "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_10" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_5" ; + "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_10" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_6" ; +"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_11" [label="11: DeclStmt \n *&v1:int=0 [line 23, column 3]\n " shape="box"] - "div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_3" -> "div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_2" ; + "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_11" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_10" ; "choose_lvalue#6868643882447178722.7e0e06006a6e1baaef3aab18bce2b8d2_1" [label="1: Start choose_lvalue\nFormals: a:int\nLocals: v3:int 0$?%__sil_tmpSIL_temp_conditional___n$1:int& v2:int v1:int \n DECLARE_LOCALS(&return,&v3,&0$?%__sil_tmpSIL_temp_conditional___n$1,&v2,&v1); [line 10, column 1]\n " color=yellow style=filled] @@ -172,50 +128,94 @@ digraph cfg { "choose_rvalue#5692558402038768020.7de6e1902b5c331a5715ba3f0f51e47e_10" -> "choose_rvalue#5692558402038768020.7de6e1902b5c331a5715ba3f0f51e47e_5" ; "choose_rvalue#5692558402038768020.7de6e1902b5c331a5715ba3f0f51e47e_10" -> "choose_rvalue#5692558402038768020.7de6e1902b5c331a5715ba3f0f51e47e_6" ; -"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_1" [label="1: Start assign_conditional\nFormals: a:int\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$1:int& v2:int v1:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$1,&v2,&v1); [line 22, column 1]\n " color=yellow style=filled] +"div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_1" [label="1: Start div0_assign_conditional\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 41, column 1]\n " color=yellow style=filled] - "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_1" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_11" ; -"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_2" [label="2: Exit assign_conditional \n " color=yellow style=filled] + "div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_1" -> "div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_3" ; +"div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_2" [label="2: Exit div0_assign_conditional \n " color=yellow style=filled] -"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_3" [label="3: Return Stmt \n n$0=*&v1:int [line 25, column 10]\n *&return:int=n$0 [line 25, column 3]\n " shape="box"] +"div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_3" [label="3: Return Stmt \n n$0=_fun_assign_conditional(0:int) [line 41, column 44]\n *&return:int=(1 / n$0) [line 41, column 33]\n " shape="box"] - "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_3" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_2" ; -"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_4" [label="4: + \n " ] + "div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_3" -> "div0_assign_conditional#5107071401315365445.4f3bcdea44343998d43cc1b04e1ee179_2" ; +"div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_1" [label="1: Start div0_choose_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 33, column 1]\n " color=yellow style=filled] - "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_4" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_9" ; -"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_5" [label="5: Prune (true branch, boolean exp) \n n$2=*&a:int [line 24, column 4]\n PRUNE(n$2, true); [line 24, column 4]\n " shape="invhouse"] + "div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_1" -> "div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_3" ; +"div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_2" [label="2: Exit div0_choose_lvalue \n " color=yellow style=filled] - "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_5" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_7" ; -"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_6" [label="6: Prune (false branch, boolean exp) \n n$2=*&a:int [line 24, column 4]\n PRUNE(!n$2, false); [line 24, column 4]\n " shape="invhouse"] +"div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_3" [label="3: Return Stmt \n n$0=_fun_choose_lvalue(1:int) [line 33, column 39]\n *&return:int=(1 / n$0) [line 33, column 28]\n " shape="box"] - "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_6" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_8" ; -"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int&=&v1 [line 24, column 4]\n " shape="box"] + "div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_3" -> "div0_choose_lvalue#13889289797749672490.33434dbd9bc43b011249899260680670_2" ; +"div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_1" [label="1: Start div0_choose_rvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 37, column 1]\n " color=yellow style=filled] - "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_7" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_4" ; -"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int&=&v2 [line 24, column 4]\n " shape="box"] + "div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_1" -> "div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_3" ; +"div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_2" [label="2: Exit div0_choose_rvalue \n " color=yellow style=filled] - "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_8" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_4" ; -"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_9" [label="9: BinaryOperatorStmt: Assign \n n$3=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int& [line 24, column 4]\n *n$3:int=1 [line 24, column 3]\n " shape="box"] +"div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_3" [label="3: Return Stmt \n n$0=_fun_choose_rvalue(1:int) [line 37, column 39]\n *&return:int=(1 / n$0) [line 37, column 28]\n " shape="box"] - "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_9" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_3" ; -"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_10" [label="10: DeclStmt \n *&v2:int=0 [line 23, column 3]\n " shape="box"] + "div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_3" -> "div0_choose_rvalue#5985399689822936660.67f1213862b68d51bd848ce28d6859ec_2" ; +"div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_1" [label="1: Start div0_temp_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 45, column 1]\n " color=yellow style=filled] - "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_10" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_5" ; - "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_10" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_6" ; -"assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_11" [label="11: DeclStmt \n *&v1:int=0 [line 23, column 3]\n " shape="box"] + "div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_1" -> "div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_3" ; +"div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_2" [label="2: Exit div0_temp_lvalue \n " color=yellow style=filled] - "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_11" -> "assign_conditional#6602154438630029026.d4adbdaf8d08f61e93de4faf3d45d8ab_10" ; +"div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_3" [label="3: Return Stmt \n n$0=_fun_div_temp_lvalue(1:int,0:int) [line 45, column 33]\n *&return:int=n$0 [line 45, column 26]\n " shape="box"] + + + "div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_3" -> "div0_temp_lvalue#4236327814744405863.1539dbb4efb081b38036309be4c65715_2" ; +"div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_1" [label="1: Start div1_assign_conditional\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 43, column 1]\n " color=yellow style=filled] + + + "div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_1" -> "div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_3" ; +"div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_2" [label="2: Exit div1_assign_conditional \n " color=yellow style=filled] + + +"div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_3" [label="3: Return Stmt \n n$0=_fun_assign_conditional(1:int) [line 43, column 44]\n *&return:int=(1 / n$0) [line 43, column 33]\n " shape="box"] + + + "div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_3" -> "div1_assign_conditional#703756229606178162.2f3187315131c9e8e31a0380708ebcbb_2" ; +"div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_1" [label="1: Start div1_choose_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 35, column 1]\n " color=yellow style=filled] + + + "div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_1" -> "div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_3" ; +"div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_2" [label="2: Exit div1_choose_lvalue \n " color=yellow style=filled] + + +"div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_3" [label="3: Return Stmt \n n$0=_fun_choose_lvalue(0:int) [line 35, column 39]\n *&return:int=(1 / n$0) [line 35, column 28]\n " shape="box"] + + + "div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_3" -> "div1_choose_lvalue#17507024914646798803.f2ba997f0baf8ee3dada0c7b0947cb8d_2" ; +"div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_1" [label="1: Start div1_choose_rvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 39, column 1]\n " color=yellow style=filled] + + + "div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_1" -> "div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_3" ; +"div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_2" [label="2: Exit div1_choose_rvalue \n " color=yellow style=filled] + + +"div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_3" [label="3: Return Stmt \n n$0=_fun_choose_rvalue(0:int) [line 39, column 39]\n *&return:int=(1 / n$0) [line 39, column 28]\n " shape="box"] + + + "div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_3" -> "div1_choose_rvalue#2897979603329583409.ca29e44a33271dfb3905f48a478bcf9c_2" ; +"div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_1" [label="1: Start div1_temp_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 47, column 1]\n " color=yellow style=filled] + + + "div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_1" -> "div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_3" ; +"div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_2" [label="2: Exit div1_temp_lvalue \n " color=yellow style=filled] + + +"div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_3" [label="3: Return Stmt \n n$0=_fun_div_temp_lvalue(0:int,1:int) [line 47, column 33]\n *&return:int=n$0 [line 47, column 26]\n " shape="box"] + + + "div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_3" -> "div1_temp_lvalue#14722162998333319062.760b52102ce508c3244378cf1bf06b6d_2" ; "div_temp_lvalue#2433393879580018854.ddda47c9e217adc2189e8c150a553f53_1" [label="1: Start div_temp_lvalue\nFormals: a:int b:int\nLocals: r:int const & 0$?%__sil_tmpSIL_temp_conditional___n$3:int 0$?%__sil_tmpSIL_materialize_temp__n$2:int \n DECLARE_LOCALS(&return,&r,&0$?%__sil_tmpSIL_temp_conditional___n$3,&0$?%__sil_tmpSIL_materialize_temp__n$2); [line 28, column 1]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_array.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_array.cpp.dot index ec12a0291..0decac13c 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_array.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_array.cpp.dot @@ -15,21 +15,6 @@ digraph cfg { "array_of_person#7945672701495610995.0fecf6778237d47d15191cac7fab514c_4" -> "array_of_person#7945672701495610995.0fecf6778237d47d15191cac7fab514c_3" ; -"matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_1" [label="1: Start matrix_of_person\nFormals: \nLocals: arr:Person[2*4][2*8] 0$?%__sil_tmpSIL_materialize_temp__n$1:Person 0$?%__sil_tmpSIL_materialize_temp__n$2:Person 0$?%__sil_tmpSIL_materialize_temp__n$3:Person 0$?%__sil_tmpSIL_materialize_temp__n$4:Person \n DECLARE_LOCALS(&return,&arr,&0$?%__sil_tmpSIL_materialize_temp__n$1,&0$?%__sil_tmpSIL_materialize_temp__n$2,&0$?%__sil_tmpSIL_materialize_temp__n$3,&0$?%__sil_tmpSIL_materialize_temp__n$4); [line 22, column 1]\n " color=yellow style=filled] - - - "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_1" -> "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_4" ; -"matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_2" [label="2: Exit matrix_of_person \n " color=yellow style=filled] - - -"matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_3" [label="3: Return Stmt \n n$0=*&arr[0][1].x:int [line 24, column 10]\n *&return:int=n$0 [line 24, column 3]\n " shape="box"] - - - "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_3" -> "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_2" ; -"matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_4" [label="4: DeclStmt \n _fun_Person_Person(&0$?%__sil_tmpSIL_materialize_temp__n$1:Person*) [line 23, column 23]\n _fun_Person_Person(&arr[0][0]:Person*,&0$?%__sil_tmpSIL_materialize_temp__n$1:Person&) [line 23, column 23]\n _fun_Person_Person(&0$?%__sil_tmpSIL_materialize_temp__n$2:Person*) [line 23, column 33]\n _fun_Person_Person(&arr[0][1]:Person*,&0$?%__sil_tmpSIL_materialize_temp__n$2:Person&) [line 23, column 33]\n _fun_Person_Person(&0$?%__sil_tmpSIL_materialize_temp__n$3:Person*) [line 23, column 43]\n _fun_Person_Person(&arr[1][0]:Person*,&0$?%__sil_tmpSIL_materialize_temp__n$3:Person&) [line 23, column 43]\n _fun_Person_Person(&0$?%__sil_tmpSIL_materialize_temp__n$4:Person*) [line 23, column 53]\n _fun_Person_Person(&arr[1][1]:Person*,&0$?%__sil_tmpSIL_materialize_temp__n$4:Person&) [line 23, column 53]\n " shape="box"] - - - "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_4" -> "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_3" ; "initialization_c_style#16495589501342328206.0d90448020e72c05f693b9221dac03f8_1" [label="1: Start initialization_c_style\nFormals: \nLocals: z2:Z z:Z[2*8] \n DECLARE_LOCALS(&return,&z2,&z); [line 32, column 1]\n " color=yellow style=filled] @@ -64,24 +49,28 @@ digraph cfg { "initialization_mixed_styles_not_handled_correctly#5603413470418470631.422782850043f1b48105fbbb47efe379_5" -> "initialization_mixed_styles_not_handled_correctly#5603413470418470631.422782850043f1b48105fbbb47efe379_4" ; -"Person#Person#{13294141311747224102}.29587c0ac2200b59d0b19a07fdc656e5_1" [label="1: Start Person_Person\nFormals: this:Person*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] +"matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_1" [label="1: Start matrix_of_person\nFormals: \nLocals: arr:Person[2*4][2*8] 0$?%__sil_tmpSIL_materialize_temp__n$1:Person 0$?%__sil_tmpSIL_materialize_temp__n$2:Person 0$?%__sil_tmpSIL_materialize_temp__n$3:Person 0$?%__sil_tmpSIL_materialize_temp__n$4:Person \n DECLARE_LOCALS(&return,&arr,&0$?%__sil_tmpSIL_materialize_temp__n$1,&0$?%__sil_tmpSIL_materialize_temp__n$2,&0$?%__sil_tmpSIL_materialize_temp__n$3,&0$?%__sil_tmpSIL_materialize_temp__n$4); [line 22, column 1]\n " color=yellow style=filled] - "Person#Person#{13294141311747224102}.29587c0ac2200b59d0b19a07fdc656e5_1" -> "Person#Person#{13294141311747224102}.29587c0ac2200b59d0b19a07fdc656e5_2" ; -"Person#Person#{13294141311747224102}.29587c0ac2200b59d0b19a07fdc656e5_2" [label="2: Exit Person_Person \n " color=yellow style=filled] + "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_1" -> "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_4" ; +"matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_2" [label="2: Exit matrix_of_person \n " color=yellow style=filled] -"Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_1" [label="1: Start Person_Person\nFormals: this:Person* __param_0:Person&\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 7]\n " color=yellow style=filled] +"matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_3" [label="3: Return Stmt \n n$0=*&arr[0][1].x:int [line 24, column 10]\n *&return:int=n$0 [line 24, column 3]\n " shape="box"] - "Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_1" -> "Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_3" ; -"Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_2" [label="2: Exit Person_Person \n " color=yellow style=filled] + "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_3" -> "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_2" ; +"matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_4" [label="4: DeclStmt \n _fun_Person_Person(&0$?%__sil_tmpSIL_materialize_temp__n$1:Person*) [line 23, column 23]\n _fun_Person_Person(&arr[0][0]:Person*,&0$?%__sil_tmpSIL_materialize_temp__n$1:Person&) [line 23, column 23]\n _fun_Person_Person(&0$?%__sil_tmpSIL_materialize_temp__n$2:Person*) [line 23, column 33]\n _fun_Person_Person(&arr[0][1]:Person*,&0$?%__sil_tmpSIL_materialize_temp__n$2:Person&) [line 23, column 33]\n _fun_Person_Person(&0$?%__sil_tmpSIL_materialize_temp__n$3:Person*) [line 23, column 43]\n _fun_Person_Person(&arr[1][0]:Person*,&0$?%__sil_tmpSIL_materialize_temp__n$3:Person&) [line 23, column 43]\n _fun_Person_Person(&0$?%__sil_tmpSIL_materialize_temp__n$4:Person*) [line 23, column 53]\n _fun_Person_Person(&arr[1][1]:Person*,&0$?%__sil_tmpSIL_materialize_temp__n$4:Person&) [line 23, column 53]\n " shape="box"] -"Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_3" [label="3: Constructor Init \n n$0=*&this:Person* [line 10, column 7]\n n$1=*&__param_0:Person& [line 10, column 7]\n n$2=*n$1.x:int [line 10, column 7]\n *n$0.x:int=n$2 [line 10, column 7]\n " shape="box"] + "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_4" -> "matrix_of_person#2881910427017022824.27f7f148c4911c13b3061cef6fe2673d_3" ; +"Person#Person#{13294141311747224102}.29587c0ac2200b59d0b19a07fdc656e5_1" [label="1: Start Person_Person\nFormals: this:Person*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] + + + "Person#Person#{13294141311747224102}.29587c0ac2200b59d0b19a07fdc656e5_1" -> "Person#Person#{13294141311747224102}.29587c0ac2200b59d0b19a07fdc656e5_2" ; +"Person#Person#{13294141311747224102}.29587c0ac2200b59d0b19a07fdc656e5_2" [label="2: Exit Person_Person \n " color=yellow style=filled] - "Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_3" -> "Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_2" ; "Person#Person#{13294170998561185799}.33e91269ce59e5b361de941ed03c6643_1" [label="1: Start Person_Person\nFormals: this:Person* i:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] @@ -93,6 +82,17 @@ digraph cfg { "Person#Person#{13294170998561185799}.33e91269ce59e5b361de941ed03c6643_3" -> "Person#Person#{13294170998561185799}.33e91269ce59e5b361de941ed03c6643_2" ; +"Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_1" [label="1: Start Person_Person\nFormals: this:Person* __param_0:Person&\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 7]\n " color=yellow style=filled] + + + "Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_1" -> "Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_3" ; +"Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_2" [label="2: Exit Person_Person \n " color=yellow style=filled] + + +"Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_3" [label="3: Constructor Init \n n$0=*&this:Person* [line 10, column 7]\n n$1=*&__param_0:Person& [line 10, column 7]\n n$2=*n$1.x:int [line 10, column 7]\n *n$0.x:int=n$2 [line 10, column 7]\n " shape="box"] + + + "Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_3" -> "Person#Person#{14928211719836437323|constexpr}.702b3fbc6c128973c192111cbb802edd_2" ; "Z#Z#{733480695536199502}.d7175b729ebcbd1d5a54386c5c573d33_1" [label="1: Start Z_Z\nFormals: this:Z*\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 8]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_default_arg.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_default_arg.cpp.dot index 644968ad8..a59d464ad 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_default_arg.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_default_arg.cpp.dot @@ -19,26 +19,26 @@ digraph cfg { "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_5" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" ; -"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_1" [label="1: Start X_div\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 3]\n " color=yellow style=filled] +"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_1" [label="1: Start X_X\nFormals: this:X* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] - "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_1" -> "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" ; -"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_2" [label="2: Exit X_div \n " color=yellow style=filled] + "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_1" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" ; +"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_2" [label="2: Exit X_X \n " color=yellow style=filled] -"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" [label="3: Return Stmt \n n$0=*&this:X* [line 15, column 26]\n n$1=*n$0.f:int [line 15, column 26]\n *&return:int=(1 / n$1) [line 15, column 15]\n " shape="box"] +"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:X* [line 18, column 22]\n n$1=*&a:int [line 18, column 26]\n n$2=*&b:int [line 18, column 30]\n *n$0.f:int=(n$1 + n$2) [line 18, column 22]\n " shape="box"] - "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" -> "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_2" ; -"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_1" [label="1: Start X_X\nFormals: this:X* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] + "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_2" ; +"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_1" [label="1: Start X_div\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 3]\n " color=yellow style=filled] - "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_1" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" ; -"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_2" [label="2: Exit X_X \n " color=yellow style=filled] + "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_1" -> "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" ; +"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_2" [label="2: Exit X_div \n " color=yellow style=filled] -"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:X* [line 18, column 22]\n n$1=*&a:int [line 18, column 26]\n n$2=*&b:int [line 18, column 30]\n *n$0.f:int=(n$1 + n$2) [line 18, column 22]\n " shape="box"] +"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" [label="3: Return Stmt \n n$0=*&this:X* [line 15, column 26]\n n$1=*n$0.f:int [line 15, column 26]\n *&return:int=(1 / n$1) [line 15, column 15]\n " shape="box"] - "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_2" ; + "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" -> "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_init.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_init.cpp.dot index 989b5f589..60db64bc9 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_init.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_init.cpp.dot @@ -1,50 +1,24 @@ /* @generated */ digraph cfg { -"f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_1" [label="1: Start f2_div0\nFormals: \nLocals: b:B \n DECLARE_LOCALS(&return,&b); [line 27, column 1]\n " color=yellow style=filled] - - - "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_1" -> "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_4" ; -"f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_2" [label="2: Exit f2_div0 \n " color=yellow style=filled] - - -"f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_3" [label="3: Return Stmt \n n$0=*&b.f2:int [line 29, column 14]\n *&return:int=(1 / n$0) [line 29, column 3]\n _=*&b:B [line 29, column 16]\n _fun_B_~B(&b:B*) [line 29, column 16]\n " shape="box"] - - - "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_3" -> "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_2" ; -"f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_4" [label="4: DeclStmt \n _fun_B_B(&b:B*,0:int) [line 28, column 5]\n " shape="box"] - - - "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_4" -> "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_3" ; -"f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_1" [label="1: Start f_div0\nFormals: \nLocals: b:B \n DECLARE_LOCALS(&return,&b); [line 32, column 1]\n " color=yellow style=filled] - - - "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_1" -> "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_4" ; -"f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_2" [label="2: Exit f_div0 \n " color=yellow style=filled] - - -"f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_3" [label="3: Return Stmt \n n$0=*&b.f:int [line 34, column 14]\n *&return:int=(1 / n$0) [line 34, column 3]\n _=*&b:B [line 34, column 16]\n _fun_B_~B(&b:B*) [line 34, column 16]\n " shape="box"] - - - "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_3" -> "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_2" ; -"f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_4" [label="4: DeclStmt \n _fun_B_B(&b:B*,0:int) [line 33, column 5]\n " shape="box"] +"delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_1" [label="1: Start delegate_constr_f2_div0\nFormals: \nLocals: v:int b:B \n DECLARE_LOCALS(&return,&v,&b); [line 48, column 1]\n " color=yellow style=filled] - "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_4" -> "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_3" ; -"t_div0#3531430030893775324.a762c245df414e083e61674c93898055_1" [label="1: Start t_div0\nFormals: \nLocals: b:B \n DECLARE_LOCALS(&return,&b); [line 37, column 1]\n " color=yellow style=filled] + "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_1" -> "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_5" ; +"delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_2" [label="2: Exit delegate_constr_f2_div0 \n " color=yellow style=filled] - "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_1" -> "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_4" ; -"t_div0#3531430030893775324.a762c245df414e083e61674c93898055_2" [label="2: Exit t_div0 \n " color=yellow style=filled] +"delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_3" [label="3: Return Stmt \n n$0=*&b.f2:int [line 51, column 14]\n *&return:int=(1 / n$0) [line 51, column 3]\n _=*&b:B [line 51, column 16]\n _fun_B_~B(&b:B*) [line 51, column 16]\n " shape="box"] -"t_div0#3531430030893775324.a762c245df414e083e61674c93898055_3" [label="3: Return Stmt \n n$0=*&b.t.v:int [line 39, column 14]\n *&return:int=(1 / n$0) [line 39, column 3]\n _=*&b:B [line 39, column 18]\n _fun_B_~B(&b:B*) [line 39, column 18]\n " shape="box"] + "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_3" -> "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_2" ; +"delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_4" [label="4: DeclStmt \n n$2=*&b.f:int [line 50, column 15]\n *&v:int=(1 / n$2) [line 50, column 3]\n " shape="box"] - "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_3" -> "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_2" ; -"t_div0#3531430030893775324.a762c245df414e083e61674c93898055_4" [label="4: DeclStmt \n _fun_B_B(&b:B*,0:int) [line 38, column 5]\n " shape="box"] + "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_4" -> "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_3" ; +"delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_5" [label="5: DeclStmt \n _fun_B_B(&b:B*,-1:int,0:int) [line 49, column 5]\n " shape="box"] - "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_4" -> "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_3" ; + "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_5" -> "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_4" ; "delegate_constr_f_div0#5612932889167727636.f7eff0d7a58a3e6a6faddf562531b7f4_1" [label="1: Start delegate_constr_f_div0\nFormals: \nLocals: v:int b:B \n DECLARE_LOCALS(&return,&v,&b); [line 42, column 1]\n " color=yellow style=filled] @@ -64,25 +38,36 @@ digraph cfg { "delegate_constr_f_div0#5612932889167727636.f7eff0d7a58a3e6a6faddf562531b7f4_5" -> "delegate_constr_f_div0#5612932889167727636.f7eff0d7a58a3e6a6faddf562531b7f4_4" ; -"delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_1" [label="1: Start delegate_constr_f2_div0\nFormals: \nLocals: v:int b:B \n DECLARE_LOCALS(&return,&v,&b); [line 48, column 1]\n " color=yellow style=filled] +"f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_1" [label="1: Start f2_div0\nFormals: \nLocals: b:B \n DECLARE_LOCALS(&return,&b); [line 27, column 1]\n " color=yellow style=filled] - "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_1" -> "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_5" ; -"delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_2" [label="2: Exit delegate_constr_f2_div0 \n " color=yellow style=filled] + "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_1" -> "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_4" ; +"f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_2" [label="2: Exit f2_div0 \n " color=yellow style=filled] -"delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_3" [label="3: Return Stmt \n n$0=*&b.f2:int [line 51, column 14]\n *&return:int=(1 / n$0) [line 51, column 3]\n _=*&b:B [line 51, column 16]\n _fun_B_~B(&b:B*) [line 51, column 16]\n " shape="box"] +"f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_3" [label="3: Return Stmt \n n$0=*&b.f2:int [line 29, column 14]\n *&return:int=(1 / n$0) [line 29, column 3]\n _=*&b:B [line 29, column 16]\n _fun_B_~B(&b:B*) [line 29, column 16]\n " shape="box"] - "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_3" -> "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_2" ; -"delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_4" [label="4: DeclStmt \n n$2=*&b.f:int [line 50, column 15]\n *&v:int=(1 / n$2) [line 50, column 3]\n " shape="box"] + "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_3" -> "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_2" ; +"f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_4" [label="4: DeclStmt \n _fun_B_B(&b:B*,0:int) [line 28, column 5]\n " shape="box"] - "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_4" -> "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_3" ; -"delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_5" [label="5: DeclStmt \n _fun_B_B(&b:B*,-1:int,0:int) [line 49, column 5]\n " shape="box"] + "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_4" -> "f2_div0#7534053771484990951.dd0b0233a011b5600e68aef2c840bcef_3" ; +"f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_1" [label="1: Start f_div0\nFormals: \nLocals: b:B \n DECLARE_LOCALS(&return,&b); [line 32, column 1]\n " color=yellow style=filled] - "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_5" -> "delegate_constr_f2_div0#13553474688240246893.0ce7e6b119d9277f847a079378cf30a1_4" ; + "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_1" -> "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_4" ; +"f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_2" [label="2: Exit f_div0 \n " color=yellow style=filled] + + +"f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_3" [label="3: Return Stmt \n n$0=*&b.f:int [line 34, column 14]\n *&return:int=(1 / n$0) [line 34, column 3]\n _=*&b:B [line 34, column 16]\n _fun_B_~B(&b:B*) [line 34, column 16]\n " shape="box"] + + + "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_3" -> "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_2" ; +"f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_4" [label="4: DeclStmt \n _fun_B_B(&b:B*,0:int) [line 33, column 5]\n " shape="box"] + + + "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_4" -> "f_div0#425664895438337450.ac4424ba5cea731e26a9fe2fb1b0b687_3" ; "f_f2_div1#1916649103065485619.7e2fb5eeaa415affd6bdd86573d188de_1" [label="1: Start f_f2_div1\nFormals: \nLocals: v3:int v2:int v:int b:B \n DECLARE_LOCALS(&return,&v3,&v2,&v,&b); [line 54, column 1]\n " color=yellow style=filled] @@ -110,6 +95,21 @@ digraph cfg { "f_f2_div1#1916649103065485619.7e2fb5eeaa415affd6bdd86573d188de_7" -> "f_f2_div1#1916649103065485619.7e2fb5eeaa415affd6bdd86573d188de_6" ; +"t_div0#3531430030893775324.a762c245df414e083e61674c93898055_1" [label="1: Start t_div0\nFormals: \nLocals: b:B \n DECLARE_LOCALS(&return,&b); [line 37, column 1]\n " color=yellow style=filled] + + + "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_1" -> "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_4" ; +"t_div0#3531430030893775324.a762c245df414e083e61674c93898055_2" [label="2: Exit t_div0 \n " color=yellow style=filled] + + +"t_div0#3531430030893775324.a762c245df414e083e61674c93898055_3" [label="3: Return Stmt \n n$0=*&b.t.v:int [line 39, column 14]\n *&return:int=(1 / n$0) [line 39, column 3]\n _=*&b:B [line 39, column 18]\n _fun_B_~B(&b:B*) [line 39, column 18]\n " shape="box"] + + + "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_3" -> "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_2" ; +"t_div0#3531430030893775324.a762c245df414e083e61674c93898055_4" [label="4: DeclStmt \n _fun_B_B(&b:B*,0:int) [line 38, column 5]\n " shape="box"] + + + "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_4" -> "t_div0#3531430030893775324.a762c245df414e083e61674c93898055_3" ; "A#A#{14779048587651412014}.4ba2c6594c8960564bedc7b6cbdf6ae0_1" [label="1: Start A_A\nFormals: this:A* f:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_new.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_new.cpp.dot index 0c1dbd2dd..fab22fba6 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_new.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_new.cpp.dot @@ -1,158 +1,82 @@ /* @generated */ digraph cfg { -"constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_1" [label="1: Start constructor_new::constructor_1_arg_new_div0\nFormals: \nLocals: p:constructor_new::Person* \n DECLARE_LOCALS(&return,&p); [line 29, column 1]\n " color=yellow style=filled] - - - "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_1" -> "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_4" ; -"constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_2" [label="2: Exit constructor_new::constructor_1_arg_new_div0 \n " color=yellow style=filled] - - -"constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_3" [label="3: Return Stmt \n n$0=*&p:constructor_new::Person* [line 31, column 15]\n n$1=*n$0.x:int [line 31, column 15]\n *&return:int=(1 / (n$1 - 5)) [line 31, column 3]\n " shape="box"] - - - "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_3" -> "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_2" ; -"constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=constructor_new::Person):unsigned long) [line 30, column 15]\n _fun_constructor_new::Person_Person(n$2:constructor_new::Person*,5:int) [line 30, column 19]\n *&p:constructor_new::Person*=n$2 [line 30, column 3]\n " shape="box"] - - - "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_4" -> "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_3" ; -"constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_1" [label="1: Start constructor_new::constructor_3_args_new_div0\nFormals: \nLocals: p:constructor_new::Person* \n DECLARE_LOCALS(&return,&p); [line 34, column 1]\n " color=yellow style=filled] - - - "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_1" -> "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_4" ; -"constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_2" [label="2: Exit constructor_new::constructor_3_args_new_div0 \n " color=yellow style=filled] - - -"constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_3" [label="3: Return Stmt \n n$0=*&p:constructor_new::Person* [line 36, column 15]\n n$1=*n$0.z:int [line 36, column 15]\n *&return:int=(1 / (n$1 - 7)) [line 36, column 3]\n " shape="box"] - - - "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_3" -> "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_2" ; -"constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=constructor_new::Person):unsigned long) [line 35, column 15]\n _fun_constructor_new::Person_Person(n$2:constructor_new::Person*,5:int,6:int,7:int) [line 35, column 19]\n *&p:constructor_new::Person*=n$2 [line 35, column 3]\n " shape="box"] - - - "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_4" -> "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_3" ; -"int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_1" [label="1: Start constructor_new::int_init_number\nFormals: \nLocals: x1:int* \n DECLARE_LOCALS(&return,&x1); [line 39, column 1]\n " color=yellow style=filled] - - - "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_1" -> "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_4" ; -"int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_2" [label="2: Exit constructor_new::int_init_number \n " color=yellow style=filled] - - -"int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_3" [label="3: Return Stmt \n n$0=*&x1:int* [line 41, column 16]\n n$1=*n$0:int [line 41, column 15]\n *&return:int=(1 / (n$1 - 5)) [line 41, column 3]\n " shape="box"] - - - "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_3" -> "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_2" ; -"int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=int):unsigned long) [line 40, column 13]\n *n$2:int=5 [line 40, column 13]\n *&x1:int*=n$2 [line 40, column 3]\n " shape="box"] - - - "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_4" -> "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_3" ; -"float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_1" [label="1: Start constructor_new::float_init_number\nFormals: \nLocals: x1:float* \n DECLARE_LOCALS(&return,&x1); [line 44, column 1]\n " color=yellow style=filled] - - - "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_1" -> "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_4" ; -"float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_2" [label="2: Exit constructor_new::float_init_number \n " color=yellow style=filled] - - -"float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_3" [label="3: Return Stmt \n n$0=*&x1:float* [line 46, column 16]\n n$1=*n$0:float [line 46, column 15]\n *&return:float=(1 / (n$1 - 5.400000)) [line 46, column 3]\n " shape="box"] - - - "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_3" -> "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_2" ; -"float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=float):unsigned long) [line 45, column 15]\n *n$2:float=5.400000 [line 45, column 15]\n *&x1:float*=n$2 [line 45, column 3]\n " shape="box"] - - - "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_4" -> "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_3" ; -"int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_1" [label="1: Start constructor_new::int_init_empty\nFormals: \nLocals: x1:int* \n DECLARE_LOCALS(&return,&x1); [line 49, column 1]\n " color=yellow style=filled] - - - "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_1" -> "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_4" ; -"int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_2" [label="2: Exit constructor_new::int_init_empty \n " color=yellow style=filled] - - -"int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_3" [label="3: Return Stmt \n n$0=*&x1:int* [line 51, column 15]\n n$1=*n$0:int [line 51, column 14]\n *&return:int=(1 / n$1) [line 51, column 3]\n " shape="box"] - - - "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_3" -> "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_2" ; -"int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=int):unsigned long) [line 50, column 13]\n *n$2:int=0 [line 50, column 21]\n *&x1:int*=n$2 [line 50, column 3]\n " shape="box"] - - - "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_4" -> "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_3" ; -"int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_1" [label="1: Start constructor_new::int_init_empty_list\nFormals: \nLocals: x1:int \n DECLARE_LOCALS(&return,&x1); [line 54, column 1]\n " color=yellow style=filled] +"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_1" [label="1: Start constructor_new::array_of_class_with_not_constant_size\nFormals: \nLocals: tarray:constructor_new::Person* 0$?%__sil_tmpSIL_temp_conditional___n$0:int \n DECLARE_LOCALS(&return,&tarray,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 90, column 1]\n " color=yellow style=filled] - "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_1" -> "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_4" ; -"int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_2" [label="2: Exit constructor_new::int_init_empty_list \n " color=yellow style=filled] + "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_1" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_4" ; +"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_2" [label="2: Exit constructor_new::array_of_class_with_not_constant_size \n " color=yellow style=filled] -"int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_3" [label="3: Return Stmt \n n$0=*&x1:int [line 56, column 14]\n *&return:int=(1 / n$0) [line 56, column 3]\n " shape="box"] +"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_3" [label="3: + \n " ] - "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_3" -> "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_2" ; -"int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_4" [label="4: DeclStmt \n *&x1:int=0 [line 55, column 3]\n " shape="box"] + "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_3" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_9" ; +"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_4" [label="4: BinaryOperatorStmt: EQ \n n$1=_fun_constructor_new::getValue(5:int) [line 91, column 31]\n " shape="box"] - "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_4" -> "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_3" ; -"int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_1" [label="1: Start constructor_new::int_init_empty_list_new\nFormals: \nLocals: x1:int* \n DECLARE_LOCALS(&return,&x1); [line 59, column 1]\n " color=yellow style=filled] + "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_4" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_5" ; + "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_4" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_6" ; +"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_5" [label="5: Prune (true branch, boolean exp) \n PRUNE((n$1 == 5), true); [line 91, column 31]\n " shape="invhouse"] - "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_1" -> "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_4" ; -"int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_2" [label="2: Exit constructor_new::int_init_empty_list_new \n " color=yellow style=filled] + "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_5" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_7" ; +"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_6" [label="6: Prune (false branch, boolean exp) \n PRUNE(!(n$1 == 5), false); [line 91, column 31]\n " shape="invhouse"] -"int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_3" [label="3: Return Stmt \n n$0=*&x1:int* [line 61, column 15]\n n$1=*n$0:int [line 61, column 14]\n *&return:int=(1 / n$1) [line 61, column 3]\n " shape="box"] + "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_6" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_8" ; +"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=5 [line 91, column 31]\n " shape="box"] - "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_3" -> "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_2" ; -"int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=int):unsigned long) [line 60, column 13]\n *n$2:int=0 [line 60, column 13]\n *&x1:int*=n$2 [line 60, column 3]\n " shape="box"] + "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_7" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_3" ; +"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=3 [line 91, column 31]\n " shape="box"] - "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_4" -> "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_3" ; -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_1" [label="1: Start constructor_new::int_init_nodes\nFormals: \nLocals: x:int* 0$?%__sil_tmpSIL_temp_conditional___n$3:int y:int* z:int \n DECLARE_LOCALS(&return,&x,&0$?%__sil_tmpSIL_temp_conditional___n$3,&y,&z); [line 64, column 1]\n " color=yellow style=filled] + "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_8" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_3" ; +"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_9" [label="9: DeclStmt \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 91, column 31]\n n$3=_fun___new_array((sizeof(t=constructor_new::Person) * n$2):unsigned long) [line 91, column 20]\n *&tarray:constructor_new::Person*=n$3 [line 91, column 3]\n " shape="box"] - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_1" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_12" ; -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_2" [label="2: Exit constructor_new::int_init_nodes \n " color=yellow style=filled] + "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_9" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_2" ; +"array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_1" [label="1: Start constructor_new::array_of_person_with_constant_size\nFormals: \nLocals: tarray:constructor_new::Person* \n DECLARE_LOCALS(&return,&tarray); [line 95, column 1]\n " color=yellow style=filled] -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_3" [label="3: Return Stmt \n n$0=*&x:int* [line 68, column 16]\n n$1=*n$0:int [line 68, column 15]\n *&return:int=(1 / (n$1 - 5)) [line 68, column 3]\n " shape="box"] + "array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_1" -> "array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_3" ; +"array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_2" [label="2: Exit constructor_new::array_of_person_with_constant_size \n " color=yellow style=filled] - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_3" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_2" ; -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_4" [label="4: + \n " ] +"array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_3" [label="3: DeclStmt \n n$0=_fun___new_array((sizeof(t=constructor_new::Person) * 10):unsigned long) [line 95, column 62]\n _fun_constructor_new::Person_Person(n$0[0]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[1]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[2]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[3]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[4]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[5]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[6]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[7]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[8]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[9]:constructor_new::Person[_*_](*)) [line 95, column 66]\n *&tarray:constructor_new::Person*=n$0 [line 95, column 45]\n " shape="box"] - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_4" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_10" ; -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_5" [label="5: Call _fun_constructor_new::getValue \n n$4=_fun_constructor_new::getValue(0:int) [line 67, column 20]\n " shape="box"] + "array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_3" -> "array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_2" ; +"constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_1" [label="1: Start constructor_new::constructor_1_arg_new_div0\nFormals: \nLocals: p:constructor_new::Person* \n DECLARE_LOCALS(&return,&p); [line 29, column 1]\n " color=yellow style=filled] - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_5" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_6" ; - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_5" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_7" ; -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_6" [label="6: Prune (true branch, boolean exp) \n PRUNE(n$4, true); [line 67, column 20]\n " shape="invhouse"] + "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_1" -> "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_4" ; +"constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_2" [label="2: Exit constructor_new::constructor_1_arg_new_div0 \n " color=yellow style=filled] - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_6" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_8" ; -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_7" [label="7: Prune (false branch, boolean exp) \n PRUNE(!n$4, false); [line 67, column 20]\n " shape="invhouse"] +"constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_3" [label="3: Return Stmt \n n$0=*&p:constructor_new::Person* [line 31, column 15]\n n$1=*n$0.x:int [line 31, column 15]\n *&return:int=(1 / (n$1 - 5)) [line 31, column 3]\n " shape="box"] - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_7" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_9" ; -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_8" [label="8: ConditinalStmt Branch \n n$5=_fun_constructor_new::getValue(1:int) [line 67, column 34]\n *&0$?%__sil_tmpSIL_temp_conditional___n$3:int=n$5 [line 67, column 20]\n " shape="box"] + "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_3" -> "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_2" ; +"constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=constructor_new::Person):unsigned long) [line 30, column 15]\n _fun_constructor_new::Person_Person(n$2:constructor_new::Person*,5:int) [line 30, column 19]\n *&p:constructor_new::Person*=n$2 [line 30, column 3]\n " shape="box"] - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_8" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_4" ; -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_9" [label="9: ConditinalStmt Branch \n n$6=*&y:int* [line 67, column 53]\n n$7=*n$6:int [line 67, column 52]\n *&0$?%__sil_tmpSIL_temp_conditional___n$3:int=(1 + n$7) [line 67, column 20]\n " shape="box"] + "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_4" -> "constructor_1_arg_new_div0#constructor_new#798841234716809588.2c010a7c7293e961b9ed8149c3f3debe_3" ; +"constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_1" [label="1: Start constructor_new::constructor_3_args_new_div0\nFormals: \nLocals: p:constructor_new::Person* \n DECLARE_LOCALS(&return,&p); [line 34, column 1]\n " color=yellow style=filled] - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_9" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_4" ; -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_10" [label="10: DeclStmt \n n$2=_fun___new(sizeof(t=int):unsigned long) [line 67, column 12]\n n$8=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 67, column 20]\n *n$2:int=n$8 [line 67, column 12]\n *&x:int*=n$2 [line 67, column 3]\n " shape="box"] + "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_1" -> "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_4" ; +"constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_2" [label="2: Exit constructor_new::constructor_3_args_new_div0 \n " color=yellow style=filled] - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_10" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_3" ; -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_11" [label="11: DeclStmt \n n$9=_fun___new(sizeof(t=int):unsigned long) [line 66, column 12]\n n$10=_fun_constructor_new::getValue(4:int) [line 66, column 20]\n *n$9:int=n$10 [line 66, column 12]\n *&y:int*=n$9 [line 66, column 3]\n " shape="box"] +"constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_3" [label="3: Return Stmt \n n$0=*&p:constructor_new::Person* [line 36, column 15]\n n$1=*n$0.z:int [line 36, column 15]\n *&return:int=(1 / (n$1 - 7)) [line 36, column 3]\n " shape="box"] - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_11" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_5" ; -"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_12" [label="12: DeclStmt \n *&z:int=6 [line 65, column 3]\n " shape="box"] + "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_3" -> "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_2" ; +"constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=constructor_new::Person):unsigned long) [line 35, column 15]\n _fun_constructor_new::Person_Person(n$2:constructor_new::Person*,5:int,6:int,7:int) [line 35, column 19]\n *&p:constructor_new::Person*=n$2 [line 35, column 3]\n " shape="box"] - "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_12" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_11" ; + "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_4" -> "constructor_3_args_new_div0#constructor_new#13438839859480315932.2122014ebac449e6fb981ba75ba0617e_3" ; "constructor_nodes#constructor_new#2199504594298711726.73e416487288cbd4adea79b64a17dbe2_1" [label="1: Start constructor_new::constructor_nodes\nFormals: \nLocals: p:constructor_new::Person* 0$?%__sil_tmpSIL_temp_conditional___n$3:int z:int \n DECLARE_LOCALS(&return,&p,&0$?%__sil_tmpSIL_temp_conditional___n$3,&z); [line 71, column 1]\n " color=yellow style=filled] @@ -197,6 +121,32 @@ digraph cfg { "constructor_nodes#constructor_new#2199504594298711726.73e416487288cbd4adea79b64a17dbe2_11" -> "constructor_nodes#constructor_new#2199504594298711726.73e416487288cbd4adea79b64a17dbe2_5" ; +"float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_1" [label="1: Start constructor_new::float_init_number\nFormals: \nLocals: x1:float* \n DECLARE_LOCALS(&return,&x1); [line 44, column 1]\n " color=yellow style=filled] + + + "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_1" -> "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_4" ; +"float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_2" [label="2: Exit constructor_new::float_init_number \n " color=yellow style=filled] + + +"float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_3" [label="3: Return Stmt \n n$0=*&x1:float* [line 46, column 16]\n n$1=*n$0:float [line 46, column 15]\n *&return:float=(1 / (n$1 - 5.400000)) [line 46, column 3]\n " shape="box"] + + + "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_3" -> "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_2" ; +"float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=float):unsigned long) [line 45, column 15]\n *n$2:float=5.400000 [line 45, column 15]\n *&x1:float*=n$2 [line 45, column 3]\n " shape="box"] + + + "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_4" -> "float_init_number#constructor_new#3988440966025503299.b1d13528d0a983c1943c8fdd13e58be6_3" ; +"getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_1" [label="1: Start constructor_new::getValue\nFormals: x:int\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] + + + "getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_1" -> "getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_3" ; +"getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_2" [label="2: Exit constructor_new::getValue \n " color=yellow style=filled] + + +"getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_3" [label="3: Return Stmt \n n$0=*&x:int [line 27, column 30]\n *&return:int=n$0 [line 27, column 23]\n " shape="box"] + + + "getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_3" -> "getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_2" ; "int_array#constructor_new#17288301834361373856.f0e67f3600c928968ac2559eafa09ba2_1" [label="1: Start constructor_new::int_array\nFormals: \nLocals: x2:int* 0$?%__sil_tmpSIL_temp_conditional___n$6:int \n DECLARE_LOCALS(&return,&x2,&0$?%__sil_tmpSIL_temp_conditional___n$6); [line 77, column 1]\n " color=yellow style=filled] @@ -260,101 +210,129 @@ digraph cfg { "int_array_init#constructor_new#14099932616230884357.69a63438c3aee293029f068d373c29c3_4" -> "int_array_init#constructor_new#14099932616230884357.69a63438c3aee293029f068d373c29c3_3" ; -"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_1" [label="1: Start constructor_new::array_of_class_with_not_constant_size\nFormals: \nLocals: tarray:constructor_new::Person* 0$?%__sil_tmpSIL_temp_conditional___n$0:int \n DECLARE_LOCALS(&return,&tarray,&0$?%__sil_tmpSIL_temp_conditional___n$0); [line 90, column 1]\n " color=yellow style=filled] +"int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_1" [label="1: Start constructor_new::int_init_empty\nFormals: \nLocals: x1:int* \n DECLARE_LOCALS(&return,&x1); [line 49, column 1]\n " color=yellow style=filled] - "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_1" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_4" ; -"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_2" [label="2: Exit constructor_new::array_of_class_with_not_constant_size \n " color=yellow style=filled] + "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_1" -> "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_4" ; +"int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_2" [label="2: Exit constructor_new::int_init_empty \n " color=yellow style=filled] -"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_3" [label="3: + \n " ] +"int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_3" [label="3: Return Stmt \n n$0=*&x1:int* [line 51, column 15]\n n$1=*n$0:int [line 51, column 14]\n *&return:int=(1 / n$1) [line 51, column 3]\n " shape="box"] - "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_3" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_9" ; -"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_4" [label="4: BinaryOperatorStmt: EQ \n n$1=_fun_constructor_new::getValue(5:int) [line 91, column 31]\n " shape="box"] + "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_3" -> "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_2" ; +"int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=int):unsigned long) [line 50, column 13]\n *n$2:int=0 [line 50, column 21]\n *&x1:int*=n$2 [line 50, column 3]\n " shape="box"] - "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_4" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_5" ; - "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_4" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_6" ; -"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_5" [label="5: Prune (true branch, boolean exp) \n PRUNE((n$1 == 5), true); [line 91, column 31]\n " shape="invhouse"] + "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_4" -> "int_init_empty#constructor_new#15413029864213743197.d5b807871fe4ea10e898a381f0edef4d_3" ; +"int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_1" [label="1: Start constructor_new::int_init_empty_list\nFormals: \nLocals: x1:int \n DECLARE_LOCALS(&return,&x1); [line 54, column 1]\n " color=yellow style=filled] - "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_5" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_7" ; -"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_6" [label="6: Prune (false branch, boolean exp) \n PRUNE(!(n$1 == 5), false); [line 91, column 31]\n " shape="invhouse"] + "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_1" -> "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_4" ; +"int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_2" [label="2: Exit constructor_new::int_init_empty_list \n " color=yellow style=filled] - "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_6" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_8" ; -"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=5 [line 91, column 31]\n " shape="box"] +"int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_3" [label="3: Return Stmt \n n$0=*&x1:int [line 56, column 14]\n *&return:int=(1 / n$0) [line 56, column 3]\n " shape="box"] - "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_7" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_3" ; -"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:int=3 [line 91, column 31]\n " shape="box"] + "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_3" -> "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_2" ; +"int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_4" [label="4: DeclStmt \n *&x1:int=0 [line 55, column 3]\n " shape="box"] - "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_8" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_3" ; -"array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_9" [label="9: DeclStmt \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 91, column 31]\n n$3=_fun___new_array((sizeof(t=constructor_new::Person) * n$2):unsigned long) [line 91, column 20]\n *&tarray:constructor_new::Person*=n$3 [line 91, column 3]\n " shape="box"] + "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_4" -> "int_init_empty_list#constructor_new#3613770932207490177.2b4662eed1a13d3237e163f39bc6397c_3" ; +"int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_1" [label="1: Start constructor_new::int_init_empty_list_new\nFormals: \nLocals: x1:int* \n DECLARE_LOCALS(&return,&x1); [line 59, column 1]\n " color=yellow style=filled] - "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_9" -> "array_of_class_with_not_constant_size#constructor_new#9810665286379016302.453a7058d5d4d9a1fa36084713fcfc7d_2" ; -"array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_1" [label="1: Start constructor_new::array_of_person_with_constant_size\nFormals: \nLocals: tarray:constructor_new::Person* \n DECLARE_LOCALS(&return,&tarray); [line 95, column 1]\n " color=yellow style=filled] + "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_1" -> "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_4" ; +"int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_2" [label="2: Exit constructor_new::int_init_empty_list_new \n " color=yellow style=filled] - "array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_1" -> "array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_3" ; -"array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_2" [label="2: Exit constructor_new::array_of_person_with_constant_size \n " color=yellow style=filled] +"int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_3" [label="3: Return Stmt \n n$0=*&x1:int* [line 61, column 15]\n n$1=*n$0:int [line 61, column 14]\n *&return:int=(1 / n$1) [line 61, column 3]\n " shape="box"] -"array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_3" [label="3: DeclStmt \n n$0=_fun___new_array((sizeof(t=constructor_new::Person) * 10):unsigned long) [line 95, column 62]\n _fun_constructor_new::Person_Person(n$0[0]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[1]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[2]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[3]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[4]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[5]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[6]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[7]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[8]:constructor_new::Person[_*_](*)) [line 95, column 66]\n _fun_constructor_new::Person_Person(n$0[9]:constructor_new::Person[_*_](*)) [line 95, column 66]\n *&tarray:constructor_new::Person*=n$0 [line 95, column 45]\n " shape="box"] + "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_3" -> "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_2" ; +"int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=int):unsigned long) [line 60, column 13]\n *n$2:int=0 [line 60, column 13]\n *&x1:int*=n$2 [line 60, column 3]\n " shape="box"] - "array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_3" -> "array_of_person_with_constant_size#constructor_new#10198805942353567956.2cf0ba8d0780ec60bbcca4089ec2aee6_2" ; -"matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_1" [label="1: Start constructor_new::matrix_of_person\nFormals: \nLocals: tarray:constructor_new::Person** \n DECLARE_LOCALS(&return,&tarray); [line 98, column 1]\n " color=yellow style=filled] + "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_4" -> "int_init_empty_list_new#constructor_new#18093274870234850959.e77c2840901e6e789e52d55ac81db88f_3" ; +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_1" [label="1: Start constructor_new::int_init_nodes\nFormals: \nLocals: x:int* 0$?%__sil_tmpSIL_temp_conditional___n$3:int y:int* z:int \n DECLARE_LOCALS(&return,&x,&0$?%__sil_tmpSIL_temp_conditional___n$3,&y,&z); [line 64, column 1]\n " color=yellow style=filled] - "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_1" -> "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_4" ; -"matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_2" [label="2: Exit constructor_new::matrix_of_person \n " color=yellow style=filled] + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_1" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_12" ; +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_2" [label="2: Exit constructor_new::int_init_nodes \n " color=yellow style=filled] -"matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&tarray:constructor_new::Person** [line 100, column 3]\n n$1=_fun___new_array((sizeof(t=constructor_new::Person) * 10):unsigned long) [line 100, column 15]\n _fun_constructor_new::Person_Person(n$1[0]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[1]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[2]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[3]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[4]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[5]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[6]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[7]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[8]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[9]:constructor_new::Person[_*_](*)) [line 100, column 19]\n *n$0[0]:constructor_new::Person*=n$1 [line 100, column 3]\n " shape="box"] +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_3" [label="3: Return Stmt \n n$0=*&x:int* [line 68, column 16]\n n$1=*n$0:int [line 68, column 15]\n *&return:int=(1 / (n$1 - 5)) [line 68, column 3]\n " shape="box"] - "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_3" -> "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_2" ; -"matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_4" [label="4: DeclStmt \n n$2=_fun___new_array((sizeof(t=constructor_new::Person*) * 10):unsigned long) [line 99, column 21]\n *&tarray:constructor_new::Person**=n$2 [line 99, column 3]\n " shape="box"] + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_3" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_2" ; +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_4" [label="4: + \n " ] - "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_4" -> "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_3" ; -"getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_1" [label="1: Start constructor_new::getValue\nFormals: x:int\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_4" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_10" ; +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_5" [label="5: Call _fun_constructor_new::getValue \n n$4=_fun_constructor_new::getValue(0:int) [line 67, column 20]\n " shape="box"] - "getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_1" -> "getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_3" ; -"getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_2" [label="2: Exit constructor_new::getValue \n " color=yellow style=filled] + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_5" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_6" ; + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_5" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_7" ; +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_6" [label="6: Prune (true branch, boolean exp) \n PRUNE(n$4, true); [line 67, column 20]\n " shape="invhouse"] -"getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_3" [label="3: Return Stmt \n n$0=*&x:int [line 27, column 30]\n *&return:int=n$0 [line 27, column 23]\n " shape="box"] + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_6" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_8" ; +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_7" [label="7: Prune (false branch, boolean exp) \n PRUNE(!n$4, false); [line 67, column 20]\n " shape="invhouse"] - "getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_3" -> "getValue#constructor_new#15577065010748217440.6aa0942189125cc8fd36b278b0742cd2_2" ; -"Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_1" [label="1: Start constructor_new::Person_Person\nFormals: this:constructor_new::Person*\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_7" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_9" ; +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_8" [label="8: ConditinalStmt Branch \n n$5=_fun_constructor_new::getValue(1:int) [line 67, column 34]\n *&0$?%__sil_tmpSIL_temp_conditional___n$3:int=n$5 [line 67, column 20]\n " shape="box"] - "Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_1" -> "Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_3" ; -"Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_2" [label="2: Exit constructor_new::Person_Person \n " color=yellow style=filled] + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_8" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_4" ; +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_9" [label="9: ConditinalStmt Branch \n n$6=*&y:int* [line 67, column 53]\n n$7=*n$6:int [line 67, column 52]\n *&0$?%__sil_tmpSIL_temp_conditional___n$3:int=(1 + n$7) [line 67, column 20]\n " shape="box"] -"Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:constructor_new::Person* [line 14, column 14]\n *n$0.x:int=0 [line 14, column 14]\n " shape="box"] + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_9" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_4" ; +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_10" [label="10: DeclStmt \n n$2=_fun___new(sizeof(t=int):unsigned long) [line 67, column 12]\n n$8=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 67, column 20]\n *n$2:int=n$8 [line 67, column 12]\n *&x:int*=n$2 [line 67, column 3]\n " shape="box"] - "Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_3" -> "Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_2" ; -"Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_1" [label="1: Start constructor_new::Person_Person\nFormals: this:constructor_new::Person* i:int\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 3]\n " color=yellow style=filled] + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_10" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_3" ; +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_11" [label="11: DeclStmt \n n$9=_fun___new(sizeof(t=int):unsigned long) [line 66, column 12]\n n$10=_fun_constructor_new::getValue(4:int) [line 66, column 20]\n *n$9:int=n$10 [line 66, column 12]\n *&y:int*=n$9 [line 66, column 3]\n " shape="box"] - "Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_1" -> "Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_3" ; -"Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_2" [label="2: Exit constructor_new::Person_Person \n " color=yellow style=filled] + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_11" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_5" ; +"int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_12" [label="12: DeclStmt \n *&z:int=6 [line 65, column 3]\n " shape="box"] -"Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:constructor_new::Person* [line 15, column 19]\n n$1=*&i:int [line 15, column 23]\n *n$0.x:int=n$1 [line 15, column 19]\n " shape="box"] + "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_12" -> "int_init_nodes#constructor_new#3816193909145311065.e18f1e2417086b4c8d20246eeee5dd01_11" ; +"int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_1" [label="1: Start constructor_new::int_init_number\nFormals: \nLocals: x1:int* \n DECLARE_LOCALS(&return,&x1); [line 39, column 1]\n " color=yellow style=filled] - "Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_3" -> "Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_2" ; + "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_1" -> "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_4" ; +"int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_2" [label="2: Exit constructor_new::int_init_number \n " color=yellow style=filled] + + +"int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_3" [label="3: Return Stmt \n n$0=*&x1:int* [line 41, column 16]\n n$1=*n$0:int [line 41, column 15]\n *&return:int=(1 / (n$1 - 5)) [line 41, column 3]\n " shape="box"] + + + "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_3" -> "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_2" ; +"int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_4" [label="4: DeclStmt \n n$2=_fun___new(sizeof(t=int):unsigned long) [line 40, column 13]\n *n$2:int=5 [line 40, column 13]\n *&x1:int*=n$2 [line 40, column 3]\n " shape="box"] + + + "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_4" -> "int_init_number#constructor_new#16564762083428359974.2a1c04c2e924068dd02b097712efe518_3" ; +"matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_1" [label="1: Start constructor_new::matrix_of_person\nFormals: \nLocals: tarray:constructor_new::Person** \n DECLARE_LOCALS(&return,&tarray); [line 98, column 1]\n " color=yellow style=filled] + + + "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_1" -> "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_4" ; +"matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_2" [label="2: Exit constructor_new::matrix_of_person \n " color=yellow style=filled] + + +"matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&tarray:constructor_new::Person** [line 100, column 3]\n n$1=_fun___new_array((sizeof(t=constructor_new::Person) * 10):unsigned long) [line 100, column 15]\n _fun_constructor_new::Person_Person(n$1[0]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[1]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[2]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[3]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[4]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[5]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[6]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[7]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[8]:constructor_new::Person[_*_](*)) [line 100, column 19]\n _fun_constructor_new::Person_Person(n$1[9]:constructor_new::Person[_*_](*)) [line 100, column 19]\n *n$0[0]:constructor_new::Person*=n$1 [line 100, column 3]\n " shape="box"] + + + "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_3" -> "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_2" ; +"matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_4" [label="4: DeclStmt \n n$2=_fun___new_array((sizeof(t=constructor_new::Person*) * 10):unsigned long) [line 99, column 21]\n *&tarray:constructor_new::Person**=n$2 [line 99, column 3]\n " shape="box"] + + + "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_4" -> "matrix_of_person#constructor_new#930045482638918044.730172056e08027af32de0bd9a490291_3" ; "Person#Person#constructor_new#{426040185711945372}.912ffb8f00635c43cd7277cb4f7bd8a3_1" [label="1: Start constructor_new::Person_Person\nFormals: this:constructor_new::Person* i:int j:int k:int\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] @@ -374,4 +352,26 @@ digraph cfg { "Person#Person#constructor_new#{426040185711945372}.912ffb8f00635c43cd7277cb4f7bd8a3_5" -> "Person#Person#constructor_new#{426040185711945372}.912ffb8f00635c43cd7277cb4f7bd8a3_4" ; +"Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_1" [label="1: Start constructor_new::Person_Person\nFormals: this:constructor_new::Person* i:int\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 3]\n " color=yellow style=filled] + + + "Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_1" -> "Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_3" ; +"Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_2" [label="2: Exit constructor_new::Person_Person \n " color=yellow style=filled] + + +"Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:constructor_new::Person* [line 15, column 19]\n n$1=*&i:int [line 15, column 23]\n *n$0.x:int=n$1 [line 15, column 19]\n " shape="box"] + + + "Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_3" -> "Person#Person#constructor_new#{6016517870629270534}.75bb70b834543e18977cd4fa8f8022a7_2" ; +"Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_1" [label="1: Start constructor_new::Person_Person\nFormals: this:constructor_new::Person*\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] + + + "Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_1" -> "Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_3" ; +"Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_2" [label="2: Exit constructor_new::Person_Person \n " color=yellow style=filled] + + +"Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:constructor_new::Person* [line 14, column 14]\n *n$0.x:int=0 [line 14, column 14]\n " shape="box"] + + + "Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_3" -> "Person#Person#constructor_new#{6016547557443232231}.129098d47d79a7d06a2d6927fa32f467_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_with_body.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_with_body.cpp.dot index 3f6ffadd7..6b46fae7c 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_with_body.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_with_body.cpp.dot @@ -45,17 +45,6 @@ digraph cfg { "test_div1#constructor_with_body#14807027065269407206.e5673561e7edf9eb35b296211ab8d37d_4" -> "test_div1#constructor_with_body#14807027065269407206.e5673561e7edf9eb35b296211ab8d37d_3" ; -"init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_1" [label="1: Start constructor_with_body::X_init\nFormals: this:constructor_with_body::X*\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] - - - "init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_1" -> "init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_3" ; -"init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_2" [label="2: Exit constructor_with_body::X_init \n " color=yellow style=filled] - - -"init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:constructor_with_body::X* [line 14, column 17]\n *n$0.f:int=0 [line 14, column 17]\n " shape="box"] - - - "init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_3" -> "init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_2" ; "X#X#constructor_with_body#{16871729092574880817}.54f479ca84639d148c4b988a7530253a_1" [label="1: Start constructor_with_body::X_X\nFormals: this:constructor_with_body::X*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] @@ -67,17 +56,6 @@ digraph cfg { "X#X#constructor_with_body#{16871729092574880817}.54f479ca84639d148c4b988a7530253a_3" -> "X#X#constructor_with_body#{16871729092574880817}.54f479ca84639d148c4b988a7530253a_2" ; -"div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_1" [label="1: Start constructor_with_body::X_div\nFormals: this:constructor_with_body::X*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 3]\n " color=yellow style=filled] - - - "div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_1" -> "div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_3" ; -"div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_2" [label="2: Exit constructor_with_body::X_div \n " color=yellow style=filled] - - -"div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_3" [label="3: Return Stmt \n n$0=*&this:constructor_with_body::X* [line 21, column 26]\n n$1=*n$0.f:int [line 21, column 26]\n *&return:int=(1 / n$1) [line 21, column 15]\n " shape="box"] - - - "div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_3" -> "div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_2" ; "X#X#constructor_with_body#{7540788797581315247}.c8826e9323020557160f8002c0b802f2_1" [label="1: Start constructor_with_body::X_X\nFormals: this:constructor_with_body::X* a:int b:int\nLocals: c:int \n DECLARE_LOCALS(&return,&c); [line 24, column 1]\n " color=yellow style=filled] @@ -97,4 +75,26 @@ digraph cfg { "X#X#constructor_with_body#{7540788797581315247}.c8826e9323020557160f8002c0b802f2_5" -> "X#X#constructor_with_body#{7540788797581315247}.c8826e9323020557160f8002c0b802f2_4" ; +"div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_1" [label="1: Start constructor_with_body::X_div\nFormals: this:constructor_with_body::X*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 3]\n " color=yellow style=filled] + + + "div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_1" -> "div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_3" ; +"div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_2" [label="2: Exit constructor_with_body::X_div \n " color=yellow style=filled] + + +"div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_3" [label="3: Return Stmt \n n$0=*&this:constructor_with_body::X* [line 21, column 26]\n n$1=*n$0.f:int [line 21, column 26]\n *&return:int=(1 / n$1) [line 21, column 15]\n " shape="box"] + + + "div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_3" -> "div#X#constructor_with_body#(13588730973960944321).0be58d73703c72cf5bf8f7e2a36ecf60_2" ; +"init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_1" [label="1: Start constructor_with_body::X_init\nFormals: this:constructor_with_body::X*\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] + + + "init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_1" -> "init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_3" ; +"init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_2" [label="2: Exit constructor_with_body::X_init \n " color=yellow style=filled] + + +"init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:constructor_with_body::X* [line 14, column 17]\n *n$0.f:int=0 [line 14, column 17]\n " shape="box"] + + + "init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_3" -> "init#X#constructor_with_body#(11920920673411078151).40e39840a696bef95297e1afb2f57392_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/copy_array_field.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/copy_array_field.cpp.dot index 4adf3b70e..81445c4ac 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/copy_array_field.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/copy_array_field.cpp.dot @@ -1,28 +1,5 @@ /* @generated */ digraph cfg { -"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_1" [label="1: Start copy_array_field::npe\nFormals: \nLocals: x2:copy_array_field::X x1:copy_array_field::X \n DECLARE_LOCALS(&return,&x2,&x1); [line 15, column 1]\n " color=yellow style=filled] - - - "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_1" -> "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_6" ; -"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_2" [label="2: Exit copy_array_field::npe \n " color=yellow style=filled] - - -"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_3" [label="3: Return Stmt \n n$0=*&x2.p:int* [line 19, column 11]\n n$1=*n$0:int [line 19, column 10]\n *&return:int=n$1 [line 19, column 3]\n " shape="box"] - - - "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_3" -> "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_2" ; -"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_4" [label="4: DeclStmt \n _fun_copy_array_field::X_X(&x2:copy_array_field::X*,&x1:copy_array_field::X&) [line 18, column 10]\n " shape="box"] - - - "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_4" -> "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_3" ; -"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_5" [label="5: BinaryOperatorStmt: Assign \n *&x1.p:int*=null [line 17, column 3]\n " shape="box"] - - - "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_5" -> "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_4" ; -"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_6" [label="6: DeclStmt \n _fun_copy_array_field::X_X(&x1:copy_array_field::X*) [line 16, column 5]\n " shape="box"] - - - "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_6" -> "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_5" ; "no_npe#copy_array_field#15879390968573954131.8ea76552f08038187f112d283020a67e_1" [label="1: Start copy_array_field::no_npe\nFormals: \nLocals: x2:copy_array_field::X x1:copy_array_field::X a:int \n DECLARE_LOCALS(&return,&x2,&x1,&a); [line 22, column 1]\n " color=yellow style=filled] @@ -50,6 +27,29 @@ digraph cfg { "no_npe#copy_array_field#15879390968573954131.8ea76552f08038187f112d283020a67e_7" -> "no_npe#copy_array_field#15879390968573954131.8ea76552f08038187f112d283020a67e_6" ; +"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_1" [label="1: Start copy_array_field::npe\nFormals: \nLocals: x2:copy_array_field::X x1:copy_array_field::X \n DECLARE_LOCALS(&return,&x2,&x1); [line 15, column 1]\n " color=yellow style=filled] + + + "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_1" -> "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_6" ; +"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_2" [label="2: Exit copy_array_field::npe \n " color=yellow style=filled] + + +"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_3" [label="3: Return Stmt \n n$0=*&x2.p:int* [line 19, column 11]\n n$1=*n$0:int [line 19, column 10]\n *&return:int=n$1 [line 19, column 3]\n " shape="box"] + + + "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_3" -> "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_2" ; +"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_4" [label="4: DeclStmt \n _fun_copy_array_field::X_X(&x2:copy_array_field::X*,&x1:copy_array_field::X&) [line 18, column 10]\n " shape="box"] + + + "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_4" -> "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_3" ; +"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_5" [label="5: BinaryOperatorStmt: Assign \n *&x1.p:int*=null [line 17, column 3]\n " shape="box"] + + + "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_5" -> "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_4" ; +"npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_6" [label="6: DeclStmt \n _fun_copy_array_field::X_X(&x1:copy_array_field::X*) [line 16, column 5]\n " shape="box"] + + + "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_6" -> "npe#copy_array_field#77301322902488828.946ed5a43ad43585633fa030996f9ad5_5" ; "X#X#copy_array_field#{13837822965298396151}.45edc461c1975571aa48e5a08cc73f08_1" [label="1: Start copy_array_field::X_X\nFormals: this:copy_array_field::X*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/copy_move_constructor.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/copy_move_constructor.cpp.dot index 92e95f035..502a427d0 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/copy_move_constructor.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/copy_move_constructor.cpp.dot @@ -23,70 +23,6 @@ digraph cfg { "copyX_div0#copy_move_constructor#7555826423954612298.1fd45599e2fc3ce471d7d474aa615bcb_6" -> "copyX_div0#copy_move_constructor#7555826423954612298.1fd45599e2fc3ce471d7d474aa615bcb_5" ; -"moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_1" [label="1: Start copy_move_constructor::moveX_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:copy_move_constructor::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 48, column 1]\n " color=yellow style=filled] - - - "moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_1" -> "moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_3" ; -"moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_2" [label="2: Exit copy_move_constructor::moveX_div0 \n " color=yellow style=filled] - - -"moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_3" [label="3: Return Stmt \n _fun_copy_move_constructor::getX(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:copy_move_constructor::X*) [line 48, column 31]\n n$2=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 48, column 31]\n *&return:int=(1 / n$2) [line 48, column 20]\n " shape="box"] - - - "moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_3" -> "moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_2" ; -"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_1" [label="1: Start copy_move_constructor::copyY_div0\nFormals: \nLocals: y2:copy_move_constructor::Y y1:copy_move_constructor::Y \n DECLARE_LOCALS(&return,&y2,&y1); [line 50, column 1]\n " color=yellow style=filled] - - - "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_1" -> "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_6" ; -"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_2" [label="2: Exit copy_move_constructor::copyY_div0 \n " color=yellow style=filled] - - -"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_3" [label="3: Return Stmt \n n$0=*&y2.f:int [line 54, column 14]\n *&return:int=(1 / n$0) [line 54, column 3]\n _=*&y2:copy_move_constructor::Y [line 54, column 17]\n _fun_copy_move_constructor::Y_~Y(&y2:copy_move_constructor::Y*) [line 54, column 17]\n _=*&y1:copy_move_constructor::Y [line 54, column 17]\n _fun_copy_move_constructor::Y_~Y(&y1:copy_move_constructor::Y*) [line 54, column 17]\n " shape="box"] - - - "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_3" -> "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_2" ; -"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_4" [label="4: DeclStmt \n _fun_copy_move_constructor::Y_Y(&y2:copy_move_constructor::Y*,&y1:copy_move_constructor::Y&) [line 53, column 10]\n " shape="box"] - - - "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_4" -> "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_3" ; -"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_5" [label="5: BinaryOperatorStmt: Assign \n *&y1.f:int=0 [line 52, column 3]\n " shape="box"] - - - "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_5" -> "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_4" ; -"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_6" [label="6: DeclStmt \n _fun_copy_move_constructor::Y_Y(&y1:copy_move_constructor::Y*) [line 51, column 5]\n " shape="box"] - - - "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_6" -> "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_5" ; -"moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_1" [label="1: Start copy_move_constructor::moveY_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:copy_move_constructor::Y \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 57, column 1]\n " color=yellow style=filled] - - - "moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_1" -> "moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_3" ; -"moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_2" [label="2: Exit copy_move_constructor::moveY_div0 \n " color=yellow style=filled] - - -"moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_3" [label="3: Return Stmt \n _fun_copy_move_constructor::getY(1:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:copy_move_constructor::Y*) [line 57, column 31]\n n$2=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 57, column 31]\n *&return:int=(1 / n$2) [line 57, column 20]\n " shape="box"] - - - "moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_3" -> "moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_2" ; -"moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_1" [label="1: Start copy_move_constructor::moveY_moveY_copyY_div0\nFormals: \nLocals: y2:copy_move_constructor::Y y1:copy_move_constructor::Y 0$?%__sil_tmpSIL_materialize_temp__n$3:copy_move_constructor::Y \n DECLARE_LOCALS(&return,&y2,&y1,&0$?%__sil_tmpSIL_materialize_temp__n$3); [line 59, column 1]\n " color=yellow style=filled] - - - "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_1" -> "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_5" ; -"moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_2" [label="2: Exit copy_move_constructor::moveY_moveY_copyY_div0 \n " color=yellow style=filled] - - -"moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_3" [label="3: Return Stmt \n n$0=*&y2.f:int [line 62, column 14]\n *&return:int=(1 / n$0) [line 62, column 3]\n _=*&y2:copy_move_constructor::Y [line 62, column 17]\n _fun_copy_move_constructor::Y_~Y(&y2:copy_move_constructor::Y*) [line 62, column 17]\n _=*&y1:copy_move_constructor::Y [line 62, column 17]\n _fun_copy_move_constructor::Y_~Y(&y1:copy_move_constructor::Y*) [line 62, column 17]\n " shape="box"] - - - "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_3" -> "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_2" ; -"moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_4" [label="4: DeclStmt \n _fun_copy_move_constructor::Y_Y(&y2:copy_move_constructor::Y*,&y1:copy_move_constructor::Y&) [line 61, column 10]\n " shape="box"] - - - "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_4" -> "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_3" ; -"moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_5" [label="5: DeclStmt \n _fun_copy_move_constructor::getY(2:int,&0$?%__sil_tmpSIL_materialize_temp__n$3:copy_move_constructor::Y*) [line 60, column 10]\n _fun_copy_move_constructor::Y_Y(&y1:copy_move_constructor::Y*,&0$?%__sil_tmpSIL_materialize_temp__n$3:copy_move_constructor::Y&) [line 60, column 10]\n " shape="box"] - - - "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_5" -> "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_4" ; "copyX_moveX_div1#copy_move_constructor#6853813819184662211.00e91897e7d9fcfa93de911bba9a1399_1" [label="1: Start copy_move_constructor::copyX_moveX_div1\nFormals: \nLocals: d2:int 0$?%__sil_tmpSIL_materialize_temp__n$4:copy_move_constructor::X d1:int x2:copy_move_constructor::X x1:copy_move_constructor::X \n DECLARE_LOCALS(&return,&d2,&0$?%__sil_tmpSIL_materialize_temp__n$4,&d1,&x2,&x1); [line 65, column 1]\n " color=yellow style=filled] @@ -118,6 +54,29 @@ digraph cfg { "copyX_moveX_div1#copy_move_constructor#6853813819184662211.00e91897e7d9fcfa93de911bba9a1399_8" -> "copyX_moveX_div1#copy_move_constructor#6853813819184662211.00e91897e7d9fcfa93de911bba9a1399_7" ; +"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_1" [label="1: Start copy_move_constructor::copyY_div0\nFormals: \nLocals: y2:copy_move_constructor::Y y1:copy_move_constructor::Y \n DECLARE_LOCALS(&return,&y2,&y1); [line 50, column 1]\n " color=yellow style=filled] + + + "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_1" -> "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_6" ; +"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_2" [label="2: Exit copy_move_constructor::copyY_div0 \n " color=yellow style=filled] + + +"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_3" [label="3: Return Stmt \n n$0=*&y2.f:int [line 54, column 14]\n *&return:int=(1 / n$0) [line 54, column 3]\n _=*&y2:copy_move_constructor::Y [line 54, column 17]\n _fun_copy_move_constructor::Y_~Y(&y2:copy_move_constructor::Y*) [line 54, column 17]\n _=*&y1:copy_move_constructor::Y [line 54, column 17]\n _fun_copy_move_constructor::Y_~Y(&y1:copy_move_constructor::Y*) [line 54, column 17]\n " shape="box"] + + + "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_3" -> "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_2" ; +"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_4" [label="4: DeclStmt \n _fun_copy_move_constructor::Y_Y(&y2:copy_move_constructor::Y*,&y1:copy_move_constructor::Y&) [line 53, column 10]\n " shape="box"] + + + "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_4" -> "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_3" ; +"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_5" [label="5: BinaryOperatorStmt: Assign \n *&y1.f:int=0 [line 52, column 3]\n " shape="box"] + + + "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_5" -> "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_4" ; +"copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_6" [label="6: DeclStmt \n _fun_copy_move_constructor::Y_Y(&y1:copy_move_constructor::Y*) [line 51, column 5]\n " shape="box"] + + + "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_6" -> "copyY_div0#copy_move_constructor#17079397845524781987.61211209ec1f961073f3adafcd080bfb_5" ; "copyY_moveY_div1#copy_move_constructor#5827233588222911615.5716e8b7acbd3ff43f18c7c5954c6565_1" [label="1: Start copy_move_constructor::copyY_moveY_div1\nFormals: \nLocals: d2:int 0$?%__sil_tmpSIL_materialize_temp__n$4:copy_move_constructor::Y d1:int y2:copy_move_constructor::Y y1:copy_move_constructor::Y \n DECLARE_LOCALS(&return,&d2,&0$?%__sil_tmpSIL_materialize_temp__n$4,&d1,&y2,&y1); [line 74, column 1]\n " color=yellow style=filled] @@ -187,13 +146,47 @@ digraph cfg { "getY#copy_move_constructor#1712013823822590270.2c171bbad2707d6170d0b7974ac3c196_5" -> "getY#copy_move_constructor#1712013823822590270.2c171bbad2707d6170d0b7974ac3c196_4" ; -"X#X#copy_move_constructor#{10968604964233077287}.2f7f6ea6443bd7f6e81f1eae0ad96ec1_1" [label="1: Start copy_move_constructor::X_X\nFormals: this:copy_move_constructor::X*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 8]\n " color=yellow style=filled] +"moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_1" [label="1: Start copy_move_constructor::moveX_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:copy_move_constructor::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 48, column 1]\n " color=yellow style=filled] - "X#X#copy_move_constructor#{10968604964233077287}.2f7f6ea6443bd7f6e81f1eae0ad96ec1_1" -> "X#X#copy_move_constructor#{10968604964233077287}.2f7f6ea6443bd7f6e81f1eae0ad96ec1_2" ; -"X#X#copy_move_constructor#{10968604964233077287}.2f7f6ea6443bd7f6e81f1eae0ad96ec1_2" [label="2: Exit copy_move_constructor::X_X \n " color=yellow style=filled] + "moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_1" -> "moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_3" ; +"moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_2" [label="2: Exit copy_move_constructor::moveX_div0 \n " color=yellow style=filled] +"moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_3" [label="3: Return Stmt \n _fun_copy_move_constructor::getX(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:copy_move_constructor::X*) [line 48, column 31]\n n$2=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 48, column 31]\n *&return:int=(1 / n$2) [line 48, column 20]\n " shape="box"] + + + "moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_3" -> "moveX_div0#copy_move_constructor#2229557375196326562.f23c95e594ab41ba50090dccb989c3e3_2" ; +"moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_1" [label="1: Start copy_move_constructor::moveY_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:copy_move_constructor::Y \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 57, column 1]\n " color=yellow style=filled] + + + "moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_1" -> "moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_3" ; +"moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_2" [label="2: Exit copy_move_constructor::moveY_div0 \n " color=yellow style=filled] + + +"moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_3" [label="3: Return Stmt \n _fun_copy_move_constructor::getY(1:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:copy_move_constructor::Y*) [line 57, column 31]\n n$2=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 57, column 31]\n *&return:int=(1 / n$2) [line 57, column 20]\n " shape="box"] + + + "moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_3" -> "moveY_div0#copy_move_constructor#15307842160732522395.eee7693240d3ce27d5c30f34d771cb57_2" ; +"moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_1" [label="1: Start copy_move_constructor::moveY_moveY_copyY_div0\nFormals: \nLocals: y2:copy_move_constructor::Y y1:copy_move_constructor::Y 0$?%__sil_tmpSIL_materialize_temp__n$3:copy_move_constructor::Y \n DECLARE_LOCALS(&return,&y2,&y1,&0$?%__sil_tmpSIL_materialize_temp__n$3); [line 59, column 1]\n " color=yellow style=filled] + + + "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_1" -> "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_5" ; +"moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_2" [label="2: Exit copy_move_constructor::moveY_moveY_copyY_div0 \n " color=yellow style=filled] + + +"moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_3" [label="3: Return Stmt \n n$0=*&y2.f:int [line 62, column 14]\n *&return:int=(1 / n$0) [line 62, column 3]\n _=*&y2:copy_move_constructor::Y [line 62, column 17]\n _fun_copy_move_constructor::Y_~Y(&y2:copy_move_constructor::Y*) [line 62, column 17]\n _=*&y1:copy_move_constructor::Y [line 62, column 17]\n _fun_copy_move_constructor::Y_~Y(&y1:copy_move_constructor::Y*) [line 62, column 17]\n " shape="box"] + + + "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_3" -> "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_2" ; +"moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_4" [label="4: DeclStmt \n _fun_copy_move_constructor::Y_Y(&y2:copy_move_constructor::Y*,&y1:copy_move_constructor::Y&) [line 61, column 10]\n " shape="box"] + + + "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_4" -> "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_3" ; +"moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_5" [label="5: DeclStmt \n _fun_copy_move_constructor::getY(2:int,&0$?%__sil_tmpSIL_materialize_temp__n$3:copy_move_constructor::Y*) [line 60, column 10]\n _fun_copy_move_constructor::Y_Y(&y1:copy_move_constructor::Y*,&0$?%__sil_tmpSIL_materialize_temp__n$3:copy_move_constructor::Y&) [line 60, column 10]\n " shape="box"] + + + "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_5" -> "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_4" ; "X#X#copy_move_constructor#{10174102600918728520|constexpr}.7f1f4443383b6eabdf400de956c7f6af_1" [label="1: Start copy_move_constructor::X_X\nFormals: this:copy_move_constructor::X* __param_0:copy_move_constructor::X&\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 8]\n " color=yellow style=filled] @@ -205,6 +198,13 @@ digraph cfg { "X#X#copy_move_constructor#{10174102600918728520|constexpr}.7f1f4443383b6eabdf400de956c7f6af_3" -> "X#X#copy_move_constructor#{10174102600918728520|constexpr}.7f1f4443383b6eabdf400de956c7f6af_2" ; +"X#X#copy_move_constructor#{10968604964233077287}.2f7f6ea6443bd7f6e81f1eae0ad96ec1_1" [label="1: Start copy_move_constructor::X_X\nFormals: this:copy_move_constructor::X*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 8]\n " color=yellow style=filled] + + + "X#X#copy_move_constructor#{10968604964233077287}.2f7f6ea6443bd7f6e81f1eae0ad96ec1_1" -> "X#X#copy_move_constructor#{10968604964233077287}.2f7f6ea6443bd7f6e81f1eae0ad96ec1_2" ; +"X#X#copy_move_constructor#{10968604964233077287}.2f7f6ea6443bd7f6e81f1eae0ad96ec1_2" [label="2: Exit copy_move_constructor::X_X \n " color=yellow style=filled] + + "X#X#copy_move_constructor#{11461885598838954204|constexpr}.8b245330f9990df6f1e3d0622b3e7433_1" [label="1: Start copy_move_constructor::X_X\nFormals: this:copy_move_constructor::X* __param_0:copy_move_constructor::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 8]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/default_field_init.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/default_field_init.cpp.dot index 12201dd04..812c960d9 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/default_field_init.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/default_field_init.cpp.dot @@ -11,44 +11,44 @@ digraph cfg { "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" ; -"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" [label="1: Start X_X\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 3]\n " color=yellow style=filled] +"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_1" [label="1: Start X_X\nFormals: this:X* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] - "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_5" ; -"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" [label="2: Exit X_X \n " color=yellow style=filled] + "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_1" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_5" ; +"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_2" [label="2: Exit X_X \n " color=yellow style=filled] -"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_3" [label="3: Constructor Init \n n$0=*&this:X* [line 13, column 8]\n *n$0.c:int=0 [line 13, column 8]\n " shape="box"] +"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" [label="3: Constructor Init \n n$0=*&this:X* [line 13, column 8]\n *n$0.c:int=0 [line 13, column 8]\n " shape="box"] - "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_3" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" ; -"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_4" [label="4: Constructor Init \n n$1=*&this:X* [line 12, column 8]\n *n$1.b:int=-2 [line 12, column 8]\n " shape="box"] + "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_2" ; +"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_4" [label="4: Constructor Init \n n$1=*&this:X* [line 12, column 8]\n *n$1.b:int=-2 [line 12, column 8]\n " shape="box"] - "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_4" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_3" ; -"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_5" [label="5: Constructor Init \n n$2=*&this:X* [line 11, column 11]\n *n$2.a:int=-1 [line 11, column 11]\n " shape="box"] + "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_4" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" ; +"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_5" [label="5: Constructor Init \n n$2=*&this:X* [line 16, column 21]\n n$3=*&a:int [line 16, column 23]\n n$4=*&b:int [line 16, column 27]\n *n$2.a:int=(n$3 + n$4) [line 16, column 21]\n " shape="box"] - "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_5" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_4" ; -"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_1" [label="1: Start X_X\nFormals: this:X* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] + "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_5" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_4" ; +"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" [label="1: Start X_X\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 3]\n " color=yellow style=filled] - "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_1" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_5" ; -"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_2" [label="2: Exit X_X \n " color=yellow style=filled] + "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_5" ; +"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" [label="2: Exit X_X \n " color=yellow style=filled] -"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" [label="3: Constructor Init \n n$0=*&this:X* [line 13, column 8]\n *n$0.c:int=0 [line 13, column 8]\n " shape="box"] +"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_3" [label="3: Constructor Init \n n$0=*&this:X* [line 13, column 8]\n *n$0.c:int=0 [line 13, column 8]\n " shape="box"] - "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_2" ; -"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_4" [label="4: Constructor Init \n n$1=*&this:X* [line 12, column 8]\n *n$1.b:int=-2 [line 12, column 8]\n " shape="box"] + "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_3" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" ; +"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_4" [label="4: Constructor Init \n n$1=*&this:X* [line 12, column 8]\n *n$1.b:int=-2 [line 12, column 8]\n " shape="box"] - "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_4" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_3" ; -"X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_5" [label="5: Constructor Init \n n$2=*&this:X* [line 16, column 21]\n n$3=*&a:int [line 16, column 23]\n n$4=*&b:int [line 16, column 27]\n *n$2.a:int=(n$3 + n$4) [line 16, column 21]\n " shape="box"] + "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_4" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_3" ; +"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_5" [label="5: Constructor Init \n n$2=*&this:X* [line 11, column 11]\n *n$2.a:int=-1 [line 11, column 11]\n " shape="box"] - "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_5" -> "X#X#{14939599560045044604}.b28c8e2a1dd7783932fc838d8413f387_4" ; + "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_5" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_4" ; "Y#Y#{14898916407379161639}.007f922d3b4cc65335a37959ae6b89f8_1" [label="1: Start Y_Y\nFormals: this:Y*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 8]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/temp_object.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/temp_object.cpp.dot index 93b5dfab3..6f8439d7a 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/temp_object.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/temp_object.cpp.dot @@ -15,50 +15,50 @@ digraph cfg { "assign_temp_div0#temp_object#6618523570396537240.fa2055065ca23850cee50c855993cd3a_4" -> "assign_temp_div0#temp_object#6618523570396537240.fa2055065ca23850cee50c855993cd3a_3" ; -"temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_1" [label="1: Start temp_object::temp_field_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 33, column 1]\n " color=yellow style=filled] +"div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_1" [label="1: Start temp_object::div\nFormals: f:int\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 1]\n " color=yellow style=filled] - "temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_1" -> "temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_3" ; -"temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_2" [label="2: Exit temp_object::temp_field_div0 \n " color=yellow style=filled] + "div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_1" -> "div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_3" ; +"div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_2" [label="2: Exit temp_object::div \n " color=yellow style=filled] -"temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_3" [label="3: Return Stmt \n _fun_temp_object::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*,0:int,1:int) [line 33, column 36]\n n$1=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 33, column 36]\n n$2=_fun_temp_object::div(n$1:int) [line 33, column 32]\n *&return:int=n$2 [line 33, column 25]\n " shape="box"] +"div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_3" [label="3: Return Stmt \n n$0=*&f:int [line 21, column 29]\n *&return:int=(1 / n$0) [line 21, column 18]\n " shape="box"] - "temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_3" -> "temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_2" ; -"temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_1" [label="1: Start temp_object::temp_field2_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 35, column 1]\n " color=yellow style=filled] + "div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_3" -> "div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_2" ; +"getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_1" [label="1: Start temp_object::getX\nFormals: a:int b:int __return_param:temp_object::X*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:temp_object::X const \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 26, column 1]\n " color=yellow style=filled] - "temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_1" -> "temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_3" ; -"temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_2" [label="2: Exit temp_object::temp_field2_div0 \n " color=yellow style=filled] + "getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_1" -> "getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_3" ; +"getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_2" [label="2: Exit temp_object::getX \n " color=yellow style=filled] -"temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_3" [label="3: Return Stmt \n _fun_temp_object::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*,0:int) [line 35, column 37]\n n$1=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 35, column 37]\n n$2=_fun_temp_object::div(n$1:int) [line 35, column 33]\n *&return:int=n$2 [line 35, column 26]\n " shape="box"] +"getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_3" [label="3: Return Stmt \n n$0=*&__return_param:temp_object::X* [line 26, column 24]\n n$2=*&a:int [line 26, column 33]\n n$3=*&b:int [line 26, column 36]\n _fun_temp_object::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$1:temp_object::X const *,n$2:int,n$3:int) [line 26, column 31]\n _fun_temp_object::X_X(n$0:temp_object::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:temp_object::X const &) [line 26, column 31]\n " shape="box"] - "temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_3" -> "temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_2" ; -"temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_1" [label="1: Start temp_object::temp_method_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 37, column 1]\n " color=yellow style=filled] + "getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_3" -> "getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_2" ; +"getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_1" [label="1: Start temp_object::getX_field_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 39, column 1]\n " color=yellow style=filled] - "temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_1" -> "temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_3" ; -"temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_2" [label="2: Exit temp_object::temp_method_div0 \n " color=yellow style=filled] + "getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_1" -> "getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_3" ; +"getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_2" [label="2: Exit temp_object::getX_field_div0 \n " color=yellow style=filled] -"temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_3" [label="3: Return Stmt \n _fun_temp_object::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*,0:int,1:int) [line 37, column 33]\n _=*&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X [line 37, column 33]\n n$2=_fun_temp_object::X_div(&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X&) [line 37, column 33]\n *&return:int=n$2 [line 37, column 26]\n " shape="box"] +"getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_3" [label="3: Return Stmt \n _fun_temp_object::getX(0:int,1:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*) [line 39, column 36]\n n$2=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 39, column 36]\n n$3=_fun_temp_object::div(n$2:int) [line 39, column 32]\n *&return:int=n$3 [line 39, column 25]\n " shape="box"] - "temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_3" -> "temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_2" ; -"getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_1" [label="1: Start temp_object::getX_field_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 39, column 1]\n " color=yellow style=filled] + "getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_3" -> "getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_2" ; +"getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_1" [label="1: Start temp_object::getX_field_div1\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 45, column 1]\n " color=yellow style=filled] - "getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_1" -> "getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_3" ; -"getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_2" [label="2: Exit temp_object::getX_field_div0 \n " color=yellow style=filled] + "getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_1" -> "getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_3" ; +"getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_2" [label="2: Exit temp_object::getX_field_div1 \n " color=yellow style=filled] -"getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_3" [label="3: Return Stmt \n _fun_temp_object::getX(0:int,1:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*) [line 39, column 36]\n n$2=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 39, column 36]\n n$3=_fun_temp_object::div(n$2:int) [line 39, column 32]\n *&return:int=n$3 [line 39, column 25]\n " shape="box"] +"getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_3" [label="3: Return Stmt \n _fun_temp_object::getX(1:int,0:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*) [line 45, column 36]\n n$2=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 45, column 36]\n n$3=_fun_temp_object::div(n$2:int) [line 45, column 32]\n *&return:int=n$3 [line 45, column 25]\n " shape="box"] - "getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_3" -> "getX_field_div0#temp_object#12698122843139253036.854c4a3940ca05110785248e1303db49_2" ; + "getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_3" -> "getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_2" ; "getX_method_div0#temp_object#10654710522454889600.9c743f651914acdd07ad2c70becfd89c_1" [label="1: Start temp_object::getX_method_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 41, column 1]\n " color=yellow style=filled] @@ -70,92 +70,92 @@ digraph cfg { "getX_method_div0#temp_object#10654710522454889600.9c743f651914acdd07ad2c70becfd89c_3" -> "getX_method_div0#temp_object#10654710522454889600.9c743f651914acdd07ad2c70becfd89c_2" ; -"temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_1" [label="1: Start temp_object::temp_field_div1\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 43, column 1]\n " color=yellow style=filled] +"temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_1" [label="1: Start temp_object::temp_field2_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 35, column 1]\n " color=yellow style=filled] - "temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_1" -> "temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_3" ; -"temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_2" [label="2: Exit temp_object::temp_field_div1 \n " color=yellow style=filled] + "temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_1" -> "temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_3" ; +"temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_2" [label="2: Exit temp_object::temp_field2_div0 \n " color=yellow style=filled] -"temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_3" [label="3: Return Stmt \n _fun_temp_object::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*,1:int,0:int) [line 43, column 36]\n n$1=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 43, column 36]\n n$2=_fun_temp_object::div(n$1:int) [line 43, column 32]\n *&return:int=n$2 [line 43, column 25]\n " shape="box"] +"temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_3" [label="3: Return Stmt \n _fun_temp_object::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*,0:int) [line 35, column 37]\n n$1=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 35, column 37]\n n$2=_fun_temp_object::div(n$1:int) [line 35, column 33]\n *&return:int=n$2 [line 35, column 26]\n " shape="box"] - "temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_3" -> "temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_2" ; -"getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_1" [label="1: Start temp_object::getX_field_div1\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 45, column 1]\n " color=yellow style=filled] + "temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_3" -> "temp_field2_div0#temp_object#17763200808338657027.dd874be310bbf8e78129b073d73ad49f_2" ; +"temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_1" [label="1: Start temp_object::temp_field_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 33, column 1]\n " color=yellow style=filled] - "getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_1" -> "getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_3" ; -"getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_2" [label="2: Exit temp_object::getX_field_div1 \n " color=yellow style=filled] + "temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_1" -> "temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_3" ; +"temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_2" [label="2: Exit temp_object::temp_field_div0 \n " color=yellow style=filled] -"getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_3" [label="3: Return Stmt \n _fun_temp_object::getX(1:int,0:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*) [line 45, column 36]\n n$2=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 45, column 36]\n n$3=_fun_temp_object::div(n$2:int) [line 45, column 32]\n *&return:int=n$3 [line 45, column 25]\n " shape="box"] +"temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_3" [label="3: Return Stmt \n _fun_temp_object::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*,0:int,1:int) [line 33, column 36]\n n$1=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 33, column 36]\n n$2=_fun_temp_object::div(n$1:int) [line 33, column 32]\n *&return:int=n$2 [line 33, column 25]\n " shape="box"] - "getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_3" -> "getX_field_div1#temp_object#11953596240866039963.ee557e5aaabf95f2c8b1284adfc7249e_2" ; -"getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_1" [label="1: Start temp_object::getX\nFormals: a:int b:int __return_param:temp_object::X*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:temp_object::X const \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 26, column 1]\n " color=yellow style=filled] + "temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_3" -> "temp_field_div0#temp_object#15412040659245592666.f5d0fb2d0c8f868e114b6379ad654aef_2" ; +"temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_1" [label="1: Start temp_object::temp_field_div1\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 43, column 1]\n " color=yellow style=filled] - "getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_1" -> "getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_3" ; -"getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_2" [label="2: Exit temp_object::getX \n " color=yellow style=filled] + "temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_1" -> "temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_3" ; +"temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_2" [label="2: Exit temp_object::temp_field_div1 \n " color=yellow style=filled] -"getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_3" [label="3: Return Stmt \n n$0=*&__return_param:temp_object::X* [line 26, column 24]\n n$2=*&a:int [line 26, column 33]\n n$3=*&b:int [line 26, column 36]\n _fun_temp_object::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$1:temp_object::X const *,n$2:int,n$3:int) [line 26, column 31]\n _fun_temp_object::X_X(n$0:temp_object::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:temp_object::X const &) [line 26, column 31]\n " shape="box"] +"temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_3" [label="3: Return Stmt \n _fun_temp_object::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*,1:int,0:int) [line 43, column 36]\n n$1=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 43, column 36]\n n$2=_fun_temp_object::div(n$1:int) [line 43, column 32]\n *&return:int=n$2 [line 43, column 25]\n " shape="box"] - "getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_3" -> "getX#temp_object#4720444219866178245.f48412a1530fe282a769812167194f6c_2" ; -"div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_1" [label="1: Start temp_object::div\nFormals: f:int\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 1]\n " color=yellow style=filled] + "temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_3" -> "temp_field_div1#temp_object#14919979518945721169.463c8bf1b85b2fefc9473e70e135e02d_2" ; +"temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_1" [label="1: Start temp_object::temp_method_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 37, column 1]\n " color=yellow style=filled] - "div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_1" -> "div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_3" ; -"div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_2" [label="2: Exit temp_object::div \n " color=yellow style=filled] + "temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_1" -> "temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_3" ; +"temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_2" [label="2: Exit temp_object::temp_method_div0 \n " color=yellow style=filled] -"div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_3" [label="3: Return Stmt \n n$0=*&f:int [line 21, column 29]\n *&return:int=(1 / n$0) [line 21, column 18]\n " shape="box"] +"temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_3" [label="3: Return Stmt \n _fun_temp_object::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X*,0:int,1:int) [line 37, column 33]\n _=*&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X [line 37, column 33]\n n$2=_fun_temp_object::X_div(&0$?%__sil_tmpSIL_materialize_temp__n$0:temp_object::X&) [line 37, column 33]\n *&return:int=n$2 [line 37, column 26]\n " shape="box"] - "div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_3" -> "div#temp_object#8235742009211935218.2061ea7bd543a21042cf00f2dbeefd91_2" ; -"div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_1" [label="1: Start temp_object::X_div\nFormals: this:temp_object::X*\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 3]\n " color=yellow style=filled] + "temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_3" -> "temp_method_div0#temp_object#17009651611825801298.b27a48cdb872e8bc72f1181813e5d666_2" ; +"X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_1" [label="1: Start temp_object::X_X\nFormals: this:temp_object::X* x:temp_object::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] - "div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_1" -> "div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_3" ; -"div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_2" [label="2: Exit temp_object::X_div \n " color=yellow style=filled] + "X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_1" -> "X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_3" ; +"X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_2" [label="2: Exit temp_object::X_X \n " color=yellow style=filled] -"div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_3" [label="3: Return Stmt \n n$0=*&this:temp_object::X* [line 18, column 26]\n n$1=*n$0.f:int [line 18, column 26]\n *&return:int=(1 / n$1) [line 18, column 15]\n " shape="box"] +"X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:temp_object::X* [line 16, column 19]\n n$1=*&x:temp_object::X const & [line 16, column 23]\n n$2=*n$1.f:int [line 16, column 23]\n *n$0.f:int=n$2 [line 16, column 19]\n " shape="box"] - "div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_3" -> "div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_2" ; -"X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_1" [label="1: Start temp_object::X_X\nFormals: this:temp_object::X* a:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] + "X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_3" -> "X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_2" ; +"X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_1" [label="1: Start temp_object::X_X\nFormals: this:temp_object::X* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] - "X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_1" -> "X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_3" ; -"X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_2" [label="2: Exit temp_object::X_X \n " color=yellow style=filled] + "X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_1" -> "X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_3" ; +"X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_2" [label="2: Exit temp_object::X_X \n " color=yellow style=filled] -"X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:temp_object::X* [line 13, column 14]\n n$1=*&a:int [line 13, column 18]\n *n$0.f:int=n$1 [line 13, column 14]\n " shape="box"] +"X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:temp_object::X* [line 14, column 21]\n n$1=*&a:int [line 14, column 25]\n *n$0.f:int=n$1 [line 14, column 21]\n " shape="box"] - "X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_3" -> "X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_2" ; -"X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_1" [label="1: Start temp_object::X_X\nFormals: this:temp_object::X* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] + "X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_3" -> "X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_2" ; +"X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_1" [label="1: Start temp_object::X_X\nFormals: this:temp_object::X* a:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] - "X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_1" -> "X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_3" ; -"X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_2" [label="2: Exit temp_object::X_X \n " color=yellow style=filled] + "X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_1" -> "X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_3" ; +"X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_2" [label="2: Exit temp_object::X_X \n " color=yellow style=filled] -"X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:temp_object::X* [line 14, column 21]\n n$1=*&a:int [line 14, column 25]\n *n$0.f:int=n$1 [line 14, column 21]\n " shape="box"] +"X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:temp_object::X* [line 13, column 14]\n n$1=*&a:int [line 13, column 18]\n *n$0.f:int=n$1 [line 13, column 14]\n " shape="box"] - "X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_3" -> "X#X#temp_object#{8598480124712426466}.7071c692af425a15518693ebe50ba781_2" ; -"X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_1" [label="1: Start temp_object::X_X\nFormals: this:temp_object::X* x:temp_object::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] + "X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_3" -> "X#X#temp_object#{9561113765655638015}.59d66724d587fdb6aca1a26e1f705f23_2" ; +"div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_1" [label="1: Start temp_object::X_div\nFormals: this:temp_object::X*\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 3]\n " color=yellow style=filled] - "X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_1" -> "X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_3" ; -"X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_2" [label="2: Exit temp_object::X_X \n " color=yellow style=filled] + "div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_1" -> "div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_3" ; +"div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_2" [label="2: Exit temp_object::X_div \n " color=yellow style=filled] -"X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:temp_object::X* [line 16, column 19]\n n$1=*&x:temp_object::X const & [line 16, column 23]\n n$2=*n$1.f:int [line 16, column 23]\n *n$0.f:int=n$2 [line 16, column 19]\n " shape="box"] +"div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_3" [label="3: Return Stmt \n n$0=*&this:temp_object::X* [line 18, column 26]\n n$1=*n$0.f:int [line 18, column 26]\n *&return:int=(1 / n$1) [line 18, column 15]\n " shape="box"] - "X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_3" -> "X#X#temp_object#{5376484276992466061}.a1cfaf9ee9d8c713d3d1751acbb77f32_2" ; + "div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_3" -> "div#X#temp_object#(12460299690567563818).008eb806654973dcd60bef3460e7ab63_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/exceptions/Exceptions.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/exceptions/Exceptions.cpp.dot index 00293fa47..eebb50b86 100644 --- a/infer/tests/codetoanalyze/cpp/shared/exceptions/Exceptions.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/exceptions/Exceptions.cpp.dot @@ -11,17 +11,6 @@ digraph cfg { "call_deref_with_null#4611966425999531792.6346543307e9a799421a89e451b917c2_3" -> "call_deref_with_null#4611966425999531792.6346543307e9a799421a89e451b917c2_2" ; -"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] - - - "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; -"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] - - -"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Return Stmt \n n$0=_fun_deref(null:int*) [line 28, column 12]\n *&return:int=n$0 [line 28, column 5]\n " shape="box"] - - - "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; "deref#13506892413034678690.824465c4193ad2288eb512b1083edab3_1" [label="1: Start deref\nFormals: p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] @@ -65,4 +54,15 @@ digraph cfg { "deref_null#11536394632240553702.ea4eed042da22ab7ceb619ec1b7f73bb_3" -> "deref_null#11536394632240553702.ea4eed042da22ab7ceb619ec1b7f73bb_2" ; +"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] + + + "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; +"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] + + +"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Return Stmt \n n$0=_fun_deref(null:int*) [line 28, column 12]\n *&return:int=n$0 [line 28, column 5]\n " shape="box"] + + + "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/exceptions/noexception.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/exceptions/noexception.cpp.dot index 28c603298..9af3b89a3 100644 --- a/infer/tests/codetoanalyze/cpp/shared/exceptions/noexception.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/exceptions/noexception.cpp.dot @@ -1,10 +1,10 @@ /* @generated */ digraph cfg { -"throw1#4773723525933624289.6b9b3759b03b1236af3e9e5fdf9a4f32_1" [label="1: Start throw1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] +"no_throw#17033017651186285990.09ccf3c67e4f955c43def7c14239d3f3_1" [label="1: Start no_throw\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - "throw1#4773723525933624289.6b9b3759b03b1236af3e9e5fdf9a4f32_1" -> "throw1#4773723525933624289.6b9b3759b03b1236af3e9e5fdf9a4f32_2" ; -"throw1#4773723525933624289.6b9b3759b03b1236af3e9e5fdf9a4f32_2" [label="2: Exit throw1 \n " color=yellow style=filled] + "no_throw#17033017651186285990.09ccf3c67e4f955c43def7c14239d3f3_1" -> "no_throw#17033017651186285990.09ccf3c67e4f955c43def7c14239d3f3_2" ; +"no_throw#17033017651186285990.09ccf3c67e4f955c43def7c14239d3f3_2" [label="2: Exit no_throw \n " color=yellow style=filled] "noexcept_in_no_throw_is_true#15307552983521714545.46bb87de4bb49540d73e5bbaf21122b3_1" [label="1: Start noexcept_in_no_throw_is_true\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 14, column 1]\n " color=yellow style=filled] @@ -29,11 +29,11 @@ digraph cfg { "noexcept_in_throw1_is_false#16721048902546389084.3ea3c1e2a52bf4050d645442d93bc7d9_3" -> "noexcept_in_throw1_is_false#16721048902546389084.3ea3c1e2a52bf4050d645442d93bc7d9_2" ; -"no_throw#17033017651186285990.09ccf3c67e4f955c43def7c14239d3f3_1" [label="1: Start no_throw\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] +"throw1#4773723525933624289.6b9b3759b03b1236af3e9e5fdf9a4f32_1" [label="1: Start throw1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] - "no_throw#17033017651186285990.09ccf3c67e4f955c43def7c14239d3f3_1" -> "no_throw#17033017651186285990.09ccf3c67e4f955c43def7c14239d3f3_2" ; -"no_throw#17033017651186285990.09ccf3c67e4f955c43def7c14239d3f3_2" [label="2: Exit no_throw \n " color=yellow style=filled] + "throw1#4773723525933624289.6b9b3759b03b1236af3e9e5fdf9a4f32_1" -> "throw1#4773723525933624289.6b9b3759b03b1236af3e9e5fdf9a4f32_2" ; +"throw1#4773723525933624289.6b9b3759b03b1236af3e9e5fdf9a4f32_2" [label="2: Exit throw1 \n " color=yellow style=filled] } diff --git a/infer/tests/codetoanalyze/cpp/shared/lambda/lambda1.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/lambda/lambda1.cpp.dot index 272ed0a9f..b69cc0fd7 100644 --- a/infer/tests/codetoanalyze/cpp/shared/lambda/lambda1.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/lambda/lambda1.cpp.dot @@ -15,6 +15,25 @@ digraph cfg { "bar#13629960763458822780.27859d4aca4c920a20241f1b78082005_4" -> "bar#13629960763458822780.27859d4aca4c920a20241f1b78082005_3" ; +"capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_1" [label="1: Start capture_by_ref\nFormals: \nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 36, column 1]\n " color=yellow style=filled] + + + "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_1" -> "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_5" ; +"capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_2" [label="2: Exit capture_by_ref \n " color=yellow style=filled] + + +"capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_3" [label="3: Return Stmt \n n$0=*&x:int [line 39, column 10]\n *&return:int=n$0 [line 39, column 3]\n " shape="box"] + + + "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_3" -> "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_2" ; +"capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_4" [label="4: Call _fun_capture_by_ref::lambda_shared_lambda_lambda1.cpp:38:3_operator() \n _fun_capture_by_ref::lambda_shared_lambda_lambda1.cpp:38:3_operator()((_fun_capture_by_ref::lambda_shared_lambda_lambda1.cpp:38:3_operator(),&x):capture_by_ref::lambda_shared_lambda_lambda1.cpp:38:3) [line 38, column 3]\n " shape="box"] + + + "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_4" -> "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_3" ; +"capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_5" [label="5: DeclStmt \n *&x:int=0 [line 37, column 3]\n " shape="box"] + + + "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_5" -> "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_4" ; "foo#972162870672026475.86d7db357d6a36081d09067fb38ce85e_1" [label="1: Start foo\nFormals: \nLocals: y:foo::lambda_shared_lambda_lambda1.cpp:20:12 0$?%__sil_tmpSIL_materialize_temp__n$3:foo::lambda_shared_lambda_lambda1.cpp:20:12 unused:foo::lambda_shared_lambda_lambda1.cpp:19:17 0$?%__sil_tmpSIL_materialize_temp__n$4:foo::lambda_shared_lambda_lambda1.cpp:19:17 \n DECLARE_LOCALS(&return,&y,&0$?%__sil_tmpSIL_materialize_temp__n$3,&unused,&0$?%__sil_tmpSIL_materialize_temp__n$4); [line 18, column 1]\n " color=yellow style=filled] @@ -49,6 +68,48 @@ digraph cfg { "fooOK#5521302935427608539.9c36ec052efdd50972817d895666852a_4" -> "fooOK#5521302935427608539.9c36ec052efdd50972817d895666852a_3" ; +"init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_1" [label="1: Start init_capture1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 42, column 1]\n " color=yellow style=filled] + + + "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_1" -> "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_3" ; +"init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_2" [label="2: Exit init_capture1 \n " color=yellow style=filled] + + +"init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_3" [label="3: DeclStmt \n *&i:int=0 [line 43, column 10]\n " shape="box"] + + + "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_3" -> "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_4" ; +"init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_4" [label="4: Return Stmt \n n$0=_fun_init_capture1::lambda_shared_lambda_lambda1.cpp:43:10_operator()((_fun_init_capture1::lambda_shared_lambda_lambda1.cpp:43:10_operator(),&i):init_capture1::lambda_shared_lambda_lambda1.cpp:43:10) [line 43, column 10]\n *&return:int=n$0 [line 43, column 3]\n " shape="box"] + + + "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_4" -> "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_2" ; +"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_1" [label="1: Start init_capture2\nFormals: \nLocals: i:int \n DECLARE_LOCALS(&return,&i); [line 47, column 1]\n " color=yellow style=filled] + + + "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_1" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_7" ; +"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_2" [label="2: Exit init_capture2 \n " color=yellow style=filled] + + +"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_3" [label="3: DeclStmt \n *&c:int=3 [line 49, column 10]\n " shape="box"] + + + "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_3" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_6" ; +"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_4" [label="4: DeclStmt \n *&b:int=0 [line 49, column 10]\n " shape="box"] + + + "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_4" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_3" ; +"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_5" [label="5: DeclStmt \n n$0=*&i:int [line 49, column 16]\n *&a:int=n$0 [line 49, column 10]\n " shape="box"] + + + "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_5" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_4" ; +"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_6" [label="6: Return Stmt \n n$1=_fun_init_capture2::lambda_shared_lambda_lambda1.cpp:49:10_operator()((_fun_init_capture2::lambda_shared_lambda_lambda1.cpp:49:10_operator(),&a,&b,&c):init_capture2::lambda_shared_lambda_lambda1.cpp:49:10) [line 49, column 10]\n *&return:int=n$1 [line 49, column 3]\n " shape="box"] + + + "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_6" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_2" ; +"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_7" [label="7: DeclStmt \n *&i:int=0 [line 48, column 3]\n " shape="box"] + + + "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_7" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_5" ; "normal_capture#5533029764254319855.11493b249dddd657790695e287170b84_1" [label="1: Start normal_capture\nFormals: \nLocals: y:int x:int \n DECLARE_LOCALS(&return,&y,&x); [line 30, column 1]\n " color=yellow style=filled] @@ -68,82 +129,92 @@ digraph cfg { "normal_capture#5533029764254319855.11493b249dddd657790695e287170b84_5" -> "normal_capture#5533029764254319855.11493b249dddd657790695e287170b84_4" ; -"capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_1" [label="1: Start capture_by_ref\nFormals: \nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 36, column 1]\n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:11:15#bar#{14892892509482509619|constexpr}.82a39f4ec411b682c3042c96f268a2b9_1" [label="1: Start bar::lambda_shared_lambda_lambda1.cpp:11:15_\nFormals: this:bar::lambda_shared_lambda_lambda1.cpp:11:15* __param_0:bar::lambda_shared_lambda_lambda1.cpp:11:15&\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 15]\n " color=yellow style=filled] - "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_1" -> "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_5" ; -"capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_2" [label="2: Exit capture_by_ref \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:11:15#bar#{14892892509482509619|constexpr}.82a39f4ec411b682c3042c96f268a2b9_1" -> "#lambda_shared_lambda_lambda1.cpp:11:15#bar#{14892892509482509619|constexpr}.82a39f4ec411b682c3042c96f268a2b9_2" ; +"#lambda_shared_lambda_lambda1.cpp:11:15#bar#{14892892509482509619|constexpr}.82a39f4ec411b682c3042c96f268a2b9_2" [label="2: Exit bar::lambda_shared_lambda_lambda1.cpp:11:15_ \n " color=yellow style=filled] -"capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_3" [label="3: Return Stmt \n n$0=*&x:int [line 39, column 10]\n *&return:int=n$0 [line 39, column 3]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:19:17#foo#{18379037134042516079|constexpr}.f30eeee4fd61eeb8d7c0f0b7e4ed975f_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:19:17_\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:19:17* __param_0:foo::lambda_shared_lambda_lambda1.cpp:19:17&\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 17]\n " color=yellow style=filled] - "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_3" -> "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_2" ; -"capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_4" [label="4: Call _fun_capture_by_ref::lambda_shared_lambda_lambda1.cpp:38:3_operator() \n _fun_capture_by_ref::lambda_shared_lambda_lambda1.cpp:38:3_operator()((_fun_capture_by_ref::lambda_shared_lambda_lambda1.cpp:38:3_operator(),&x):capture_by_ref::lambda_shared_lambda_lambda1.cpp:38:3) [line 38, column 3]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:19:17#foo#{18379037134042516079|constexpr}.f30eeee4fd61eeb8d7c0f0b7e4ed975f_1" -> "#lambda_shared_lambda_lambda1.cpp:19:17#foo#{18379037134042516079|constexpr}.f30eeee4fd61eeb8d7c0f0b7e4ed975f_2" ; +"#lambda_shared_lambda_lambda1.cpp:19:17#foo#{18379037134042516079|constexpr}.f30eeee4fd61eeb8d7c0f0b7e4ed975f_2" [label="2: Exit foo::lambda_shared_lambda_lambda1.cpp:19:17_ \n " color=yellow style=filled] - "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_4" -> "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_3" ; -"capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_5" [label="5: DeclStmt \n *&x:int=0 [line 37, column 3]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:20:12#foo#{2457771116144546786|constexpr}.8d67e886151fe32329ba2e2df99417f3_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:20:12_\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:20:12* __param_0:foo::lambda_shared_lambda_lambda1.cpp:20:12&\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 12]\n " color=yellow style=filled] - "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_5" -> "capture_by_ref#4375601249296069049.1d794578c048d96b25fb1e90dbaa8225_4" ; -"init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_1" [label="1: Start init_capture1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 42, column 1]\n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:20:12#foo#{2457771116144546786|constexpr}.8d67e886151fe32329ba2e2df99417f3_1" -> "#lambda_shared_lambda_lambda1.cpp:20:12#foo#{2457771116144546786|constexpr}.8d67e886151fe32329ba2e2df99417f3_2" ; +"#lambda_shared_lambda_lambda1.cpp:20:12#foo#{2457771116144546786|constexpr}.8d67e886151fe32329ba2e2df99417f3_2" [label="2: Exit foo::lambda_shared_lambda_lambda1.cpp:20:12_ \n " color=yellow style=filled] - "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_1" -> "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_3" ; -"init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_2" [label="2: Exit init_capture1 \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:26:12#fooOK#{12805486487749307717|constexpr}.5d2a515dbfe9a2c0a5c89ce06ced0b70_1" [label="1: Start fooOK::lambda_shared_lambda_lambda1.cpp:26:12_\nFormals: this:fooOK::lambda_shared_lambda_lambda1.cpp:26:12* __param_0:fooOK::lambda_shared_lambda_lambda1.cpp:26:12&\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 12]\n " color=yellow style=filled] -"init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_3" [label="3: DeclStmt \n *&i:int=0 [line 43, column 10]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:26:12#fooOK#{12805486487749307717|constexpr}.5d2a515dbfe9a2c0a5c89ce06ced0b70_1" -> "#lambda_shared_lambda_lambda1.cpp:26:12#fooOK#{12805486487749307717|constexpr}.5d2a515dbfe9a2c0a5c89ce06ced0b70_2" ; +"#lambda_shared_lambda_lambda1.cpp:26:12#fooOK#{12805486487749307717|constexpr}.5d2a515dbfe9a2c0a5c89ce06ced0b70_2" [label="2: Exit fooOK::lambda_shared_lambda_lambda1.cpp:26:12_ \n " color=yellow style=filled] - "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_3" -> "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_4" ; -"init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_4" [label="4: Return Stmt \n n$0=_fun_init_capture1::lambda_shared_lambda_lambda1.cpp:43:10_operator()((_fun_init_capture1::lambda_shared_lambda_lambda1.cpp:43:10_operator(),&i):init_capture1::lambda_shared_lambda_lambda1.cpp:43:10) [line 43, column 10]\n *&return:int=n$0 [line 43, column 3]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_1" [label="1: Start Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19_\nFormals: this:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19* __param_0:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19&\nLocals: \n DECLARE_LOCALS(&return); [line 55, column 19]\n " color=yellow style=filled] - "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_4" -> "init_capture1#11582985675627962568.58b9ce334267f411dc5e1c70bd53eb81_2" ; -"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_1" [label="1: Start init_capture2\nFormals: \nLocals: i:int \n DECLARE_LOCALS(&return,&i); [line 47, column 1]\n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_1" -> "#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_3" ; +"#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_2" [label="2: Exit Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19_ \n " color=yellow style=filled] - "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_1" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_7" ; -"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_2" [label="2: Exit init_capture2 \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_3" [label="3: Constructor Init \n n$0=*&this:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19* [line 55, column 19]\n n$1=*&__param_0:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19& [line 55, column 19]\n n$2=*n$1.:Capture* [line 55, column 19]\n *n$0.:Capture*=n$2 [line 55, column 19]\n " shape="box"] -"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_3" [label="3: DeclStmt \n *&c:int=3 [line 49, column 10]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_3" -> "#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_2" ; +"#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_1" [label="1: Start Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19_\nFormals: this:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19* __param_0:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19&\nLocals: \n DECLARE_LOCALS(&return); [line 59, column 19]\n " color=yellow style=filled] - "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_3" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_6" ; -"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_4" [label="4: DeclStmt \n *&b:int=0 [line 49, column 10]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_1" -> "#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_3" ; +"#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_2" [label="2: Exit Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19_ \n " color=yellow style=filled] - "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_4" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_3" ; -"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_5" [label="5: DeclStmt \n n$0=*&i:int [line 49, column 16]\n *&a:int=n$0 [line 49, column 10]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_3" [label="3: Constructor Init \n n$0=*&this:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19* [line 59, column 19]\n n$1=*&__param_0:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19& [line 59, column 19]\n _fun_Capture_Capture(n$0.:Capture*,n$1.:Capture&) [line 59, column 19]\n " shape="box"] - "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_5" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_4" ; -"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_6" [label="6: Return Stmt \n n$1=_fun_init_capture2::lambda_shared_lambda_lambda1.cpp:49:10_operator()((_fun_init_capture2::lambda_shared_lambda_lambda1.cpp:49:10_operator(),&a,&b,&c):init_capture2::lambda_shared_lambda_lambda1.cpp:49:10) [line 49, column 10]\n *&return:int=n$1 [line 49, column 3]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_3" -> "#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_2" ; +"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_1" [label="1: Start Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19_\nFormals: this:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19* __param_0:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19&\nLocals: \n DECLARE_LOCALS(&return); [line 65, column 19]\n " color=yellow style=filled] - "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_6" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_2" ; -"init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_7" [label="7: DeclStmt \n *&i:int=0 [line 48, column 3]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_1" -> "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_3" ; +"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_2" [label="2: Exit Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19_ \n " color=yellow style=filled] - "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_7" -> "init_capture2#11582143449720942167.039b5039af3b7807e4b00950523a9f3a_5" ; -"capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_1" [label="1: Start Capture_capture_this_explicit\nFormals: this:Capture*\nLocals: lambda:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19 0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19 \n DECLARE_LOCALS(&return,&lambda,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 54, column 3]\n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_3" [label="3: Constructor Init \n n$0=*&this:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19* [line 65, column 19]\n n$1=*&__param_0:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19& [line 65, column 19]\n n$2=*n$1.:Capture* [line 65, column 19]\n *n$0.:Capture*=n$2 [line 65, column 19]\n " shape="box"] - "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_1" -> "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_4" ; -"capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_2" [label="2: Exit Capture_capture_this_explicit \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_3" -> "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_2" ; +"#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_1" [label="1: Start Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19_\nFormals: this:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19* __param_0:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19&\nLocals: \n DECLARE_LOCALS(&return); [line 69, column 19]\n " color=yellow style=filled] -"capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_3" [label="3: Destruction \n _=*&lambda:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19 [line 56, column 3]\n _fun_Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19_~(&lambda:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19*) [line 56, column 3]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_1" -> "#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_3" ; +"#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_2" [label="2: Exit Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19_ \n " color=yellow style=filled] - "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_3" -> "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_2" ; -"capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_4" [label="4: DeclStmt \n *&0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19=(_fun_Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19_operator(),&this) [line 55, column 19]\n _fun_Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19_(&lambda:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19*,&0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19&) [line 55, column 19]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_3" [label="3: Constructor Init \n n$0=*&this:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19* [line 69, column 19]\n n$1=*&__param_0:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19& [line 69, column 19]\n n$2=*n$1.:Capture* [line 69, column 19]\n *n$0.:Capture*=n$2 [line 69, column 19]\n " shape="box"] + + + "#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_3" -> "#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_2" ; +"Capture#Capture#{12117490113068134497|constexpr}.98ffcc03a8acaf01f37e687e09517440_1" [label="1: Start Capture_Capture\nFormals: this:Capture* __param_0:Capture&\nLocals: \n DECLARE_LOCALS(&return); [line 53, column 7]\n " color=yellow style=filled] + + + "Capture#Capture#{12117490113068134497|constexpr}.98ffcc03a8acaf01f37e687e09517440_1" -> "Capture#Capture#{12117490113068134497|constexpr}.98ffcc03a8acaf01f37e687e09517440_2" ; +"Capture#Capture#{12117490113068134497|constexpr}.98ffcc03a8acaf01f37e687e09517440_2" [label="2: Exit Capture_Capture \n " color=yellow style=filled] + + +"Capture#Capture#{15371931494294124755|constexpr}.9ede96f2e081983279c43accbd64cbd2_1" [label="1: Start Capture_Capture\nFormals: this:Capture* __param_0:Capture const &\nLocals: \n DECLARE_LOCALS(&return); [line 53, column 7]\n " color=yellow style=filled] + + + "Capture#Capture#{15371931494294124755|constexpr}.9ede96f2e081983279c43accbd64cbd2_1" -> "Capture#Capture#{15371931494294124755|constexpr}.9ede96f2e081983279c43accbd64cbd2_2" ; +"Capture#Capture#{15371931494294124755|constexpr}.9ede96f2e081983279c43accbd64cbd2_2" [label="2: Exit Capture_Capture \n " color=yellow style=filled] - "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_4" -> "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_3" ; "capture_star_this#Capture#(2506493005619132138).63fd6aa2a7efbd48dc1a62c0c2bd2161_1" [label="1: Start Capture_capture_star_this\nFormals: this:Capture*\nLocals: lambda:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19 0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19 \n DECLARE_LOCALS(&return,&lambda,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 58, column 3]\n " color=yellow style=filled] @@ -159,21 +230,21 @@ digraph cfg { "capture_star_this#Capture#(2506493005619132138).63fd6aa2a7efbd48dc1a62c0c2bd2161_4" -> "capture_star_this#Capture#(2506493005619132138).63fd6aa2a7efbd48dc1a62c0c2bd2161_3" ; -"capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_1" [label="1: Start Capture_capture_this_with_equal\nFormals: this:Capture*\nLocals: lambda:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19 0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19 \n DECLARE_LOCALS(&return,&lambda,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 64, column 3]\n " color=yellow style=filled] +"capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_1" [label="1: Start Capture_capture_this_explicit\nFormals: this:Capture*\nLocals: lambda:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19 0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19 \n DECLARE_LOCALS(&return,&lambda,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 54, column 3]\n " color=yellow style=filled] - "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_1" -> "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_4" ; -"capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_2" [label="2: Exit Capture_capture_this_with_equal \n " color=yellow style=filled] + "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_1" -> "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_4" ; +"capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_2" [label="2: Exit Capture_capture_this_explicit \n " color=yellow style=filled] -"capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_3" [label="3: Destruction \n _=*&lambda:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19 [line 66, column 3]\n _fun_Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19_~(&lambda:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19*) [line 66, column 3]\n " shape="box"] +"capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_3" [label="3: Destruction \n _=*&lambda:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19 [line 56, column 3]\n _fun_Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19_~(&lambda:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19*) [line 56, column 3]\n " shape="box"] - "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_3" -> "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_2" ; -"capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_4" [label="4: DeclStmt \n *&0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19=(_fun_Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19_operator(),&this) [line 65, column 19]\n _fun_Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19_(&lambda:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19*,&0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19&) [line 65, column 19]\n " shape="box"] + "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_3" -> "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_2" ; +"capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_4" [label="4: DeclStmt \n *&0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19=(_fun_Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19_operator(),&this) [line 55, column 19]\n _fun_Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19_(&lambda:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19*,&0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19&) [line 55, column 19]\n " shape="box"] - "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_4" -> "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_3" ; + "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_4" -> "capture_this_explicit#Capture#(13194085360619722149).2dba35a78268b10ad413414cc832a8f0_3" ; "capture_this_with_auto#Capture#(15696525048884093218).38be242109186a45cc282c38962c68e2_1" [label="1: Start Capture_capture_this_with_auto\nFormals: this:Capture*\nLocals: lambda:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19 0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19 \n DECLARE_LOCALS(&return,&lambda,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 68, column 3]\n " color=yellow style=filled] @@ -189,20 +260,21 @@ digraph cfg { "capture_this_with_auto#Capture#(15696525048884093218).38be242109186a45cc282c38962c68e2_4" -> "capture_this_with_auto#Capture#(15696525048884093218).38be242109186a45cc282c38962c68e2_3" ; -"Capture#Capture#{12117490113068134497|constexpr}.98ffcc03a8acaf01f37e687e09517440_1" [label="1: Start Capture_Capture\nFormals: this:Capture* __param_0:Capture&\nLocals: \n DECLARE_LOCALS(&return); [line 53, column 7]\n " color=yellow style=filled] +"capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_1" [label="1: Start Capture_capture_this_with_equal\nFormals: this:Capture*\nLocals: lambda:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19 0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19 \n DECLARE_LOCALS(&return,&lambda,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 64, column 3]\n " color=yellow style=filled] - "Capture#Capture#{12117490113068134497|constexpr}.98ffcc03a8acaf01f37e687e09517440_1" -> "Capture#Capture#{12117490113068134497|constexpr}.98ffcc03a8acaf01f37e687e09517440_2" ; -"Capture#Capture#{12117490113068134497|constexpr}.98ffcc03a8acaf01f37e687e09517440_2" [label="2: Exit Capture_Capture \n " color=yellow style=filled] + "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_1" -> "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_4" ; +"capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_2" [label="2: Exit Capture_capture_this_with_equal \n " color=yellow style=filled] -"Capture#Capture#{15371931494294124755|constexpr}.9ede96f2e081983279c43accbd64cbd2_1" [label="1: Start Capture_Capture\nFormals: this:Capture* __param_0:Capture const &\nLocals: \n DECLARE_LOCALS(&return); [line 53, column 7]\n " color=yellow style=filled] +"capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_3" [label="3: Destruction \n _=*&lambda:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19 [line 66, column 3]\n _fun_Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19_~(&lambda:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19*) [line 66, column 3]\n " shape="box"] - "Capture#Capture#{15371931494294124755|constexpr}.9ede96f2e081983279c43accbd64cbd2_1" -> "Capture#Capture#{15371931494294124755|constexpr}.9ede96f2e081983279c43accbd64cbd2_2" ; -"Capture#Capture#{15371931494294124755|constexpr}.9ede96f2e081983279c43accbd64cbd2_2" [label="2: Exit Capture_Capture \n " color=yellow style=filled] + "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_3" -> "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_2" ; +"capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_4" [label="4: DeclStmt \n *&0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19=(_fun_Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19_operator(),&this) [line 65, column 19]\n _fun_Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19_(&lambda:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19*,&0$?%__sil_tmpSIL_materialize_temp__n$1:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19&) [line 65, column 19]\n " shape="box"] + "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_4" -> "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_3" ; "operator()#lambda_shared_lambda_lambda1.cpp:11:15#bar#(7708532531154088338).366f354811e123a58e7def3a604b1046_1" [label="1: Start bar::lambda_shared_lambda_lambda1.cpp:11:15_operator()\nFormals: this:bar::lambda_shared_lambda_lambda1.cpp:11:15*\nLocals: i:int \n DECLARE_LOCALS(&return,&i); [line 11, column 18]\n " color=yellow style=filled] @@ -218,13 +290,6 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:11:15#bar#(7708532531154088338).366f354811e123a58e7def3a604b1046_4" -> "operator()#lambda_shared_lambda_lambda1.cpp:11:15#bar#(7708532531154088338).366f354811e123a58e7def3a604b1046_3" ; -"#lambda_shared_lambda_lambda1.cpp:11:15#bar#{14892892509482509619|constexpr}.82a39f4ec411b682c3042c96f268a2b9_1" [label="1: Start bar::lambda_shared_lambda_lambda1.cpp:11:15_\nFormals: this:bar::lambda_shared_lambda_lambda1.cpp:11:15* __param_0:bar::lambda_shared_lambda_lambda1.cpp:11:15&\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 15]\n " color=yellow style=filled] - - - "#lambda_shared_lambda_lambda1.cpp:11:15#bar#{14892892509482509619|constexpr}.82a39f4ec411b682c3042c96f268a2b9_1" -> "#lambda_shared_lambda_lambda1.cpp:11:15#bar#{14892892509482509619|constexpr}.82a39f4ec411b682c3042c96f268a2b9_2" ; -"#lambda_shared_lambda_lambda1.cpp:11:15#bar#{14892892509482509619|constexpr}.82a39f4ec411b682c3042c96f268a2b9_2" [label="2: Exit bar::lambda_shared_lambda_lambda1.cpp:11:15_ \n " color=yellow style=filled] - - "operator()#lambda_shared_lambda_lambda1.cpp:19:17#foo#(10761403337571939980).251572fc6e45e136f499b40da2b7cec4_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:19:17_operator()\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:19:17*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 20]\n " color=yellow style=filled] @@ -236,20 +301,6 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:19:17#foo#(10761403337571939980).251572fc6e45e136f499b40da2b7cec4_3" -> "operator()#lambda_shared_lambda_lambda1.cpp:19:17#foo#(10761403337571939980).251572fc6e45e136f499b40da2b7cec4_2" ; -"#lambda_shared_lambda_lambda1.cpp:19:17#foo#{18379037134042516079|constexpr}.f30eeee4fd61eeb8d7c0f0b7e4ed975f_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:19:17_\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:19:17* __param_0:foo::lambda_shared_lambda_lambda1.cpp:19:17&\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 17]\n " color=yellow style=filled] - - - "#lambda_shared_lambda_lambda1.cpp:19:17#foo#{18379037134042516079|constexpr}.f30eeee4fd61eeb8d7c0f0b7e4ed975f_1" -> "#lambda_shared_lambda_lambda1.cpp:19:17#foo#{18379037134042516079|constexpr}.f30eeee4fd61eeb8d7c0f0b7e4ed975f_2" ; -"#lambda_shared_lambda_lambda1.cpp:19:17#foo#{18379037134042516079|constexpr}.f30eeee4fd61eeb8d7c0f0b7e4ed975f_2" [label="2: Exit foo::lambda_shared_lambda_lambda1.cpp:19:17_ \n " color=yellow style=filled] - - -"#lambda_shared_lambda_lambda1.cpp:20:12#foo#{2457771116144546786|constexpr}.8d67e886151fe32329ba2e2df99417f3_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:20:12_\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:20:12* __param_0:foo::lambda_shared_lambda_lambda1.cpp:20:12&\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 12]\n " color=yellow style=filled] - - - "#lambda_shared_lambda_lambda1.cpp:20:12#foo#{2457771116144546786|constexpr}.8d67e886151fe32329ba2e2df99417f3_1" -> "#lambda_shared_lambda_lambda1.cpp:20:12#foo#{2457771116144546786|constexpr}.8d67e886151fe32329ba2e2df99417f3_2" ; -"#lambda_shared_lambda_lambda1.cpp:20:12#foo#{2457771116144546786|constexpr}.8d67e886151fe32329ba2e2df99417f3_2" [label="2: Exit foo::lambda_shared_lambda_lambda1.cpp:20:12_ \n " color=yellow style=filled] - - "operator()#lambda_shared_lambda_lambda1.cpp:20:12#foo#(8701050879076719020).0b2c110c980ade73ba5c317e22981b86_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:20:12_operator()\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:20:12* i:int\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 20]\n " color=yellow style=filled] @@ -261,13 +312,6 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:20:12#foo#(8701050879076719020).0b2c110c980ade73ba5c317e22981b86_3" -> "operator()#lambda_shared_lambda_lambda1.cpp:20:12#foo#(8701050879076719020).0b2c110c980ade73ba5c317e22981b86_2" ; -"#lambda_shared_lambda_lambda1.cpp:26:12#fooOK#{12805486487749307717|constexpr}.5d2a515dbfe9a2c0a5c89ce06ced0b70_1" [label="1: Start fooOK::lambda_shared_lambda_lambda1.cpp:26:12_\nFormals: this:fooOK::lambda_shared_lambda_lambda1.cpp:26:12* __param_0:fooOK::lambda_shared_lambda_lambda1.cpp:26:12&\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 12]\n " color=yellow style=filled] - - - "#lambda_shared_lambda_lambda1.cpp:26:12#fooOK#{12805486487749307717|constexpr}.5d2a515dbfe9a2c0a5c89ce06ced0b70_1" -> "#lambda_shared_lambda_lambda1.cpp:26:12#fooOK#{12805486487749307717|constexpr}.5d2a515dbfe9a2c0a5c89ce06ced0b70_2" ; -"#lambda_shared_lambda_lambda1.cpp:26:12#fooOK#{12805486487749307717|constexpr}.5d2a515dbfe9a2c0a5c89ce06ced0b70_2" [label="2: Exit fooOK::lambda_shared_lambda_lambda1.cpp:26:12_ \n " color=yellow style=filled] - - "operator()#lambda_shared_lambda_lambda1.cpp:26:12#fooOK#(3436637400147523223).3b2982544334f951fa2c663b7ebabd16_1" [label="1: Start fooOK::lambda_shared_lambda_lambda1.cpp:26:12_operator()\nFormals: this:fooOK::lambda_shared_lambda_lambda1.cpp:26:12* i:int\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 20]\n " color=yellow style=filled] @@ -334,17 +378,6 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#(1084455887557995828.5f0b81c0997b564513af8916b5468947_3" -> "operator()#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#(1084455887557995828.5f0b81c0997b564513af8916b5468947_2" ; -"#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_1" [label="1: Start Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19_\nFormals: this:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19* __param_0:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19&\nLocals: \n DECLARE_LOCALS(&return); [line 55, column 19]\n " color=yellow style=filled] - - - "#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_1" -> "#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_3" ; -"#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_2" [label="2: Exit Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19_ \n " color=yellow style=filled] - - -"#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_3" [label="3: Constructor Init \n n$0=*&this:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19* [line 55, column 19]\n n$1=*&__param_0:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:55:19& [line 55, column 19]\n n$2=*n$1.:Capture* [line 55, column 19]\n *n$0.:Capture*=n$2 [line 55, column 19]\n " shape="box"] - - - "#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_3" -> "#lambda_shared_lambda_lambda1.cpp:55:19#capture_this_explicit#Capture#{15581681824770184595|constexp.ec00a7d90451e0c7680026716c904b92_2" ; "operator()#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#(11891233366713773989).7fdd5551697df84cd5fe07ec280b3564_1" [label="1: Start Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19_operator()\nFormals: this:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19*\nLocals: \n DECLARE_LOCALS(&return); [line 59, column 27]\n " color=yellow style=filled] @@ -352,17 +385,6 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#(11891233366713773989).7fdd5551697df84cd5fe07ec280b3564_2" [label="2: Exit Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19_operator() \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_1" [label="1: Start Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19_\nFormals: this:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19* __param_0:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19&\nLocals: \n DECLARE_LOCALS(&return); [line 59, column 19]\n " color=yellow style=filled] - - - "#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_1" -> "#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_3" ; -"#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_2" [label="2: Exit Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19_ \n " color=yellow style=filled] - - -"#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_3" [label="3: Constructor Init \n n$0=*&this:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19* [line 59, column 19]\n n$1=*&__param_0:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:59:19& [line 59, column 19]\n _fun_Capture_Capture(n$0.:Capture*,n$1.:Capture&) [line 59, column 19]\n " shape="box"] - - - "#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_3" -> "#lambda_shared_lambda_lambda1.cpp:59:19#capture_star_this#Capture#{9456129203468966420|constexpr}.4865d22cd69692723766b951221a21d1_2" ; "operator()#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#(91082432562742530.7f80250f026964d947c1e499000303d8_1" [label="1: Start Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19_operator()\nFormals: this:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19*\nLocals: \n DECLARE_LOCALS(&return); [line 65, column 23]\n " color=yellow style=filled] @@ -374,17 +396,6 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#(91082432562742530.7f80250f026964d947c1e499000303d8_3" -> "operator()#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#(91082432562742530.7f80250f026964d947c1e499000303d8_2" ; -"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_1" [label="1: Start Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19_\nFormals: this:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19* __param_0:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19&\nLocals: \n DECLARE_LOCALS(&return); [line 65, column 19]\n " color=yellow style=filled] - - - "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_1" -> "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_3" ; -"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_2" [label="2: Exit Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19_ \n " color=yellow style=filled] - - -"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_3" [label="3: Constructor Init \n n$0=*&this:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19* [line 65, column 19]\n n$1=*&__param_0:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:65:19& [line 65, column 19]\n n$2=*n$1.:Capture* [line 65, column 19]\n *n$0.:Capture*=n$2 [line 65, column 19]\n " shape="box"] - - - "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_3" -> "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_equal#Capture#{16013381636753347826|conste.6afb74b89c25ee911bcc35939b7dddc6_2" ; "operator()#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#(476955214552649307.b6b975a86b82f1e6c9bb2478f86b7473_1" [label="1: Start Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19_operator()\nFormals: this:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19*\nLocals: \n DECLARE_LOCALS(&return); [line 69, column 23]\n " color=yellow style=filled] @@ -396,15 +407,4 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#(476955214552649307.b6b975a86b82f1e6c9bb2478f86b7473_3" -> "operator()#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#(476955214552649307.b6b975a86b82f1e6c9bb2478f86b7473_2" ; -"#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_1" [label="1: Start Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19_\nFormals: this:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19* __param_0:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19&\nLocals: \n DECLARE_LOCALS(&return); [line 69, column 19]\n " color=yellow style=filled] - - - "#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_1" -> "#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_3" ; -"#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_2" [label="2: Exit Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19_ \n " color=yellow style=filled] - - -"#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_3" [label="3: Constructor Init \n n$0=*&this:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19* [line 69, column 19]\n n$1=*&__param_0:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:69:19& [line 69, column 19]\n n$2=*n$1.:Capture* [line 69, column 19]\n *n$0.:Capture*=n$2 [line 69, column 19]\n " shape="box"] - - - "#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_3" -> "#lambda_shared_lambda_lambda1.cpp:69:19#capture_this_with_auto#Capture#{10854495330849287568|constex.8d1ac582b7a23cd3c32a1a4b8e266cf3_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/methods/byvals.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/methods/byvals.cpp.dot index 2159730d5..6faedfd9e 100644 --- a/infer/tests/codetoanalyze/cpp/shared/methods/byvals.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/methods/byvals.cpp.dot @@ -1,35 +1,60 @@ /* @generated */ digraph cfg { -"dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_1" [label="1: Start __infer_globals_initializer_pass_by_val::dummy_struct\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 17, column 1]\n " color=yellow style=filled] +"decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_1" [label="1: Start pass_by_val::decltype_by_ref\nFormals: p:pass_by_val::PlainStruct&\nLocals: \n DECLARE_LOCALS(&return); [line 40, column 1]\n " color=yellow style=filled] - "dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_1" -> "dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_3" ; -"dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_2" [label="2: Exit __infer_globals_initializer_pass_by_val::dummy_struct \n " color=yellow style=filled] + "decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_1" -> "decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_3" ; +"decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_2" [label="2: Exit pass_by_val::decltype_by_ref \n " color=yellow style=filled] -"dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_3" [label="3: DeclStmt \n *&#GB$pass_by_val::dummy_struct.x:int=0 [line 17, column 25]\n *&#GB$pass_by_val::dummy_struct.y:int*=null [line 17, column 25]\n " shape="box"] +"decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_3" [label="3: Return Stmt \n n$0=*&p:pass_by_val::PlainStruct& [line 40, column 58]\n n$1=*n$0.x:int [line 40, column 58]\n n$2=*&p:pass_by_val::PlainStruct& [line 40, column 66]\n n$3=*n$2.y:int* [line 40, column 65]\n n$4=*n$3:int [line 40, column 64]\n *&return:int=(n$1 + n$4) [line 40, column 51]\n " shape="box"] - "dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_3" -> "dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_2" ; -"perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_1" [label="1: Start pass_by_val::perfect_forwarding_by_ref\nFormals: __return_param:pass_by_val::Id*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$2:int 0$?%__sil_tmpSIL_materialize_temp__n$1:pass_by_val::Id b:int a:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$2,&0$?%__sil_tmpSIL_materialize_temp__n$1,&b,&a); [line 64, column 1]\n " color=yellow style=filled] + "decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_3" -> "decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_2" ; +"decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_1" [label="1: Start pass_by_val::decltype_by_val\nFormals: p:pass_by_val::PlainStruct&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 38, column 1]\n " color=yellow style=filled] - "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_1" -> "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_5" ; -"perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_2" [label="2: Exit pass_by_val::perfect_forwarding_by_ref \n " color=yellow style=filled] + "decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_1" -> "decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_3" ; +"decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_2" [label="2: Exit pass_by_val::decltype_by_val \n " color=yellow style=filled] -"perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_3" [label="3: Return Stmt \n n$0=*&__return_param:pass_by_val::Id* [line 66, column 3]\n *&0$?%__sil_tmpSIL_materialize_temp__n$2:int=2 [line 66, column 29]\n _fun_pass_by_val::make_id(&a:int&,&b:int&,&0$?%__sil_tmpSIL_materialize_temp__n$2:int&,&0$?%__sil_tmpSIL_materialize_temp__n$1:pass_by_val::Id*) [line 66, column 10]\n _fun_pass_by_val::Id_Id(n$0:pass_by_val::Id*,&0$?%__sil_tmpSIL_materialize_temp__n$1:pass_by_val::Id&) [line 66, column 10]\n " shape="box"] +"decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_3" [label="3: Return Stmt \n n$0=*&p:pass_by_val::PlainStruct& [line 38, column 56]\n n$1=*n$0.x:int [line 38, column 56]\n n$2=*&p:pass_by_val::PlainStruct& [line 38, column 64]\n n$3=*n$2.y:int* [line 38, column 63]\n n$4=*n$3:int [line 38, column 62]\n *&return:int=(n$1 + n$4) [line 38, column 49]\n " shape="box"] - "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_3" -> "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_2" ; -"perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_4" [label="4: DeclStmt \n *&b:int=1 [line 65, column 3]\n " shape="box"] + "decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_3" -> "decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_2" ; +"dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_1" [label="1: Start pass_by_val::dependent_by_ref\nFormals: p:pass_by_val::PlainStruct const &\nLocals: \n DECLARE_LOCALS(&return); [line 50, column 1]\n " color=yellow style=filled] - "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_4" -> "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_3" ; -"perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_5" [label="5: DeclStmt \n *&a:int=0 [line 65, column 3]\n " shape="box"] + "dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_1" -> "dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_3" ; +"dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_2" [label="2: Exit pass_by_val::dependent_by_ref \n " color=yellow style=filled] - "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_5" -> "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_4" ; +"dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_3" [label="3: Return Stmt \n n$0=*&p:pass_by_val::PlainStruct const & [line 50, column 65]\n n$1=*n$0.x:int [line 50, column 65]\n n$2=*&p:pass_by_val::PlainStruct const & [line 50, column 73]\n n$3=*n$2.y:int* [line 50, column 72]\n n$4=*n$3:int [line 50, column 71]\n *&return:int=(n$1 + n$4) [line 50, column 58]\n " shape="box"] + + + "dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_3" -> "dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_2" ; +"dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_1" [label="1: Start pass_by_val::dependent_by_val\nFormals: p:pass_by_val::PlainStruct&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 49, column 1]\n " color=yellow style=filled] + + + "dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_1" -> "dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_3" ; +"dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_2" [label="2: Exit pass_by_val::dependent_by_val \n " color=yellow style=filled] + + +"dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_3" [label="3: Return Stmt \n n$0=*&p:pass_by_val::PlainStruct& [line 49, column 58]\n n$1=*n$0.x:int [line 49, column 58]\n n$2=*&p:pass_by_val::PlainStruct& [line 49, column 66]\n n$3=*n$2.y:int* [line 49, column 65]\n n$4=*n$3:int [line 49, column 64]\n *&return:int=(n$1 + n$4) [line 49, column 51]\n " shape="box"] + + + "dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_3" -> "dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_2" ; +"dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_1" [label="1: Start __infer_globals_initializer_pass_by_val::dummy_struct\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 17, column 1]\n " color=yellow style=filled] + + + "dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_1" -> "dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_3" ; +"dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_2" [label="2: Exit __infer_globals_initializer_pass_by_val::dummy_struct \n " color=yellow style=filled] + + +"dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_3" [label="3: DeclStmt \n *&#GB$pass_by_val::dummy_struct.x:int=0 [line 17, column 25]\n *&#GB$pass_by_val::dummy_struct.y:int*=null [line 17, column 25]\n " shape="box"] + + + "dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_3" -> "dummy_struct#__infer_globals_initializer_pass_by_val.24fe54080733cebf362d2b34e691bb44_2" ; "forward#std#5548362574050729124.664bf3a19e8401f31df778b67554bdae_1" [label="1: Start std::forward\nFormals: __t:int&\nLocals: \n DECLARE_LOCALS(&return); [line 2217, column 1]\n " color=yellow style=filled] @@ -63,28 +88,36 @@ digraph cfg { "make_id#pass_by_val#6647322778693099135.2f2dd9bec9bb8475abd845248a5b9203_3" -> "make_id#pass_by_val#6647322778693099135.2f2dd9bec9bb8475abd845248a5b9203_2" ; -"plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_1" [label="1: Start pass_by_val::plain_struct_by_ref\nFormals: lref:pass_by_val::PlainStruct& rref:pass_by_val::PlainStruct& ptr:pass_by_val::PlainStruct*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 1]\n " color=yellow style=filled] +"perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_1" [label="1: Start pass_by_val::perfect_forwarding_by_ref\nFormals: __return_param:pass_by_val::Id*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$2:int 0$?%__sil_tmpSIL_materialize_temp__n$1:pass_by_val::Id b:int a:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$2,&0$?%__sil_tmpSIL_materialize_temp__n$1,&b,&a); [line 64, column 1]\n " color=yellow style=filled] - "plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_1" -> "plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_3" ; -"plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_2" [label="2: Exit pass_by_val::plain_struct_by_ref \n " color=yellow style=filled] + "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_1" -> "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_5" ; +"perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_2" [label="2: Exit pass_by_val::perfect_forwarding_by_ref \n " color=yellow style=filled] -"plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_3" [label="3: Return Stmt \n n$0=*&lref:pass_by_val::PlainStruct& [line 23, column 10]\n n$1=*n$0.x:int [line 23, column 10]\n n$2=*&rref:pass_by_val::PlainStruct& [line 23, column 19]\n n$3=*n$2.x:int [line 23, column 19]\n n$4=*&ptr:pass_by_val::PlainStruct* [line 23, column 28]\n n$5=*n$4.x:int [line 23, column 28]\n *&return:int=((n$1 + n$3) + n$5) [line 23, column 3]\n " shape="box"] +"perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_3" [label="3: Return Stmt \n n$0=*&__return_param:pass_by_val::Id* [line 66, column 3]\n *&0$?%__sil_tmpSIL_materialize_temp__n$2:int=2 [line 66, column 29]\n _fun_pass_by_val::make_id(&a:int&,&b:int&,&0$?%__sil_tmpSIL_materialize_temp__n$2:int&,&0$?%__sil_tmpSIL_materialize_temp__n$1:pass_by_val::Id*) [line 66, column 10]\n _fun_pass_by_val::Id_Id(n$0:pass_by_val::Id*,&0$?%__sil_tmpSIL_materialize_temp__n$1:pass_by_val::Id&) [line 66, column 10]\n " shape="box"] - "plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_3" -> "plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_2" ; -"decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_1" [label="1: Start pass_by_val::decltype_by_ref\nFormals: p:pass_by_val::PlainStruct&\nLocals: \n DECLARE_LOCALS(&return); [line 40, column 1]\n " color=yellow style=filled] + "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_3" -> "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_2" ; +"perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_4" [label="4: DeclStmt \n *&b:int=1 [line 65, column 3]\n " shape="box"] - "decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_1" -> "decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_3" ; -"decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_2" [label="2: Exit pass_by_val::decltype_by_ref \n " color=yellow style=filled] + "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_4" -> "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_3" ; +"perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_5" [label="5: DeclStmt \n *&a:int=0 [line 65, column 3]\n " shape="box"] -"decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_3" [label="3: Return Stmt \n n$0=*&p:pass_by_val::PlainStruct& [line 40, column 58]\n n$1=*n$0.x:int [line 40, column 58]\n n$2=*&p:pass_by_val::PlainStruct& [line 40, column 66]\n n$3=*n$2.y:int* [line 40, column 65]\n n$4=*n$3:int [line 40, column 64]\n *&return:int=(n$1 + n$4) [line 40, column 51]\n " shape="box"] + "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_5" -> "perfect_forwarding_by_ref#pass_by_val#7578991627406493712.47db45acfc842e77ec927aa5a23ec0ee_4" ; +"plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_1" [label="1: Start pass_by_val::plain_struct_by_ref\nFormals: lref:pass_by_val::PlainStruct& rref:pass_by_val::PlainStruct& ptr:pass_by_val::PlainStruct*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 1]\n " color=yellow style=filled] - "decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_3" -> "decltype_by_ref#pass_by_val#7827598625585178144.8fa35b5b24f764bae803ce1f6e468516_2" ; + "plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_1" -> "plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_3" ; +"plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_2" [label="2: Exit pass_by_val::plain_struct_by_ref \n " color=yellow style=filled] + + +"plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_3" [label="3: Return Stmt \n n$0=*&lref:pass_by_val::PlainStruct& [line 23, column 10]\n n$1=*n$0.x:int [line 23, column 10]\n n$2=*&rref:pass_by_val::PlainStruct& [line 23, column 19]\n n$3=*n$2.x:int [line 23, column 19]\n n$4=*&ptr:pass_by_val::PlainStruct* [line 23, column 28]\n n$5=*n$4.x:int [line 23, column 28]\n *&return:int=((n$1 + n$3) + n$5) [line 23, column 3]\n " shape="box"] + + + "plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_3" -> "plain_struct_by_ref#pass_by_val#2657428317109106311.700667e64fd3e54821e50cc02318a193_2" ; "plain_struct_by_val#pass_by_val#7415219466606029544.eb0e0bdde375e8d1716470ec792b2450_1" [label="1: Start pass_by_val::plain_struct_by_val\nFormals: p:pass_by_val::PlainStruct&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] @@ -96,39 +129,28 @@ digraph cfg { "plain_struct_by_val#pass_by_val#7415219466606029544.eb0e0bdde375e8d1716470ec792b2450_3" -> "plain_struct_by_val#pass_by_val#7415219466606029544.eb0e0bdde375e8d1716470ec792b2450_2" ; -"decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_1" [label="1: Start pass_by_val::decltype_by_val\nFormals: p:pass_by_val::PlainStruct&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 38, column 1]\n " color=yellow style=filled] - - - "decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_1" -> "decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_3" ; -"decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_2" [label="2: Exit pass_by_val::decltype_by_val \n " color=yellow style=filled] - - -"decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_3" [label="3: Return Stmt \n n$0=*&p:pass_by_val::PlainStruct& [line 38, column 56]\n n$1=*n$0.x:int [line 38, column 56]\n n$2=*&p:pass_by_val::PlainStruct& [line 38, column 64]\n n$3=*n$2.y:int* [line 38, column 63]\n n$4=*n$3:int [line 38, column 62]\n *&return:int=(n$1 + n$4) [line 38, column 49]\n " shape="box"] - - - "decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_3" -> "decltype_by_val#pass_by_val#14279156289723785232.72f90cb8cd80d6281316dd4fe0c3453c_2" ; -"dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_1" [label="1: Start pass_by_val::dependent_by_val\nFormals: p:pass_by_val::PlainStruct&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 49, column 1]\n " color=yellow style=filled] +"to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_1" [label="1: Start pass_by_val::to_double\nFormals: x:int\nLocals: \n DECLARE_LOCALS(&return); [line 52, column 1]\n " color=yellow style=filled] - "dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_1" -> "dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_3" ; -"dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_2" [label="2: Exit pass_by_val::dependent_by_val \n " color=yellow style=filled] + "to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_1" -> "to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_3" ; +"to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_2" [label="2: Exit pass_by_val::to_double \n " color=yellow style=filled] -"dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_3" [label="3: Return Stmt \n n$0=*&p:pass_by_val::PlainStruct& [line 49, column 58]\n n$1=*n$0.x:int [line 49, column 58]\n n$2=*&p:pass_by_val::PlainStruct& [line 49, column 66]\n n$3=*n$2.y:int* [line 49, column 65]\n n$4=*n$3:int [line 49, column 64]\n *&return:int=(n$1 + n$4) [line 49, column 51]\n " shape="box"] +"to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_3" [label="3: Return Stmt \n n$0=*&x:int [line 52, column 34]\n *&return:double=n$0 [line 52, column 27]\n " shape="box"] - "dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_3" -> "dependent_by_val#pass_by_val#16173371529174507122.c006229ea6b255a1298dc7d547bac014_2" ; -"dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_1" [label="1: Start pass_by_val::dependent_by_ref\nFormals: p:pass_by_val::PlainStruct const &\nLocals: \n DECLARE_LOCALS(&return); [line 50, column 1]\n " color=yellow style=filled] + "to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_3" -> "to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_2" ; +"tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_1" [label="1: Start pass_by_val::tricky_dependent_by_val\nFormals: t:double\nLocals: \n DECLARE_LOCALS(&return); [line 57, column 1]\n " color=yellow style=filled] - "dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_1" -> "dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_3" ; -"dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_2" [label="2: Exit pass_by_val::dependent_by_ref \n " color=yellow style=filled] + "tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_1" -> "tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_3" ; +"tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_2" [label="2: Exit pass_by_val::tricky_dependent_by_val \n " color=yellow style=filled] -"dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_3" [label="3: Return Stmt \n n$0=*&p:pass_by_val::PlainStruct const & [line 50, column 65]\n n$1=*n$0.x:int [line 50, column 65]\n n$2=*&p:pass_by_val::PlainStruct const & [line 50, column 73]\n n$3=*n$2.y:int* [line 50, column 72]\n n$4=*n$3:int [line 50, column 71]\n *&return:int=(n$1 + n$4) [line 50, column 58]\n " shape="box"] +"tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_3" [label="3: Return Stmt \n n$0=*&t:double [line 57, column 62]\n *&return:double=n$0 [line 57, column 55]\n " shape="box"] - "dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_3" -> "dependent_by_ref#pass_by_val#15143379324942623593.5ccf1ab5c879a0bcfec55b566c6a60db_2" ; + "tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_3" -> "tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_2" ; "type_alias_by_ref#pass_by_val#1261506501219871814.f656e449ac4cf31b24b37d7b81156083_1" [label="1: Start pass_by_val::type_alias_by_ref\nFormals: p1:pass_by_val::PlainStruct* p2:pass_by_val::PlainStruct const *\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 1]\n " color=yellow style=filled] @@ -151,28 +173,6 @@ digraph cfg { "type_alias_by_val#pass_by_val#9273827923998572097.425db1bd7e6b48116fa99ed40b0b6415_3" -> "type_alias_by_val#pass_by_val#9273827923998572097.425db1bd7e6b48116fa99ed40b0b6415_2" ; -"tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_1" [label="1: Start pass_by_val::tricky_dependent_by_val\nFormals: t:double\nLocals: \n DECLARE_LOCALS(&return); [line 57, column 1]\n " color=yellow style=filled] - - - "tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_1" -> "tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_3" ; -"tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_2" [label="2: Exit pass_by_val::tricky_dependent_by_val \n " color=yellow style=filled] - - -"tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_3" [label="3: Return Stmt \n n$0=*&t:double [line 57, column 62]\n *&return:double=n$0 [line 57, column 55]\n " shape="box"] - - - "tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_3" -> "tricky_dependent_by_val#pass_by_val#11704838728234311959.2c9738321ba9545daa75926f2565403e_2" ; -"to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_1" [label="1: Start pass_by_val::to_double\nFormals: x:int\nLocals: \n DECLARE_LOCALS(&return); [line 52, column 1]\n " color=yellow style=filled] - - - "to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_1" -> "to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_3" ; -"to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_2" [label="2: Exit pass_by_val::to_double \n " color=yellow style=filled] - - -"to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_3" [label="3: Return Stmt \n n$0=*&x:int [line 52, column 34]\n *&return:double=n$0 [line 52, column 27]\n " shape="box"] - - - "to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_3" -> "to_double#pass_by_val#15152319343034292227.aa9254ca74e20265f2daa2c4c321444a_2" ; "Id#Id#pass_by_val#{3384099991783983184}.e286af060b6cead08a43f9654ad715c7_1" [label="1: Start pass_by_val::Id_Id\nFormals: this:pass_by_val::Id* __param_0:int __param_1:int& __param_2:int&\nLocals: \n DECLARE_LOCALS(&return); [line 46, column 3]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/methods/conversion_operator.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/methods/conversion_operator.cpp.dot index 1d3245646..e3fe60385 100644 --- a/infer/tests/codetoanalyze/cpp/shared/methods/conversion_operator.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/methods/conversion_operator.cpp.dot @@ -40,54 +40,46 @@ digraph cfg { "branch_div0#conversion_operator#6762751670974669482.0ad6ec49c1dc8988836c6e44e9d2b402_10" -> "branch_div0#conversion_operator#6762751670974669482.0ad6ec49c1dc8988836c6e44e9d2b402_5" ; -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_1" [label="1: Start conversion_operator::y_branch_div0\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$0:conversion_operator::X 0$?%__sil_tmpSIL_materialize_temp__n$1:conversion_operator::X 0$?%__sil_tmp__temp_construct_n$5:conversion_operator::X 0$?%__sil_tmpSIL_materialize_temp__n$6:conversion_operator::X v:int 0$?%__sil_tmp__temp_construct_n$11:conversion_operator::X 0$?%__sil_tmpSIL_materialize_temp__n$12:conversion_operator::X y:conversion_operator::Y \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$0,&0$?%__sil_tmpSIL_materialize_temp__n$1,&0$?%__sil_tmp__temp_construct_n$5,&0$?%__sil_tmpSIL_materialize_temp__n$6,&v,&0$?%__sil_tmp__temp_construct_n$11,&0$?%__sil_tmpSIL_materialize_temp__n$12,&y); [line 43, column 1]\n " color=yellow style=filled] - - - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_1" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_12" ; -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_2" [label="2: Exit conversion_operator::y_branch_div0 \n " color=yellow style=filled] - - -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_3" [label="3: Return Stmt \n _=*&y:conversion_operator::Y [line 51, column 13]\n _fun_conversion_operator::Y_operator_X(&y:conversion_operator::Y&,&0$?%__sil_tmpSIL_materialize_temp__n$1:conversion_operator::X*) [line 51, column 13]\n _fun_conversion_operator::X_X(&0$?%__sil_tmp__temp_construct_n$0:conversion_operator::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:conversion_operator::X&) [line 51, column 10]\n n$4=_fun_conversion_operator::X_operator_int(&0$?%__sil_tmp__temp_construct_n$0:conversion_operator::X&) [line 51, column 10]\n *&return:int=n$4 [line 51, column 3]\n " shape="box"] +"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_1" [label="1: Start conversion_operator::branch_div1\nFormals: \nLocals: v:int x:conversion_operator::X \n DECLARE_LOCALS(&return,&v,&x); [line 63, column 1]\n " color=yellow style=filled] - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_3" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_2" ; -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_4" [label="4: + \n " ] + "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_1" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_10" ; +"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_2" [label="2: Exit conversion_operator::branch_div1 \n " color=yellow style=filled] - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_4" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_3" ; -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_5" [label="5: Call _fun_conversion_operator::X_operator_bool \n _=*&y:conversion_operator::Y [line 47, column 10]\n _fun_conversion_operator::Y_operator_X(&y:conversion_operator::Y&,&0$?%__sil_tmpSIL_materialize_temp__n$6:conversion_operator::X*) [line 47, column 10]\n _fun_conversion_operator::X_X(&0$?%__sil_tmp__temp_construct_n$5:conversion_operator::X*,&0$?%__sil_tmpSIL_materialize_temp__n$6:conversion_operator::X&) [line 47, column 7]\n n$9=_fun_conversion_operator::X_operator_bool(&0$?%__sil_tmp__temp_construct_n$5:conversion_operator::X&) [line 47, column 7]\n " shape="box"] +"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_3" [label="3: Return Stmt \n _=*&x:conversion_operator::X [line 69, column 10]\n n$1=_fun_conversion_operator::X_operator_int(&x:conversion_operator::X&) [line 69, column 10]\n *&return:int=n$1 [line 69, column 3]\n _=*&x:conversion_operator::X [line 69, column 10]\n _fun_conversion_operator::X_~X(&x:conversion_operator::X*) [line 69, column 10]\n " shape="box"] - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_5" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_6" ; - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_5" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_7" ; -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_6" [label="6: Prune (true branch, if) \n PRUNE(n$9, true); [line 47, column 7]\n " shape="invhouse"] + "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_3" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_2" ; +"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_4" [label="4: + \n " ] - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_6" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_9" ; -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_7" [label="7: Prune (false branch, if) \n PRUNE(!n$9, false); [line 47, column 7]\n " shape="invhouse"] + "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_4" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_3" ; +"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_5" [label="5: Call _fun_conversion_operator::X_operator_bool \n _=*&x:conversion_operator::X [line 65, column 7]\n n$4=_fun_conversion_operator::X_operator_bool(&x:conversion_operator::X&) [line 65, column 7]\n " shape="box"] - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_7" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_4" ; -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_8" [label="8: Return Stmt \n n$10=*&v:int [line 49, column 16]\n *&return:int=(1 / n$10) [line 49, column 5]\n " shape="box"] + "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_5" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_6" ; + "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_5" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_7" ; +"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_6" [label="6: Prune (true branch, if) \n PRUNE(n$4, true); [line 65, column 7]\n " shape="invhouse"] - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_8" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_2" ; -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_9" [label="9: DeclStmt \n _=*&y:conversion_operator::Y [line 48, column 16]\n _fun_conversion_operator::Y_operator_X(&y:conversion_operator::Y&,&0$?%__sil_tmpSIL_materialize_temp__n$12:conversion_operator::X*) [line 48, column 16]\n _fun_conversion_operator::X_X(&0$?%__sil_tmp__temp_construct_n$11:conversion_operator::X*,&0$?%__sil_tmpSIL_materialize_temp__n$12:conversion_operator::X&) [line 48, column 13]\n n$15=_fun_conversion_operator::X_operator_int(&0$?%__sil_tmp__temp_construct_n$11:conversion_operator::X&) [line 48, column 13]\n *&v:int=n$15 [line 48, column 5]\n " shape="box"] + "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_6" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_9" ; +"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_7" [label="7: Prune (false branch, if) \n PRUNE(!n$4, false); [line 65, column 7]\n " shape="invhouse"] - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_9" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_8" ; -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_10" [label="10: BinaryOperatorStmt: Assign \n *&y.b:int=1 [line 46, column 3]\n " shape="box"] + "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_7" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_4" ; +"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_8" [label="8: Return Stmt \n n$5=*&v:int [line 67, column 16]\n *&return:int=(1 / n$5) [line 67, column 5]\n _=*&x:conversion_operator::X [line 67, column 16]\n _fun_conversion_operator::X_~X(&x:conversion_operator::X*) [line 67, column 16]\n " shape="box"] - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_10" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_5" ; -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_11" [label="11: BinaryOperatorStmt: Assign \n *&y.f:int=0 [line 45, column 3]\n " shape="box"] + "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_8" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_2" ; +"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_9" [label="9: DeclStmt \n _=*&x:conversion_operator::X [line 66, column 13]\n n$8=_fun_conversion_operator::X_operator_int(&x:conversion_operator::X&) [line 66, column 13]\n *&v:int=n$8 [line 66, column 5]\n " shape="box"] - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_11" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_10" ; -"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_12" [label="12: DeclStmt \n _fun_conversion_operator::Y_Y(&y:conversion_operator::Y*) [line 44, column 5]\n " shape="box"] + "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_9" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_8" ; +"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_10" [label="10: DeclStmt \n _fun_conversion_operator::X_X(&x:conversion_operator::X*,1:int,1:_Bool) [line 64, column 5]\n " shape="box"] - "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_12" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_11" ; + "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_10" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_5" ; "branch_no_div#conversion_operator#18429458682592639842.4c7cf0cc20989fd2ea431840e11b2521_1" [label="1: Start conversion_operator::branch_no_div\nFormals: \nLocals: v:int x:conversion_operator::X \n DECLARE_LOCALS(&return,&v,&x); [line 54, column 1]\n " color=yellow style=filled] @@ -128,68 +120,69 @@ digraph cfg { "branch_no_div#conversion_operator#18429458682592639842.4c7cf0cc20989fd2ea431840e11b2521_10" -> "branch_no_div#conversion_operator#18429458682592639842.4c7cf0cc20989fd2ea431840e11b2521_5" ; -"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_1" [label="1: Start conversion_operator::branch_div1\nFormals: \nLocals: v:int x:conversion_operator::X \n DECLARE_LOCALS(&return,&v,&x); [line 63, column 1]\n " color=yellow style=filled] +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_1" [label="1: Start conversion_operator::y_branch_div0\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$0:conversion_operator::X 0$?%__sil_tmpSIL_materialize_temp__n$1:conversion_operator::X 0$?%__sil_tmp__temp_construct_n$5:conversion_operator::X 0$?%__sil_tmpSIL_materialize_temp__n$6:conversion_operator::X v:int 0$?%__sil_tmp__temp_construct_n$11:conversion_operator::X 0$?%__sil_tmpSIL_materialize_temp__n$12:conversion_operator::X y:conversion_operator::Y \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$0,&0$?%__sil_tmpSIL_materialize_temp__n$1,&0$?%__sil_tmp__temp_construct_n$5,&0$?%__sil_tmpSIL_materialize_temp__n$6,&v,&0$?%__sil_tmp__temp_construct_n$11,&0$?%__sil_tmpSIL_materialize_temp__n$12,&y); [line 43, column 1]\n " color=yellow style=filled] - "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_1" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_10" ; -"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_2" [label="2: Exit conversion_operator::branch_div1 \n " color=yellow style=filled] + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_1" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_12" ; +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_2" [label="2: Exit conversion_operator::y_branch_div0 \n " color=yellow style=filled] -"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_3" [label="3: Return Stmt \n _=*&x:conversion_operator::X [line 69, column 10]\n n$1=_fun_conversion_operator::X_operator_int(&x:conversion_operator::X&) [line 69, column 10]\n *&return:int=n$1 [line 69, column 3]\n _=*&x:conversion_operator::X [line 69, column 10]\n _fun_conversion_operator::X_~X(&x:conversion_operator::X*) [line 69, column 10]\n " shape="box"] +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_3" [label="3: Return Stmt \n _=*&y:conversion_operator::Y [line 51, column 13]\n _fun_conversion_operator::Y_operator_X(&y:conversion_operator::Y&,&0$?%__sil_tmpSIL_materialize_temp__n$1:conversion_operator::X*) [line 51, column 13]\n _fun_conversion_operator::X_X(&0$?%__sil_tmp__temp_construct_n$0:conversion_operator::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:conversion_operator::X&) [line 51, column 10]\n n$4=_fun_conversion_operator::X_operator_int(&0$?%__sil_tmp__temp_construct_n$0:conversion_operator::X&) [line 51, column 10]\n *&return:int=n$4 [line 51, column 3]\n " shape="box"] - "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_3" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_2" ; -"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_4" [label="4: + \n " ] + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_3" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_2" ; +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_4" [label="4: + \n " ] - "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_4" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_3" ; -"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_5" [label="5: Call _fun_conversion_operator::X_operator_bool \n _=*&x:conversion_operator::X [line 65, column 7]\n n$4=_fun_conversion_operator::X_operator_bool(&x:conversion_operator::X&) [line 65, column 7]\n " shape="box"] + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_4" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_3" ; +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_5" [label="5: Call _fun_conversion_operator::X_operator_bool \n _=*&y:conversion_operator::Y [line 47, column 10]\n _fun_conversion_operator::Y_operator_X(&y:conversion_operator::Y&,&0$?%__sil_tmpSIL_materialize_temp__n$6:conversion_operator::X*) [line 47, column 10]\n _fun_conversion_operator::X_X(&0$?%__sil_tmp__temp_construct_n$5:conversion_operator::X*,&0$?%__sil_tmpSIL_materialize_temp__n$6:conversion_operator::X&) [line 47, column 7]\n n$9=_fun_conversion_operator::X_operator_bool(&0$?%__sil_tmp__temp_construct_n$5:conversion_operator::X&) [line 47, column 7]\n " shape="box"] - "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_5" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_6" ; - "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_5" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_7" ; -"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_6" [label="6: Prune (true branch, if) \n PRUNE(n$4, true); [line 65, column 7]\n " shape="invhouse"] + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_5" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_6" ; + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_5" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_7" ; +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_6" [label="6: Prune (true branch, if) \n PRUNE(n$9, true); [line 47, column 7]\n " shape="invhouse"] - "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_6" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_9" ; -"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_7" [label="7: Prune (false branch, if) \n PRUNE(!n$4, false); [line 65, column 7]\n " shape="invhouse"] + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_6" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_9" ; +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_7" [label="7: Prune (false branch, if) \n PRUNE(!n$9, false); [line 47, column 7]\n " shape="invhouse"] - "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_7" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_4" ; -"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_8" [label="8: Return Stmt \n n$5=*&v:int [line 67, column 16]\n *&return:int=(1 / n$5) [line 67, column 5]\n _=*&x:conversion_operator::X [line 67, column 16]\n _fun_conversion_operator::X_~X(&x:conversion_operator::X*) [line 67, column 16]\n " shape="box"] + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_7" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_4" ; +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_8" [label="8: Return Stmt \n n$10=*&v:int [line 49, column 16]\n *&return:int=(1 / n$10) [line 49, column 5]\n " shape="box"] - "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_8" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_2" ; -"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_9" [label="9: DeclStmt \n _=*&x:conversion_operator::X [line 66, column 13]\n n$8=_fun_conversion_operator::X_operator_int(&x:conversion_operator::X&) [line 66, column 13]\n *&v:int=n$8 [line 66, column 5]\n " shape="box"] + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_8" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_2" ; +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_9" [label="9: DeclStmt \n _=*&y:conversion_operator::Y [line 48, column 16]\n _fun_conversion_operator::Y_operator_X(&y:conversion_operator::Y&,&0$?%__sil_tmpSIL_materialize_temp__n$12:conversion_operator::X*) [line 48, column 16]\n _fun_conversion_operator::X_X(&0$?%__sil_tmp__temp_construct_n$11:conversion_operator::X*,&0$?%__sil_tmpSIL_materialize_temp__n$12:conversion_operator::X&) [line 48, column 13]\n n$15=_fun_conversion_operator::X_operator_int(&0$?%__sil_tmp__temp_construct_n$11:conversion_operator::X&) [line 48, column 13]\n *&v:int=n$15 [line 48, column 5]\n " shape="box"] - "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_9" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_8" ; -"branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_10" [label="10: DeclStmt \n _fun_conversion_operator::X_X(&x:conversion_operator::X*,1:int,1:_Bool) [line 64, column 5]\n " shape="box"] + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_9" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_8" ; +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_10" [label="10: BinaryOperatorStmt: Assign \n *&y.b:int=1 [line 46, column 3]\n " shape="box"] - "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_10" -> "branch_div1#conversion_operator#6025807300888085665.f3ee34cea9ff5d10407119d4b377adc2_5" ; -"operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_1" [label="1: Start conversion_operator::X_operator_int\nFormals: this:conversion_operator::X*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_10" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_5" ; +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_11" [label="11: BinaryOperatorStmt: Assign \n *&y.f:int=0 [line 45, column 3]\n " shape="box"] - "operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_1" -> "operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_3" ; -"operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_2" [label="2: Exit conversion_operator::X_operator_int \n " color=yellow style=filled] + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_11" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_10" ; +"y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_12" [label="12: DeclStmt \n _fun_conversion_operator::Y_Y(&y:conversion_operator::Y*) [line 44, column 5]\n " shape="box"] -"operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_3" [label="3: Return Stmt \n n$0=*&this:conversion_operator::X* [line 13, column 27]\n n$1=*n$0.f_:int [line 13, column 27]\n *&return:int=n$1 [line 13, column 20]\n " shape="box"] + "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_12" -> "y_branch_div0#conversion_operator#7606471872775172252.4a93f184f35976e9e7dc6663bc4d47a2_11" ; +"X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_1" [label="1: Start conversion_operator::X_X\nFormals: this:conversion_operator::X* x:conversion_operator::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 3]\n " color=yellow style=filled] - "operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_3" -> "operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_2" ; -"operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_1" [label="1: Start conversion_operator::X_operator_bool\nFormals: this:conversion_operator::X*\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] + "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_1" -> "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_4" ; +"X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_2" [label="2: Exit conversion_operator::X_X \n " color=yellow style=filled] - "operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_1" -> "operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_3" ; -"operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_2" [label="2: Exit conversion_operator::X_operator_bool \n " color=yellow style=filled] +"X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:conversion_operator::X* [line 23, column 5]\n n$1=*&x:conversion_operator::X const & [line 23, column 10]\n n$2=*n$1.b_:_Bool [line 23, column 10]\n *n$0.b_:_Bool=n$2 [line 23, column 5]\n " shape="box"] -"operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_3" [label="3: Return Stmt \n n$0=*&this:conversion_operator::X* [line 14, column 28]\n n$1=*n$0.b_:_Bool [line 14, column 28]\n *&return:_Bool=n$1 [line 14, column 21]\n " shape="box"] + "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_3" -> "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_2" ; +"X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_4" [label="4: BinaryOperatorStmt: Assign \n n$3=*&this:conversion_operator::X* [line 22, column 5]\n n$4=*&x:conversion_operator::X const & [line 22, column 10]\n n$5=*n$4.f_:int [line 22, column 10]\n *n$3.f_:int=n$5 [line 22, column 5]\n " shape="box"] - "operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_3" -> "operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_2" ; + "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_4" -> "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_3" ; "X#X#conversion_operator#{3369558305026158368}.bef059c92c6377f62516e101c1177cad_1" [label="1: Start conversion_operator::X_X\nFormals: this:conversion_operator::X* f:int b:_Bool\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] @@ -205,21 +198,6 @@ digraph cfg { "X#X#conversion_operator#{3369558305026158368}.bef059c92c6377f62516e101c1177cad_4" -> "X#X#conversion_operator#{3369558305026158368}.bef059c92c6377f62516e101c1177cad_3" ; -"X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_1" [label="1: Start conversion_operator::X_X\nFormals: this:conversion_operator::X* x:conversion_operator::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 3]\n " color=yellow style=filled] - - - "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_1" -> "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_4" ; -"X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_2" [label="2: Exit conversion_operator::X_X \n " color=yellow style=filled] - - -"X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:conversion_operator::X* [line 23, column 5]\n n$1=*&x:conversion_operator::X const & [line 23, column 10]\n n$2=*n$1.b_:_Bool [line 23, column 10]\n *n$0.b_:_Bool=n$2 [line 23, column 5]\n " shape="box"] - - - "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_3" -> "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_2" ; -"X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_4" [label="4: BinaryOperatorStmt: Assign \n n$3=*&this:conversion_operator::X* [line 22, column 5]\n n$4=*&x:conversion_operator::X const & [line 22, column 10]\n n$5=*n$4.f_:int [line 22, column 10]\n *n$3.f_:int=n$5 [line 22, column 5]\n " shape="box"] - - - "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_4" -> "X#X#conversion_operator#{10042806963993343440}.3443e3517905e53c0b3c27c57963d3c9_3" ; "Y#Y#conversion_operator#{2209317117193064868}.b5b04122b8822499b024fd96b2c79e26_1" [label="1: Start conversion_operator::Y_Y\nFormals: this:conversion_operator::Y*\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 8]\n " color=yellow style=filled] @@ -238,4 +216,26 @@ digraph cfg { "operator_X#Y#conversion_operator#(9875474444891926125).7f70b2cd003a12c6c9b239bf43d976ea_3" -> "operator_X#Y#conversion_operator#(9875474444891926125).7f70b2cd003a12c6c9b239bf43d976ea_2" ; +"operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_1" [label="1: Start conversion_operator::X_operator_bool\nFormals: this:conversion_operator::X*\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] + + + "operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_1" -> "operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_3" ; +"operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_2" [label="2: Exit conversion_operator::X_operator_bool \n " color=yellow style=filled] + + +"operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_3" [label="3: Return Stmt \n n$0=*&this:conversion_operator::X* [line 14, column 28]\n n$1=*n$0.b_:_Bool [line 14, column 28]\n *&return:_Bool=n$1 [line 14, column 21]\n " shape="box"] + + + "operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_3" -> "operator_bool#X#conversion_operator#(8462049473072140514).68eca81e12b5c1864b348d6f60158ae6_2" ; +"operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_1" [label="1: Start conversion_operator::X_operator_int\nFormals: this:conversion_operator::X*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] + + + "operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_1" -> "operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_3" ; +"operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_2" [label="2: Exit conversion_operator::X_operator_int \n " color=yellow style=filled] + + +"operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_3" [label="3: Return Stmt \n n$0=*&this:conversion_operator::X* [line 13, column 27]\n n$1=*n$0.f_:int [line 13, column 27]\n *&return:int=n$1 [line 13, column 20]\n " shape="box"] + + + "operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_3" -> "operator_int#X#conversion_operator#(11584960464019118495).bbe1ab264905e56e75a1b45ae475ffe0_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/methods/dereference_this.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/methods/dereference_this.cpp.dot index 882a7320e..9ac130441 100644 --- a/infer/tests/codetoanalyze/cpp/shared/methods/dereference_this.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/methods/dereference_this.cpp.dot @@ -11,6 +11,17 @@ digraph cfg { "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" ; +"init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_1" [label="1: Start A_init\nFormals: this:A* val:int\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] + + + "init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_1" -> "init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_3" ; +"init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_2" [label="2: Exit A_init \n " color=yellow style=filled] + + +"init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:A* [line 14, column 24]\n n$1=*&val:int [line 14, column 32]\n *n$0.field:int=n$1 [line 14, column 24]\n " shape="box"] + + + "init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_3" -> "init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_2" ; "method#A#(5340410962252776012).be8cb65bc6e38d687825fbc80265a66c_1" [label="1: Start A_method\nFormals: this:A*\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] @@ -26,15 +37,4 @@ digraph cfg { "method#A#(5340410962252776012).be8cb65bc6e38d687825fbc80265a66c_4" -> "method#A#(5340410962252776012).be8cb65bc6e38d687825fbc80265a66c_3" ; -"init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_1" [label="1: Start A_init\nFormals: this:A* val:int\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] - - - "init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_1" -> "init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_3" ; -"init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_2" [label="2: Exit A_init \n " color=yellow style=filled] - - -"init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:A* [line 14, column 24]\n n$1=*&val:int [line 14, column 32]\n *n$0.field:int=n$1 [line 14, column 24]\n " shape="box"] - - - "init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_3" -> "init#A#(11888841587519675340).79bf6a1702f6a90708acc2d560532750_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/methods/overloading.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/methods/overloading.cpp.dot index 39db3ae3f..d49a9fc41 100644 --- a/infer/tests/codetoanalyze/cpp/shared/methods/overloading.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/methods/overloading.cpp.dot @@ -15,26 +15,26 @@ digraph cfg { "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" ; -"fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_1" [label="1: Start A_fun\nFormals: this:A* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] +"fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_1" [label="1: Start A_fun\nFormals: this:A* a:int b:int c:int\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 1]\n " color=yellow style=filled] - "fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_1" -> "fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_3" ; -"fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_2" [label="2: Exit A_fun \n " color=yellow style=filled] + "fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_1" -> "fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_3" ; +"fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_2" [label="2: Exit A_fun \n " color=yellow style=filled] -"fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_3" [label="3: Return Stmt \n n$0=*&a:int [line 18, column 35]\n n$1=*&b:int [line 18, column 39]\n *&return:int=(n$0 - n$1) [line 18, column 28]\n " shape="box"] +"fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_3" [label="3: Return Stmt \n n$0=*&a:int [line 16, column 42]\n n$1=*&b:int [line 16, column 46]\n n$2=*&c:int [line 16, column 50]\n *&return:int=((n$0 + n$1) + n$2) [line 16, column 35]\n " shape="box"] - "fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_3" -> "fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_2" ; -"fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_1" [label="1: Start A_fun\nFormals: this:A* a:int b:int c:int\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 1]\n " color=yellow style=filled] + "fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_3" -> "fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_2" ; +"fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_1" [label="1: Start A_fun\nFormals: this:A* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] - "fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_1" -> "fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_3" ; -"fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_2" [label="2: Exit A_fun \n " color=yellow style=filled] + "fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_1" -> "fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_3" ; +"fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_2" [label="2: Exit A_fun \n " color=yellow style=filled] -"fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_3" [label="3: Return Stmt \n n$0=*&a:int [line 16, column 42]\n n$1=*&b:int [line 16, column 46]\n n$2=*&c:int [line 16, column 50]\n *&return:int=((n$0 + n$1) + n$2) [line 16, column 35]\n " shape="box"] +"fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_3" [label="3: Return Stmt \n n$0=*&a:int [line 18, column 35]\n n$1=*&b:int [line 18, column 39]\n *&return:int=(n$0 - n$1) [line 18, column 28]\n " shape="box"] - "fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_3" -> "fun#A#(11837362180710022838).bd816a84384ccf9d60cef41667a13288_2" ; + "fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_3" -> "fun#A#(8182299831707963163).ce97257c1f3f892cff78d992a175b48a_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/methods/return_struct.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/methods/return_struct.cpp.dot index a103f1f14..79adff38c 100644 --- a/infer/tests/codetoanalyze/cpp/shared/methods/return_struct.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/methods/return_struct.cpp.dot @@ -15,21 +15,17 @@ digraph cfg { "test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_4" -> "test#14183353284361723530.9ab958283f2da536d334b673bc9197cb_3" ; -"get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_1" [label="1: Start A_get\nFormals: this:A* p:int __return_param:X*\nLocals: x:X \n DECLARE_LOCALS(&return,&x); [line 15, column 3]\n " color=yellow style=filled] - - - "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_1" -> "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_4" ; -"get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_2" [label="2: Exit A_get \n " color=yellow style=filled] +"X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_1" [label="1: Start X_X\nFormals: this:X* __param_0:X&\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] -"get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_3" [label="3: Return Stmt \n n$0=*&__return_param:X* [line 17, column 5]\n _fun_X_X(n$0:X*,&x:X&) [line 17, column 12]\n _=*&x:X [line 17, column 12]\n _fun_X_~X(&x:X*) [line 17, column 12]\n " shape="box"] + "X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_1" -> "X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_3" ; +"X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_2" [label="2: Exit X_X \n " color=yellow style=filled] - "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_3" -> "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_2" ; -"get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_4" [label="4: DeclStmt \n _fun_X_X(&x:X*) [line 16, column 7]\n " shape="box"] +"X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_3" [label="3: Constructor Init \n n$0=*&this:X* [line 10, column 8]\n n$1=*&__param_0:X& [line 10, column 8]\n n$2=*n$1.f:int [line 10, column 8]\n *n$0.f:int=n$2 [line 10, column 8]\n " shape="box"] - "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_4" -> "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_3" ; + "X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_3" -> "X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_2" ; "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" [label="1: Start X_X\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] @@ -37,15 +33,19 @@ digraph cfg { "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" [label="2: Exit X_X \n " color=yellow style=filled] -"X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_1" [label="1: Start X_X\nFormals: this:X* __param_0:X&\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] +"get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_1" [label="1: Start A_get\nFormals: this:A* p:int __return_param:X*\nLocals: x:X \n DECLARE_LOCALS(&return,&x); [line 15, column 3]\n " color=yellow style=filled] - "X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_1" -> "X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_3" ; -"X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_2" [label="2: Exit X_X \n " color=yellow style=filled] + "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_1" -> "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_4" ; +"get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_2" [label="2: Exit A_get \n " color=yellow style=filled] -"X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_3" [label="3: Constructor Init \n n$0=*&this:X* [line 10, column 8]\n n$1=*&__param_0:X& [line 10, column 8]\n n$2=*n$1.f:int [line 10, column 8]\n *n$0.f:int=n$2 [line 10, column 8]\n " shape="box"] +"get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_3" [label="3: Return Stmt \n n$0=*&__return_param:X* [line 17, column 5]\n _fun_X_X(n$0:X*,&x:X&) [line 17, column 12]\n _=*&x:X [line 17, column 12]\n _fun_X_~X(&x:X*) [line 17, column 12]\n " shape="box"] - "X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_3" -> "X#X#{4662457305382278389|constexpr}.7a0af4be288b205dc1c04f6801938150_2" ; + "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_3" -> "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_2" ; +"get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_4" [label="4: DeclStmt \n _fun_X_X(&x:X*) [line 16, column 7]\n " shape="box"] + + + "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_4" -> "get#A#(1761444600576643509).c838940fa5c6fe767006cf7dd748d7f6_3" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/methods/virtual_methods.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/methods/virtual_methods.cpp.dot index 032efa8ca..11b77fc3c 100644 --- a/infer/tests/codetoanalyze/cpp/shared/methods/virtual_methods.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/methods/virtual_methods.cpp.dot @@ -1,5 +1,39 @@ /* @generated */ digraph cfg { +"call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_1" [label="1: Start call_virtual_destructor\nFormals: \nLocals: trgl:Polygon* \n DECLARE_LOCALS(&return,&trgl); [line 70, column 1]\n " color=yellow style=filled] + + + "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_1" -> "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_4" ; +"call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_2" [label="2: Exit call_virtual_destructor \n " color=yellow style=filled] + + +"call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_3" [label="3: Call delete \n n$0=*&trgl:Polygon* [line 72, column 10]\n _fun___delete(n$0:Polygon*) [line 72, column 3]\n " shape="box"] + + + "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_3" -> "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_2" ; +"call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_4" [label="4: DeclStmt \n n$1=_fun___new(sizeof(t=Triangle):unsigned long) [line 71, column 19]\n _fun_Triangle_Triangle(n$1:Triangle*) [line 71, column 23]\n *&trgl:Triangle*=n$1 [line 71, column 3]\n " shape="box"] + + + "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_4" -> "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_3" ; +"poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_1" [label="1: Start poly_area\nFormals: \nLocals: ppoly3:Polygon* poly:Polygon \n DECLARE_LOCALS(&return,&ppoly3,&poly); [line 53, column 1]\n " color=yellow style=filled] + + + "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_1" -> "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_5" ; +"poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_2" [label="2: Exit poly_area \n " color=yellow style=filled] + + +"poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_3" [label="3: Return Stmt \n n$0=*&ppoly3:Polygon* [line 56, column 14]\n _=*n$0:Polygon [line 56, column 14]\n n$2=_fun_Polygon_area(n$0:Polygon*) virtual [line 56, column 14]\n *&return:int=(1 / n$2) [line 56, column 3]\n _=*&poly:Polygon [line 56, column 27]\n _fun_Polygon_~Polygon(&poly:Polygon*) virtual [line 56, column 27]\n " shape="box"] + + + "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_3" -> "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_2" ; +"poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_4" [label="4: DeclStmt \n *&ppoly3:Polygon*=&poly [line 55, column 3]\n " shape="box"] + + + "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_4" -> "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_3" ; +"poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_5" [label="5: DeclStmt \n _fun_Polygon_Polygon(&poly:Polygon*) [line 54, column 11]\n " shape="box"] + + + "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_5" -> "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_4" ; "rect_area#9087317270636867019.dedb17c23e2d96ddd6e1087003e78815_1" [label="1: Start rect_area\nFormals: \nLocals: ppoly1:Polygon* rect:Rectangle \n DECLARE_LOCALS(&return,&ppoly1,&rect); [line 38, column 1]\n " color=yellow style=filled] @@ -50,25 +84,6 @@ digraph cfg { "tri_area#1215149030941579879.cc7663ab4ea89457778545059b70bc38_7" -> "tri_area#1215149030941579879.cc7663ab4ea89457778545059b70bc38_6" ; -"poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_1" [label="1: Start poly_area\nFormals: \nLocals: ppoly3:Polygon* poly:Polygon \n DECLARE_LOCALS(&return,&ppoly3,&poly); [line 53, column 1]\n " color=yellow style=filled] - - - "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_1" -> "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_5" ; -"poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_2" [label="2: Exit poly_area \n " color=yellow style=filled] - - -"poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_3" [label="3: Return Stmt \n n$0=*&ppoly3:Polygon* [line 56, column 14]\n _=*n$0:Polygon [line 56, column 14]\n n$2=_fun_Polygon_area(n$0:Polygon*) virtual [line 56, column 14]\n *&return:int=(1 / n$2) [line 56, column 3]\n _=*&poly:Polygon [line 56, column 27]\n _fun_Polygon_~Polygon(&poly:Polygon*) virtual [line 56, column 27]\n " shape="box"] - - - "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_3" -> "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_2" ; -"poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_4" [label="4: DeclStmt \n *&ppoly3:Polygon*=&poly [line 55, column 3]\n " shape="box"] - - - "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_4" -> "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_3" ; -"poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_5" [label="5: DeclStmt \n _fun_Polygon_Polygon(&poly:Polygon*) [line 54, column 11]\n " shape="box"] - - - "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_5" -> "poly_area#4209622570361008343.816833144841084a7fd6071bbff4c354_4" ; "tri_not_virtual_area#9435562296359660595.88e7106fc7dcfd34401502a9deb415ac_1" [label="1: Start tri_not_virtual_area\nFormals: \nLocals: ppoly2:Polygon* poly:Polygon trgl:Triangle \n DECLARE_LOCALS(&return,&ppoly2,&poly,&trgl); [line 59, column 1]\n " color=yellow style=filled] @@ -96,54 +111,57 @@ digraph cfg { "tri_not_virtual_area#9435562296359660595.88e7106fc7dcfd34401502a9deb415ac_7" -> "tri_not_virtual_area#9435562296359660595.88e7106fc7dcfd34401502a9deb415ac_6" ; -"call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_1" [label="1: Start call_virtual_destructor\nFormals: \nLocals: trgl:Polygon* \n DECLARE_LOCALS(&return,&trgl); [line 70, column 1]\n " color=yellow style=filled] +"Polygon#Polygon#{10850889526924573388}.39fcc5831c0234f5743317d6969628c2_1" [label="1: Start Polygon_Polygon\nFormals: this:Polygon*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 7]\n " color=yellow style=filled] - "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_1" -> "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_4" ; -"call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_2" [label="2: Exit call_virtual_destructor \n " color=yellow style=filled] + "Polygon#Polygon#{10850889526924573388}.39fcc5831c0234f5743317d6969628c2_1" -> "Polygon#Polygon#{10850889526924573388}.39fcc5831c0234f5743317d6969628c2_2" ; +"Polygon#Polygon#{10850889526924573388}.39fcc5831c0234f5743317d6969628c2_2" [label="2: Exit Polygon_Polygon \n " color=yellow style=filled] -"call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_3" [label="3: Call delete \n n$0=*&trgl:Polygon* [line 72, column 10]\n _fun___delete(n$0:Polygon*) [line 72, column 3]\n " shape="box"] +"Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_1" [label="1: Start Rectangle_Rectangle\nFormals: this:Rectangle*\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 7]\n " color=yellow style=filled] - "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_3" -> "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_2" ; -"call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_4" [label="4: DeclStmt \n n$1=_fun___new(sizeof(t=Triangle):unsigned long) [line 71, column 19]\n _fun_Triangle_Triangle(n$1:Triangle*) [line 71, column 23]\n *&trgl:Triangle*=n$1 [line 71, column 3]\n " shape="box"] + "Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_1" -> "Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_3" ; +"Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_2" [label="2: Exit Rectangle_Rectangle \n " color=yellow style=filled] - "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_4" -> "call_virtual_destructor#6847397116347440235.d267757a410b72cac399f5e3d0ee0f45_3" ; -"area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_1" [label="1: Start Polygon_area\nFormals: this:Polygon*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 3]\n " color=yellow style=filled] +"Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_3" [label="3: Constructor Init \n n$0=*&this:Rectangle* [line 23, column 7]\n _fun_Polygon_Polygon(n$0:Rectangle*) [line 23, column 7]\n " shape="box"] - "area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_1" -> "area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_3" ; -"area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_2" [label="2: Exit Polygon_area \n " color=yellow style=filled] + "Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_3" -> "Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_2" ; +"Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_1" [label="1: Start Triangle_Triangle\nFormals: this:Triangle*\nLocals: \n DECLARE_LOCALS(&return); [line 29, column 7]\n " color=yellow style=filled] -"area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_3" [label="3: Return Stmt \n *&return:int=0 [line 20, column 24]\n " shape="box"] + "Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_1" -> "Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_3" ; +"Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_2" [label="2: Exit Triangle_Triangle \n " color=yellow style=filled] - "area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_3" -> "area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_2" ; -"Polygon#Polygon#{10850889526924573388}.39fcc5831c0234f5743317d6969628c2_1" [label="1: Start Polygon_Polygon\nFormals: this:Polygon*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 7]\n " color=yellow style=filled] +"Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_3" [label="3: Constructor Init \n n$0=*&this:Triangle* [line 29, column 7]\n _fun_Polygon_Polygon(n$0:Triangle*) [line 29, column 7]\n " shape="box"] - "Polygon#Polygon#{10850889526924573388}.39fcc5831c0234f5743317d6969628c2_1" -> "Polygon#Polygon#{10850889526924573388}.39fcc5831c0234f5743317d6969628c2_2" ; -"Polygon#Polygon#{10850889526924573388}.39fcc5831c0234f5743317d6969628c2_2" [label="2: Exit Polygon_Polygon \n " color=yellow style=filled] + "Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_3" -> "Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_2" ; +"__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_1" [label="1: Start Triangle___infer_inner_destructor_~Triangle\nFormals: this:Triangle*\nLocals: \n DECLARE_LOCALS(&return); [line 31, column 3]\n " color=yellow style=filled] -"set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_1" [label="1: Start Polygon_set_values\nFormals: this:Polygon* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] + "__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_1" -> "__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_3" ; +"__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_2" [label="2: Exit Triangle___infer_inner_destructor_~Triangle \n " color=yellow style=filled] - "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_1" -> "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_4" ; -"set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_2" [label="2: Exit Polygon_set_values \n " color=yellow style=filled] +"__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_3" [label="3: Destruction \n n$0=*&this:Triangle* [line 31, column 15]\n _=*n$0:Triangle [line 31, column 15]\n _fun_Polygon___infer_inner_destructor_~Polygon(n$0:Triangle*) virtual [line 31, column 15]\n " shape="box"] -"set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:Polygon* [line 18, column 5]\n n$1=*&b:int [line 18, column 14]\n *n$0.height:int=n$1 [line 18, column 5]\n " shape="box"] + "__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_3" -> "__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_2" ; +"area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_1" [label="1: Start Polygon_area\nFormals: this:Polygon*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 3]\n " color=yellow style=filled] - "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_3" -> "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_2" ; -"set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&this:Polygon* [line 17, column 5]\n n$3=*&a:int [line 17, column 13]\n *n$2.width:int=n$3 [line 17, column 5]\n " shape="box"] + "area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_1" -> "area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_3" ; +"area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_2" [label="2: Exit Polygon_area \n " color=yellow style=filled] - "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_4" -> "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_3" ; +"area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_3" [label="3: Return Stmt \n *&return:int=0 [line 20, column 24]\n " shape="box"] + + + "area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_3" -> "area#Polygon#(14534668876010564879).ccccc470b1eafda401273f4b27bbfa9f_2" ; "area#Rectangle#(14534668876010564879).9b17971eaa6024f5a21d98d4b495fbd8_1" [label="1: Start Rectangle_area\nFormals: this:Rectangle*\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 3]\n " color=yellow style=filled] @@ -155,17 +173,6 @@ digraph cfg { "area#Rectangle#(14534668876010564879).9b17971eaa6024f5a21d98d4b495fbd8_3" -> "area#Rectangle#(14534668876010564879).9b17971eaa6024f5a21d98d4b495fbd8_2" ; -"Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_1" [label="1: Start Rectangle_Rectangle\nFormals: this:Rectangle*\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 7]\n " color=yellow style=filled] - - - "Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_1" -> "Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_3" ; -"Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_2" [label="2: Exit Rectangle_Rectangle \n " color=yellow style=filled] - - -"Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_3" [label="3: Constructor Init \n n$0=*&this:Rectangle* [line 23, column 7]\n _fun_Polygon_Polygon(n$0:Rectangle*) [line 23, column 7]\n " shape="box"] - - - "Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_3" -> "Rectangle#Rectangle#{548993796743293985}.386f89cceb4c14e4fc014bcc1ec86f4b_2" ; "area#Triangle#(14534668876010564879).b2c96bbb8f170e9d12180637dc0d6da3_1" [label="1: Start Triangle_area\nFormals: this:Triangle*\nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 32, column 3]\n " color=yellow style=filled] @@ -181,28 +188,21 @@ digraph cfg { "area#Triangle#(14534668876010564879).b2c96bbb8f170e9d12180637dc0d6da3_4" -> "area#Triangle#(14534668876010564879).b2c96bbb8f170e9d12180637dc0d6da3_3" ; -"Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_1" [label="1: Start Triangle_Triangle\nFormals: this:Triangle*\nLocals: \n DECLARE_LOCALS(&return); [line 29, column 7]\n " color=yellow style=filled] - - - "Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_1" -> "Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_3" ; -"Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_2" [label="2: Exit Triangle_Triangle \n " color=yellow style=filled] - - -"Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_3" [label="3: Constructor Init \n n$0=*&this:Triangle* [line 29, column 7]\n _fun_Polygon_Polygon(n$0:Triangle*) [line 29, column 7]\n " shape="box"] +"set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_1" [label="1: Start Polygon_set_values\nFormals: this:Polygon* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] - "Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_3" -> "Triangle#Triangle#{15421032765127472541}.26bfd28d102273793a62fe013a50a7d1_2" ; -"__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_1" [label="1: Start Triangle___infer_inner_destructor_~Triangle\nFormals: this:Triangle*\nLocals: \n DECLARE_LOCALS(&return); [line 31, column 3]\n " color=yellow style=filled] + "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_1" -> "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_4" ; +"set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_2" [label="2: Exit Polygon_set_values \n " color=yellow style=filled] - "__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_1" -> "__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_3" ; -"__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_2" [label="2: Exit Triangle___infer_inner_destructor_~Triangle \n " color=yellow style=filled] +"set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:Polygon* [line 18, column 5]\n n$1=*&b:int [line 18, column 14]\n *n$0.height:int=n$1 [line 18, column 5]\n " shape="box"] -"__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_3" [label="3: Destruction \n n$0=*&this:Triangle* [line 31, column 15]\n _=*n$0:Triangle [line 31, column 15]\n _fun_Polygon___infer_inner_destructor_~Polygon(n$0:Triangle*) virtual [line 31, column 15]\n " shape="box"] + "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_3" -> "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_2" ; +"set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&this:Polygon* [line 17, column 5]\n n$3=*&a:int [line 17, column 13]\n *n$2.width:int=n$3 [line 17, column 5]\n " shape="box"] - "__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_3" -> "__infer_inner_destructor_~Triangle#Triangle#(14073216405110724792).c04c3fa3cd50a3125c149616f3af0105_2" ; + "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_4" -> "set_values#Polygon#(2698446688876490094).f9216ba6d3085c8bce59aeddec27f348_3" ; "~Triangle#Triangle#(14073216405110724792).8adff4889e6d988a35e49531a9afaad5_1" [label="1: Start Triangle_~Triangle\nFormals: this:Triangle*\nLocals: \n DECLARE_LOCALS(&return); [line 31, column 3]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/namespace/function.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/namespace/function.cpp.dot index 8508fcfd6..56cf3276b 100644 --- a/infer/tests/codetoanalyze/cpp/shared/namespace/function.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/namespace/function.cpp.dot @@ -1,27 +1,38 @@ /* @generated */ digraph cfg { -"get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_1" [label="1: Start f1::get\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 11, column 1]\n " color=yellow style=filled] +"div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_1" [label="1: Start div0_namespace_resolution\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 24, column 1]\n " color=yellow style=filled] - "get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_1" -> "get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_3" ; -"get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_2" [label="2: Exit f1::get \n " color=yellow style=filled] + "div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_1" -> "div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_3" ; +"div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_2" [label="2: Exit div0_namespace_resolution \n " color=yellow style=filled] -"get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_3" [label="3: Return Stmt \n *&return:int=1 [line 11, column 13]\n " shape="box"] +"div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_3" [label="3: Return Stmt \n n$0=_fun_f1::get() [line 24, column 47]\n n$1=_fun_f2::get() [line 24, column 59]\n *&return:int=(1 / (n$0 + n$1)) [line 24, column 35]\n " shape="box"] - "get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_3" -> "get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_2" ; -"get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_1" [label="1: Start f1::get0\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] + "div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_3" -> "div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_2" ; +"div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_1" [label="1: Start div0_using\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] - "get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_1" -> "get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_3" ; -"get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_2" [label="2: Exit f1::get0 \n " color=yellow style=filled] + "div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_1" -> "div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_3" ; +"div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_2" [label="2: Exit div0_using \n " color=yellow style=filled] -"get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_3" [label="3: Return Stmt \n *&return:int=0 [line 12, column 14]\n " shape="box"] +"div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_3" [label="3: Return Stmt \n n$0=_fun_f1::get0() [line 21, column 14]\n *&return:int=(1 / n$0) [line 21, column 3]\n " shape="box"] - "get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_3" -> "get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_2" ; + "div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_3" -> "div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_2" ; +"get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_1" [label="1: Start f1::get\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 11, column 1]\n " color=yellow style=filled] + + + "get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_1" -> "get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_3" ; +"get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_2" [label="2: Exit f1::get \n " color=yellow style=filled] + + +"get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_3" [label="3: Return Stmt \n *&return:int=1 [line 11, column 13]\n " shape="box"] + + + "get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_3" -> "get#f1#11182918362941702717.40a87222281cbcdb639beb16ed92bf79_2" ; "get#f2#4584566886545893232.5a8ac538c5463a04db693a70ff1f379b_1" [label="1: Start f2::get\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 16, column 1]\n " color=yellow style=filled] @@ -33,28 +44,32 @@ digraph cfg { "get#f2#4584566886545893232.5a8ac538c5463a04db693a70ff1f379b_3" -> "get#f2#4584566886545893232.5a8ac538c5463a04db693a70ff1f379b_2" ; -"div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_1" [label="1: Start div0_using\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] +"get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_1" [label="1: Start f1::get0\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - "div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_1" -> "div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_3" ; -"div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_2" [label="2: Exit div0_using \n " color=yellow style=filled] + "get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_1" -> "get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_3" ; +"get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_2" [label="2: Exit f1::get0 \n " color=yellow style=filled] -"div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_3" [label="3: Return Stmt \n n$0=_fun_f1::get0() [line 21, column 14]\n *&return:int=(1 / n$0) [line 21, column 3]\n " shape="box"] +"get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_3" [label="3: Return Stmt \n *&return:int=0 [line 12, column 14]\n " shape="box"] - "div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_3" -> "div0_using#4232634229583313075.9331f51b08b546cc4cf3f4b4f22e46ff_2" ; -"div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_1" [label="1: Start div0_namespace_resolution\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 24, column 1]\n " color=yellow style=filled] + "get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_3" -> "get0#f1#8249585443771353912.5f8dd295c37fb33ddae3c72efc338f89_2" ; +"type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_1" [label="1: Start type_alias_div0\nFormals: \nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 38, column 1]\n " color=yellow style=filled] - "div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_1" -> "div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_3" ; -"div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_2" [label="2: Exit div0_namespace_resolution \n " color=yellow style=filled] + "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_1" -> "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_4" ; +"type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_2" [label="2: Exit type_alias_div0 \n " color=yellow style=filled] -"div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_3" [label="3: Return Stmt \n n$0=_fun_f1::get() [line 24, column 47]\n n$1=_fun_f2::get() [line 24, column 59]\n *&return:int=(1 / (n$0 + n$1)) [line 24, column 35]\n " shape="box"] +"type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_3" [label="3: Return Stmt \n n$0=*&x:int [line 41, column 14]\n *&return:int=(1 / n$0) [line 41, column 3]\n " shape="box"] - "div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_3" -> "div0_namespace_resolution#14165120127941064123.2433829c6d52c7e69a43e89e30e4c7fc_2" ; + "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_3" -> "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_2" ; +"type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_4" [label="4: DeclStmt \n *&x:int=0 [line 40, column 3]\n " shape="box"] + + + "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_4" -> "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_3" ; "using_div0#15267107907897398237.0f32134dc9668df527885e12e16348fe_1" [label="1: Start using_div0\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 33, column 1]\n " color=yellow style=filled] @@ -66,21 +81,6 @@ digraph cfg { "using_div0#15267107907897398237.0f32134dc9668df527885e12e16348fe_3" -> "using_div0#15267107907897398237.0f32134dc9668df527885e12e16348fe_2" ; -"type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_1" [label="1: Start type_alias_div0\nFormals: \nLocals: x:int \n DECLARE_LOCALS(&return,&x); [line 38, column 1]\n " color=yellow style=filled] - - - "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_1" -> "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_4" ; -"type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_2" [label="2: Exit type_alias_div0 \n " color=yellow style=filled] - - -"type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_3" [label="3: Return Stmt \n n$0=*&x:int [line 41, column 14]\n *&return:int=(1 / n$0) [line 41, column 3]\n " shape="box"] - - - "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_3" -> "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_2" ; -"type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_4" [label="4: DeclStmt \n *&x:int=0 [line 40, column 3]\n " shape="box"] - - - "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_4" -> "type_alias_div0#11064282270104671255.675c026241b82e6430f7456d997b57b4_3" ; "ret_zero#C#f3#(14815103288805165028).4dbfdc84a3e84f15300709ed03f3f5c1_1" [label="1: Start f3::C_ret_zero\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 29, column 3]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/namespace/namespace.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/namespace/namespace.cpp.dot index ab92b2065..e3cfa93e1 100644 --- a/infer/tests/codetoanalyze/cpp/shared/namespace/namespace.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/namespace/namespace.cpp.dot @@ -1,49 +1,5 @@ /* @generated */ digraph cfg { -"value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_1" [label="1: Start foo::value\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 17, column 1]\n " color=yellow style=filled] - - - "value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_1" -> "value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_3" ; -"value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_2" [label="2: Exit foo::value \n " color=yellow style=filled] - - -"value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_3" [label="3: Return Stmt \n *&return:int=5 [line 17, column 15]\n " shape="box"] - - - "value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_3" -> "value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_2" ; -"pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_1" [label="1: Start __infer_globals_initializer_bar::pi\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 29, column 1]\n " color=yellow style=filled] - - - "pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_1" -> "pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_3" ; -"pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_2" [label="2: Exit __infer_globals_initializer_bar::pi \n " color=yellow style=filled] - - -"pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_3" [label="3: DeclStmt \n *&#GB$bar::pi:double=3.141600 [line 29, column 1]\n " shape="box"] - - - "pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_3" -> "pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_2" ; -"value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_1" [label="1: Start bar::value\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 30, column 1]\n " color=yellow style=filled] - - - "value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_1" -> "value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_3" ; -"value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_2" [label="2: Exit bar::value \n " color=yellow style=filled] - - -"value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_3" [label="3: Return Stmt \n n$0=*&#GB$bar::pi:double [line 30, column 29]\n *&return:double=(2 * n$0) [line 30, column 18]\n " shape="box"] - - - "value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_3" -> "value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_2" ; -"rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_1" [label="1: Start __infer_globals_initializer_bar::rect\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 32, column 1]\n " color=yellow style=filled] - - - "rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_1" -> "rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_3" ; -"rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_2" [label="2: Exit __infer_globals_initializer_bar::rect \n " color=yellow style=filled] - - -"rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_3" [label="3: DeclStmt \n _fun_bar::Rectangle_Rectangle(&#GB$bar::rect:bar::Rectangle*) [line 38, column 3]\n " shape="box"] - - - "rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_3" -> "rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_2" ; "main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: rect2:foo::Rectangle rect1:bar::Rectangle x:foo::my_record j:double i:int \n DECLARE_LOCALS(&return,&rect2,&rect1,&x,&j,&i); [line 41, column 1]\n " color=yellow style=filled] @@ -91,20 +47,50 @@ digraph cfg { "main.fad58de7366495db4650cfefac2fcd61_12" -> "main.fad58de7366495db4650cfefac2fcd61_11" ; -"Rectangle#Rectangle#bar#{16076319501091404979}.cb85c0acc359c05c70c9c64fe7f882ea_1" [label="1: Start bar::Rectangle_Rectangle\nFormals: this:bar::Rectangle*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 7]\n " color=yellow style=filled] +"pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_1" [label="1: Start __infer_globals_initializer_bar::pi\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 29, column 1]\n " color=yellow style=filled] - "Rectangle#Rectangle#bar#{16076319501091404979}.cb85c0acc359c05c70c9c64fe7f882ea_1" -> "Rectangle#Rectangle#bar#{16076319501091404979}.cb85c0acc359c05c70c9c64fe7f882ea_2" ; -"Rectangle#Rectangle#bar#{16076319501091404979}.cb85c0acc359c05c70c9c64fe7f882ea_2" [label="2: Exit bar::Rectangle_Rectangle \n " color=yellow style=filled] + "pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_1" -> "pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_3" ; +"pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_2" [label="2: Exit __infer_globals_initializer_bar::pi \n " color=yellow style=filled] -"Rectangle#Rectangle#foo#{8572033467385947510}.aa3c63f2774d4a30536ec4553aa11554_1" [label="1: Start foo::Rectangle_Rectangle\nFormals: this:foo::Rectangle*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 7]\n " color=yellow style=filled] +"pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_3" [label="3: DeclStmt \n *&#GB$bar::pi:double=3.141600 [line 29, column 1]\n " shape="box"] - "Rectangle#Rectangle#foo#{8572033467385947510}.aa3c63f2774d4a30536ec4553aa11554_1" -> "Rectangle#Rectangle#foo#{8572033467385947510}.aa3c63f2774d4a30536ec4553aa11554_2" ; -"Rectangle#Rectangle#foo#{8572033467385947510}.aa3c63f2774d4a30536ec4553aa11554_2" [label="2: Exit foo::Rectangle_Rectangle \n " color=yellow style=filled] + "pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_3" -> "pi#__infer_globals_initializer_bar.1155d696836634e07d40a8f71831e209_2" ; +"rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_1" [label="1: Start __infer_globals_initializer_bar::rect\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 32, column 1]\n " color=yellow style=filled] + + + "rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_1" -> "rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_3" ; +"rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_2" [label="2: Exit __infer_globals_initializer_bar::rect \n " color=yellow style=filled] + + +"rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_3" [label="3: DeclStmt \n _fun_bar::Rectangle_Rectangle(&#GB$bar::rect:bar::Rectangle*) [line 38, column 3]\n " shape="box"] + + + "rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_3" -> "rect#__infer_globals_initializer_bar.4a1fbff7dd04d46c33088cc2bed92914_2" ; +"value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_1" [label="1: Start bar::value\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 30, column 1]\n " color=yellow style=filled] + + + "value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_1" -> "value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_3" ; +"value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_2" [label="2: Exit bar::value \n " color=yellow style=filled] + + +"value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_3" [label="3: Return Stmt \n n$0=*&#GB$bar::pi:double [line 30, column 29]\n *&return:double=(2 * n$0) [line 30, column 18]\n " shape="box"] + + + "value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_3" -> "value#bar#16302148298864778751.e55afab5e7523c08687d7e6558d5dad5_2" ; +"value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_1" [label="1: Start foo::value\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 17, column 1]\n " color=yellow style=filled] + + + "value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_1" -> "value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_3" ; +"value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_2" [label="2: Exit foo::value \n " color=yellow style=filled] +"value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_3" [label="3: Return Stmt \n *&return:int=5 [line 17, column 15]\n " shape="box"] + + + "value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_3" -> "value#foo#118977410660901546.9623db3632a56e3cb17951602d147a29_2" ; "#my_record#foo#{787932800218645857}.139a63942c62b7df5ae81187e8434e41_1" [label="1: Start foo::my_record_\nFormals: this:foo::my_record*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 9]\n " color=yellow style=filled] @@ -112,4 +98,18 @@ digraph cfg { "#my_record#foo#{787932800218645857}.139a63942c62b7df5ae81187e8434e41_2" [label="2: Exit foo::my_record_ \n " color=yellow style=filled] +"Rectangle#Rectangle#bar#{16076319501091404979}.cb85c0acc359c05c70c9c64fe7f882ea_1" [label="1: Start bar::Rectangle_Rectangle\nFormals: this:bar::Rectangle*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 7]\n " color=yellow style=filled] + + + "Rectangle#Rectangle#bar#{16076319501091404979}.cb85c0acc359c05c70c9c64fe7f882ea_1" -> "Rectangle#Rectangle#bar#{16076319501091404979}.cb85c0acc359c05c70c9c64fe7f882ea_2" ; +"Rectangle#Rectangle#bar#{16076319501091404979}.cb85c0acc359c05c70c9c64fe7f882ea_2" [label="2: Exit bar::Rectangle_Rectangle \n " color=yellow style=filled] + + +"Rectangle#Rectangle#foo#{8572033467385947510}.aa3c63f2774d4a30536ec4553aa11554_1" [label="1: Start foo::Rectangle_Rectangle\nFormals: this:foo::Rectangle*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 7]\n " color=yellow style=filled] + + + "Rectangle#Rectangle#foo#{8572033467385947510}.aa3c63f2774d4a30536ec4553aa11554_1" -> "Rectangle#Rectangle#foo#{8572033467385947510}.aa3c63f2774d4a30536ec4553aa11554_2" ; +"Rectangle#Rectangle#foo#{8572033467385947510}.aa3c63f2774d4a30536ec4553aa11554_2" [label="2: Exit foo::Rectangle_Rectangle \n " color=yellow style=filled] + + } diff --git a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_for.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_for.cpp.dot index 9b4442478..91ded48db 100644 --- a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_for.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_for.cpp.dot @@ -1,45 +1,5 @@ /* @generated */ digraph cfg { -"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_1" [label="1: Start simple_init\nFormals: \nLocals: i:int x:int result:int \n DECLARE_LOCALS(&return,&i,&x,&result); [line 10, column 1]\n " color=yellow style=filled] - - - "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_1" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_10" ; -"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_2" [label="2: Exit simple_init \n " color=yellow style=filled] - - -"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_3" [label="3: + \n " ] - - - "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_3" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_8" ; -"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_4" [label="4: DeclStmt \n *&i:int=0 [line 12, column 8]\n " shape="box"] - - - "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_4" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_3" ; -"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_5" [label="5: UnaryOperator \n n$0=*&i:int [line 12, column 30]\n *&i:int=(n$0 + 1) [line 12, column 30]\n " shape="box"] - - - "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_5" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_3" ; -"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_6" [label="6: Prune (true branch, for loop) \n n$1=*&x:int [line 12, column 23]\n PRUNE(n$1, true); [line 12, column 23]\n " shape="invhouse"] - - - "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_6" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_9" ; -"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_7" [label="7: Prune (false branch, for loop) \n n$1=*&x:int [line 12, column 23]\n PRUNE(!n$1, false); [line 12, column 23]\n " shape="invhouse"] - - - "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_7" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_2" ; -"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_8" [label="8: DeclStmt \n *&x:int=2 [line 12, column 19]\n " shape="box"] - - - "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_8" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_6" ; - "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_8" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_7" ; -"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_9" [label="9: BinaryOperatorStmt: AddAssign \n n$2=*&x:int [line 13, column 15]\n n$3=*&result:int [line 13, column 5]\n *&result:int=(n$3 + n$2) [line 13, column 5]\n " shape="box"] - - - "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_9" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_5" ; -"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_10" [label="10: DeclStmt \n *&result:int=0 [line 11, column 3]\n " shape="box"] - - - "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_10" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_4" ; "init_with_scoped_var#8128013931289981830.1ee58ae56eeb1744bf4b3cc5c8cf5d42_1" [label="1: Start init_with_scoped_var\nFormals: \nLocals: i:int x:int result:int \n DECLARE_LOCALS(&return,&i,&x,&result); [line 17, column 1]\n " color=yellow style=filled] @@ -80,4 +40,44 @@ digraph cfg { "init_with_scoped_var#8128013931289981830.1ee58ae56eeb1744bf4b3cc5c8cf5d42_10" -> "init_with_scoped_var#8128013931289981830.1ee58ae56eeb1744bf4b3cc5c8cf5d42_4" ; +"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_1" [label="1: Start simple_init\nFormals: \nLocals: i:int x:int result:int \n DECLARE_LOCALS(&return,&i,&x,&result); [line 10, column 1]\n " color=yellow style=filled] + + + "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_1" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_10" ; +"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_2" [label="2: Exit simple_init \n " color=yellow style=filled] + + +"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_3" [label="3: + \n " ] + + + "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_3" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_8" ; +"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_4" [label="4: DeclStmt \n *&i:int=0 [line 12, column 8]\n " shape="box"] + + + "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_4" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_3" ; +"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_5" [label="5: UnaryOperator \n n$0=*&i:int [line 12, column 30]\n *&i:int=(n$0 + 1) [line 12, column 30]\n " shape="box"] + + + "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_5" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_3" ; +"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_6" [label="6: Prune (true branch, for loop) \n n$1=*&x:int [line 12, column 23]\n PRUNE(n$1, true); [line 12, column 23]\n " shape="invhouse"] + + + "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_6" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_9" ; +"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_7" [label="7: Prune (false branch, for loop) \n n$1=*&x:int [line 12, column 23]\n PRUNE(!n$1, false); [line 12, column 23]\n " shape="invhouse"] + + + "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_7" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_2" ; +"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_8" [label="8: DeclStmt \n *&x:int=2 [line 12, column 19]\n " shape="box"] + + + "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_8" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_6" ; + "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_8" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_7" ; +"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_9" [label="9: BinaryOperatorStmt: AddAssign \n n$2=*&x:int [line 13, column 15]\n n$3=*&result:int [line 13, column 5]\n *&result:int=(n$3 + n$2) [line 13, column 5]\n " shape="box"] + + + "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_9" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_5" ; +"simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_10" [label="10: DeclStmt \n *&result:int=0 [line 11, column 3]\n " shape="box"] + + + "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_10" -> "simple_init#1527365342003611175.8f75bf8cf2aefccd4d47ab9274e1f9af_4" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_if.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_if.cpp.dot index 0cd49b9b6..2e628fc6c 100644 --- a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_if.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_if.cpp.dot @@ -1,262 +1,262 @@ /* @generated */ digraph cfg { -"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_1" [label="1: Start simple_init_div1\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 10, column 1]\n " color=yellow style=filled] +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_1" [label="1: Start conditional_init_div0\nFormals: \nLocals: a:int 0$?%__sil_tmpSIL_temp_conditional___n$1:int \n DECLARE_LOCALS(&return,&a,&0$?%__sil_tmpSIL_temp_conditional___n$1); [line 42, column 1]\n " color=yellow style=filled] - "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_1" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_7" ; -"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_2" [label="2: Exit simple_init_div1 \n " color=yellow style=filled] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_1" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_8" ; + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_1" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_9" ; +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_2" [label="2: Exit conditional_init_div0 \n " color=yellow style=filled] -"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_3" [label="3: + \n " ] +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_3" [label="3: + \n " ] - "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_3" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_4" ; -"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_4" [label="4: between_join_and_exit \n " shape="box"] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_3" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_4" ; +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_4" [label="4: between_join_and_exit \n " shape="box"] - "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_4" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_2" ; -"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_5" [label="5: Prune (true branch, if) \n n$0=*&a:int [line 11, column 11]\n PRUNE(n$0, true); [line 11, column 11]\n " shape="invhouse"] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_4" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_2" ; +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_5" [label="5: Prune (true branch, if) \n n$0=*&a:int [line 43, column 11]\n PRUNE(n$0, true); [line 43, column 11]\n " shape="invhouse"] - "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_5" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_8" ; -"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_6" [label="6: Prune (false branch, if) \n n$0=*&a:int [line 11, column 11]\n PRUNE(!n$0, false); [line 11, column 11]\n " shape="invhouse"] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_5" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_13" ; +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_6" [label="6: Prune (false branch, if) \n n$0=*&a:int [line 43, column 11]\n PRUNE(!n$0, false); [line 43, column 11]\n " shape="invhouse"] - "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_6" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_3" ; -"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_7" [label="7: DeclStmt \n *&a:int=1 [line 11, column 7]\n " shape="box"] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_6" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_3" ; +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_7" [label="7: + \n " ] - "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_7" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_5" ; - "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_7" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_6" ; -"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_8" [label="8: Return Stmt \n n$1=*&a:int [line 12, column 16]\n *&return:int=(1 / n$1) [line 12, column 5]\n " shape="box"] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_7" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_12" ; +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_8" [label="8: Prune (true branch, boolean exp) \n PRUNE(1, true); [line 43, column 15]\n " shape="invhouse"] - "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_8" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_2" ; -"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_1" [label="1: Start simple_init_div0\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 16, column 1]\n " color=yellow style=filled] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_8" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_10" ; +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_9" [label="9: Prune (false branch, boolean exp) \n PRUNE(!1, false); [line 43, column 15]\n " shape="invhouse"] - "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_1" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_7" ; -"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_2" [label="2: Exit simple_init_div0 \n " color=yellow style=filled] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_9" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_11" ; +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_10" [label="10: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int=1 [line 43, column 15]\n " shape="box"] -"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_3" [label="3: + \n " ] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_10" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_7" ; +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_11" [label="11: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int=0 [line 43, column 15]\n " shape="box"] - "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_3" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_4" ; -"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_4" [label="4: between_join_and_exit \n " shape="box"] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_11" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_7" ; +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_12" [label="12: DeclStmt \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int [line 43, column 15]\n *&a:int=n$2 [line 43, column 7]\n " shape="box"] - "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_4" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_2" ; -"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_5" [label="5: Prune (true branch, if) \n n$0=*&a:int [line 17, column 11]\n PRUNE(n$0, true); [line 17, column 11]\n " shape="invhouse"] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_12" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_5" ; + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_12" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_6" ; +"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_13" [label="13: Return Stmt \n n$3=*&a:int [line 44, column 17]\n *&return:int=(1 / (n$3 - 1)) [line 44, column 5]\n " shape="box"] - "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_5" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_8" ; -"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_6" [label="6: Prune (false branch, if) \n n$0=*&a:int [line 17, column 11]\n PRUNE(!n$0, false); [line 17, column 11]\n " shape="invhouse"] + "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_13" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_2" ; +"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_1" [label="1: Start function_call_init_div0\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 36, column 1]\n " color=yellow style=filled] - "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_6" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_9" ; -"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_7" [label="7: DeclStmt \n *&a:int=0 [line 17, column 7]\n " shape="box"] + "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_1" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_7" ; +"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_2" [label="2: Exit function_call_init_div0 \n " color=yellow style=filled] - "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_7" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_5" ; - "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_7" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_6" ; -"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_8" [label="8: Return Stmt \n n$1=*&a:int [line 18, column 12]\n *&return:int=n$1 [line 18, column 5]\n " shape="box"] +"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_3" [label="3: + \n " ] - "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_8" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_2" ; -"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_9" [label="9: Return Stmt \n n$2=*&a:int [line 20, column 16]\n *&return:int=(1 / n$2) [line 20, column 5]\n " shape="box"] + "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_3" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_4" ; +"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_4" [label="4: between_join_and_exit \n " shape="box"] - "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_9" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_2" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_1" [label="1: Start simple_inif_elseif_div0\nFormals: \nLocals: a:int b:int \n DECLARE_LOCALS(&return,&a,&b); [line 24, column 1]\n " color=yellow style=filled] + "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_4" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_2" ; +"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_5" [label="5: Prune (true branch, if) \n n$0=*&a:int [line 37, column 11]\n PRUNE(n$0, true); [line 37, column 11]\n " shape="invhouse"] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_1" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_7" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_2" [label="2: Exit simple_inif_elseif_div0 \n " color=yellow style=filled] + "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_5" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_8" ; +"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_6" [label="6: Prune (false branch, if) \n n$0=*&a:int [line 37, column 11]\n PRUNE(!n$0, false); [line 37, column 11]\n " shape="invhouse"] -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_3" [label="3: + \n " ] + "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_6" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_3" ; +"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_7" [label="7: DeclStmt \n n$1=_fun_get1() [line 37, column 15]\n *&a:int=n$1 [line 37, column 7]\n " shape="box"] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_3" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_4" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_4" [label="4: between_join_and_exit \n " shape="box"] + "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_7" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_5" ; + "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_7" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_6" ; +"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_8" [label="8: Return Stmt \n n$2=*&a:int [line 38, column 17]\n *&return:int=(1 / (n$2 - 1)) [line 38, column 5]\n " shape="box"] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_4" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_2" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_5" [label="5: Prune (true branch, if) \n n$0=*&a:int [line 25, column 11]\n PRUNE(n$0, true); [line 25, column 11]\n " shape="invhouse"] + "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_8" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_2" ; +"get1#13610294053118758587.bb56087449b1c212bd814280133976bb_1" [label="1: Start get1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 34, column 1]\n " color=yellow style=filled] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_5" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_8" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_6" [label="6: Prune (false branch, if) \n n$0=*&a:int [line 25, column 11]\n PRUNE(!n$0, false); [line 25, column 11]\n " shape="invhouse"] + "get1#13610294053118758587.bb56087449b1c212bd814280133976bb_1" -> "get1#13610294053118758587.bb56087449b1c212bd814280133976bb_3" ; +"get1#13610294053118758587.bb56087449b1c212bd814280133976bb_2" [label="2: Exit get1 \n " color=yellow style=filled] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_6" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_12" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_7" [label="7: DeclStmt \n *&a:int=0 [line 25, column 7]\n " shape="box"] +"get1#13610294053118758587.bb56087449b1c212bd814280133976bb_3" [label="3: Return Stmt \n *&return:int=1 [line 34, column 14]\n " shape="box"] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_7" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_5" ; - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_7" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_6" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_8" [label="8: Return Stmt \n *&return:int=1 [line 26, column 5]\n " shape="box"] + "get1#13610294053118758587.bb56087449b1c212bd814280133976bb_3" -> "get1#13610294053118758587.bb56087449b1c212bd814280133976bb_2" ; +"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_1" [label="1: Start reference_init_div0\nFormals: \nLocals: a:int& r:int \n DECLARE_LOCALS(&return,&a,&r); [line 48, column 1]\n " color=yellow style=filled] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_8" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_2" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_9" [label="9: + \n " ] + "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_1" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_9" ; +"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_2" [label="2: Exit reference_init_div0 \n " color=yellow style=filled] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_9" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_3" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_10" [label="10: Prune (true branch, if) \n n$1=*&b:int [line 27, column 18]\n PRUNE(n$1, true); [line 27, column 18]\n " shape="invhouse"] +"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_3" [label="3: Return Stmt \n n$0=*&r:int [line 53, column 14]\n *&return:int=(1 / n$0) [line 53, column 3]\n " shape="box"] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_10" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_13" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_11" [label="11: Prune (false branch, if) \n n$1=*&b:int [line 27, column 18]\n PRUNE(!n$1, false); [line 27, column 18]\n " shape="invhouse"] + "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_3" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_2" ; +"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_4" [label="4: + \n " ] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_11" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_14" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_12" [label="12: DeclStmt \n *&b:int=0 [line 27, column 14]\n " shape="box"] + "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_4" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_3" ; +"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_5" [label="5: Prune (true branch, if) \n n$1=*&a:int& [line 50, column 12]\n n$2=*n$1:int [line 50, column 12]\n PRUNE(n$2, true); [line 50, column 12]\n " shape="invhouse"] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_12" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_10" ; - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_12" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_11" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_13" [label="13: Return Stmt \n *&return:int=1 [line 28, column 5]\n " shape="box"] + "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_5" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_8" ; +"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_6" [label="6: Prune (false branch, if) \n n$1=*&a:int& [line 50, column 12]\n n$2=*n$1:int [line 50, column 12]\n PRUNE(!n$2, false); [line 50, column 12]\n " shape="invhouse"] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_13" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_2" ; -"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_14" [label="14: Return Stmt \n n$2=*&a:int [line 30, column 17]\n n$3=*&b:int [line 30, column 21]\n *&return:int=(1 / (n$2 + n$3)) [line 30, column 5]\n " shape="box"] + "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_6" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_4" ; +"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_7" [label="7: DeclStmt \n *&a:int&=&r [line 50, column 7]\n " shape="box"] - "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_14" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_2" ; -"get1#13610294053118758587.bb56087449b1c212bd814280133976bb_1" [label="1: Start get1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 34, column 1]\n " color=yellow style=filled] + "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_7" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_5" ; + "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_7" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_6" ; +"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_8" [label="8: BinaryOperatorStmt: Assign \n n$3=*&a:int& [line 51, column 5]\n *n$3:int=0 [line 51, column 5]\n " shape="box"] - "get1#13610294053118758587.bb56087449b1c212bd814280133976bb_1" -> "get1#13610294053118758587.bb56087449b1c212bd814280133976bb_3" ; -"get1#13610294053118758587.bb56087449b1c212bd814280133976bb_2" [label="2: Exit get1 \n " color=yellow style=filled] + "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_8" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_4" ; +"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_9" [label="9: DeclStmt \n *&r:int=1 [line 49, column 3]\n " shape="box"] -"get1#13610294053118758587.bb56087449b1c212bd814280133976bb_3" [label="3: Return Stmt \n *&return:int=1 [line 34, column 14]\n " shape="box"] + "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_9" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_7" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_1" [label="1: Start simple_inif_elseif_div0\nFormals: \nLocals: a:int b:int \n DECLARE_LOCALS(&return,&a,&b); [line 24, column 1]\n " color=yellow style=filled] - "get1#13610294053118758587.bb56087449b1c212bd814280133976bb_3" -> "get1#13610294053118758587.bb56087449b1c212bd814280133976bb_2" ; -"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_1" [label="1: Start function_call_init_div0\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 36, column 1]\n " color=yellow style=filled] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_1" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_7" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_2" [label="2: Exit simple_inif_elseif_div0 \n " color=yellow style=filled] - "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_1" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_7" ; -"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_2" [label="2: Exit function_call_init_div0 \n " color=yellow style=filled] +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_3" [label="3: + \n " ] -"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_3" [label="3: + \n " ] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_3" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_4" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_4" [label="4: between_join_and_exit \n " shape="box"] - "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_3" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_4" ; -"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_4" [label="4: between_join_and_exit \n " shape="box"] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_4" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_2" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_5" [label="5: Prune (true branch, if) \n n$0=*&a:int [line 25, column 11]\n PRUNE(n$0, true); [line 25, column 11]\n " shape="invhouse"] - "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_4" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_2" ; -"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_5" [label="5: Prune (true branch, if) \n n$0=*&a:int [line 37, column 11]\n PRUNE(n$0, true); [line 37, column 11]\n " shape="invhouse"] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_5" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_8" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_6" [label="6: Prune (false branch, if) \n n$0=*&a:int [line 25, column 11]\n PRUNE(!n$0, false); [line 25, column 11]\n " shape="invhouse"] - "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_5" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_8" ; -"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_6" [label="6: Prune (false branch, if) \n n$0=*&a:int [line 37, column 11]\n PRUNE(!n$0, false); [line 37, column 11]\n " shape="invhouse"] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_6" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_12" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_7" [label="7: DeclStmt \n *&a:int=0 [line 25, column 7]\n " shape="box"] - "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_6" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_3" ; -"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_7" [label="7: DeclStmt \n n$1=_fun_get1() [line 37, column 15]\n *&a:int=n$1 [line 37, column 7]\n " shape="box"] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_7" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_5" ; + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_7" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_6" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_8" [label="8: Return Stmt \n *&return:int=1 [line 26, column 5]\n " shape="box"] - "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_7" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_5" ; - "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_7" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_6" ; -"function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_8" [label="8: Return Stmt \n n$2=*&a:int [line 38, column 17]\n *&return:int=(1 / (n$2 - 1)) [line 38, column 5]\n " shape="box"] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_8" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_2" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_9" [label="9: + \n " ] - "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_8" -> "function_call_init_div0#7458225874916439501.0ec340f42ffbe340a808e1b8bee4f555_2" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_1" [label="1: Start conditional_init_div0\nFormals: \nLocals: a:int 0$?%__sil_tmpSIL_temp_conditional___n$1:int \n DECLARE_LOCALS(&return,&a,&0$?%__sil_tmpSIL_temp_conditional___n$1); [line 42, column 1]\n " color=yellow style=filled] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_9" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_3" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_10" [label="10: Prune (true branch, if) \n n$1=*&b:int [line 27, column 18]\n PRUNE(n$1, true); [line 27, column 18]\n " shape="invhouse"] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_1" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_8" ; - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_1" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_9" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_2" [label="2: Exit conditional_init_div0 \n " color=yellow style=filled] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_10" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_13" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_11" [label="11: Prune (false branch, if) \n n$1=*&b:int [line 27, column 18]\n PRUNE(!n$1, false); [line 27, column 18]\n " shape="invhouse"] -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_3" [label="3: + \n " ] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_11" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_14" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_12" [label="12: DeclStmt \n *&b:int=0 [line 27, column 14]\n " shape="box"] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_3" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_4" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_4" [label="4: between_join_and_exit \n " shape="box"] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_12" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_10" ; + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_12" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_11" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_13" [label="13: Return Stmt \n *&return:int=1 [line 28, column 5]\n " shape="box"] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_4" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_2" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_5" [label="5: Prune (true branch, if) \n n$0=*&a:int [line 43, column 11]\n PRUNE(n$0, true); [line 43, column 11]\n " shape="invhouse"] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_13" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_2" ; +"simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_14" [label="14: Return Stmt \n n$2=*&a:int [line 30, column 17]\n n$3=*&b:int [line 30, column 21]\n *&return:int=(1 / (n$2 + n$3)) [line 30, column 5]\n " shape="box"] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_5" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_13" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_6" [label="6: Prune (false branch, if) \n n$0=*&a:int [line 43, column 11]\n PRUNE(!n$0, false); [line 43, column 11]\n " shape="invhouse"] + "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_14" -> "simple_inif_elseif_div0#1757541495273878703.c8ccefe72cee28b41298deb3c0060bd6_2" ; +"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_1" [label="1: Start simple_init_div0\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 16, column 1]\n " color=yellow style=filled] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_6" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_3" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_7" [label="7: + \n " ] + "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_1" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_7" ; +"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_2" [label="2: Exit simple_init_div0 \n " color=yellow style=filled] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_7" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_12" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_8" [label="8: Prune (true branch, boolean exp) \n PRUNE(1, true); [line 43, column 15]\n " shape="invhouse"] +"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_3" [label="3: + \n " ] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_8" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_10" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_9" [label="9: Prune (false branch, boolean exp) \n PRUNE(!1, false); [line 43, column 15]\n " shape="invhouse"] + "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_3" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_4" ; +"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_4" [label="4: between_join_and_exit \n " shape="box"] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_9" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_11" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_10" [label="10: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int=1 [line 43, column 15]\n " shape="box"] + "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_4" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_2" ; +"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_5" [label="5: Prune (true branch, if) \n n$0=*&a:int [line 17, column 11]\n PRUNE(n$0, true); [line 17, column 11]\n " shape="invhouse"] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_10" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_7" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_11" [label="11: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int=0 [line 43, column 15]\n " shape="box"] + "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_5" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_8" ; +"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_6" [label="6: Prune (false branch, if) \n n$0=*&a:int [line 17, column 11]\n PRUNE(!n$0, false); [line 17, column 11]\n " shape="invhouse"] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_11" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_7" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_12" [label="12: DeclStmt \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int [line 43, column 15]\n *&a:int=n$2 [line 43, column 7]\n " shape="box"] + "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_6" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_9" ; +"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_7" [label="7: DeclStmt \n *&a:int=0 [line 17, column 7]\n " shape="box"] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_12" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_5" ; - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_12" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_6" ; -"conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_13" [label="13: Return Stmt \n n$3=*&a:int [line 44, column 17]\n *&return:int=(1 / (n$3 - 1)) [line 44, column 5]\n " shape="box"] + "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_7" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_5" ; + "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_7" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_6" ; +"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_8" [label="8: Return Stmt \n n$1=*&a:int [line 18, column 12]\n *&return:int=n$1 [line 18, column 5]\n " shape="box"] - "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_13" -> "conditional_init_div0#15409862859031639280.1a402395676f14cae9f26917a820e9ed_2" ; -"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_1" [label="1: Start reference_init_div0\nFormals: \nLocals: a:int& r:int \n DECLARE_LOCALS(&return,&a,&r); [line 48, column 1]\n " color=yellow style=filled] + "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_8" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_2" ; +"simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_9" [label="9: Return Stmt \n n$2=*&a:int [line 20, column 16]\n *&return:int=(1 / n$2) [line 20, column 5]\n " shape="box"] - "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_1" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_9" ; -"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_2" [label="2: Exit reference_init_div0 \n " color=yellow style=filled] + "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_9" -> "simple_init_div0#11745425529376514034.212fa73086397a0d668498a9c8eff99e_2" ; +"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_1" [label="1: Start simple_init_div1\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 10, column 1]\n " color=yellow style=filled] -"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_3" [label="3: Return Stmt \n n$0=*&r:int [line 53, column 14]\n *&return:int=(1 / n$0) [line 53, column 3]\n " shape="box"] + "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_1" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_7" ; +"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_2" [label="2: Exit simple_init_div1 \n " color=yellow style=filled] - "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_3" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_2" ; -"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_4" [label="4: + \n " ] +"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_3" [label="3: + \n " ] - "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_4" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_3" ; -"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_5" [label="5: Prune (true branch, if) \n n$1=*&a:int& [line 50, column 12]\n n$2=*n$1:int [line 50, column 12]\n PRUNE(n$2, true); [line 50, column 12]\n " shape="invhouse"] + "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_3" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_4" ; +"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_4" [label="4: between_join_and_exit \n " shape="box"] - "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_5" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_8" ; -"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_6" [label="6: Prune (false branch, if) \n n$1=*&a:int& [line 50, column 12]\n n$2=*n$1:int [line 50, column 12]\n PRUNE(!n$2, false); [line 50, column 12]\n " shape="invhouse"] + "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_4" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_2" ; +"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_5" [label="5: Prune (true branch, if) \n n$0=*&a:int [line 11, column 11]\n PRUNE(n$0, true); [line 11, column 11]\n " shape="invhouse"] - "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_6" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_4" ; -"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_7" [label="7: DeclStmt \n *&a:int&=&r [line 50, column 7]\n " shape="box"] + "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_5" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_8" ; +"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_6" [label="6: Prune (false branch, if) \n n$0=*&a:int [line 11, column 11]\n PRUNE(!n$0, false); [line 11, column 11]\n " shape="invhouse"] - "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_7" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_5" ; - "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_7" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_6" ; -"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_8" [label="8: BinaryOperatorStmt: Assign \n n$3=*&a:int& [line 51, column 5]\n *n$3:int=0 [line 51, column 5]\n " shape="box"] + "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_6" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_3" ; +"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_7" [label="7: DeclStmt \n *&a:int=1 [line 11, column 7]\n " shape="box"] - "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_8" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_4" ; -"reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_9" [label="9: DeclStmt \n *&r:int=1 [line 49, column 3]\n " shape="box"] + "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_7" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_5" ; + "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_7" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_6" ; +"simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_8" [label="8: Return Stmt \n n$1=*&a:int [line 12, column 16]\n *&return:int=(1 / n$1) [line 12, column 5]\n " shape="box"] - "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_9" -> "reference_init_div0#8765531464226376816.66e8a6545ef6e4641561744b4125ae49_7" ; + "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_8" -> "simple_init_div1#11746272153330047279.0563640869475a4683e824c15c85a68a_2" ; "simple_init_null_deref#4388790903269166010.3931bff4c48c8b02a470a54ec37db174_1" [label="1: Start simple_init_null_deref\nFormals: \nLocals: p:int* \n DECLARE_LOCALS(&return,&p); [line 56, column 1]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_while.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_while.cpp.dot index ed0d1507c..673845d60 100644 --- a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_while.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_while.cpp.dot @@ -1,49 +1,5 @@ /* @generated */ digraph cfg { -"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_1" [label="1: Start simple_assignment\nFormals: \nLocals: a:int result:int x:int \n DECLARE_LOCALS(&return,&a,&result,&x); [line 10, column 1]\n " color=yellow style=filled] - - - "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_1" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_11" ; -"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_2" [label="2: Exit simple_assignment \n " color=yellow style=filled] - - -"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_3" [label="3: Return Stmt \n *&return:int=0 [line 17, column 3]\n " shape="box"] - - - "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_3" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_2" ; -"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_4" [label="4: + \n " ] - - - "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_4" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_7" ; -"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_5" [label="5: Prune (true branch, while) \n n$0=*&a:int [line 13, column 14]\n PRUNE(n$0, true); [line 13, column 14]\n " shape="invhouse"] - - - "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_5" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_9" ; -"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_6" [label="6: Prune (false branch, while) \n n$0=*&a:int [line 13, column 14]\n PRUNE(!n$0, false); [line 13, column 14]\n " shape="invhouse"] - - - "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_6" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_3" ; -"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_7" [label="7: DeclStmt \n n$1=*&x:int [line 13, column 18]\n *&a:int=n$1 [line 13, column 10]\n " shape="box"] - - - "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_7" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_5" ; - "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_7" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_6" ; -"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_8" [label="8: BinaryOperatorStmt: SubAssign \n n$2=*&x:int [line 15, column 5]\n *&x:int=(n$2 - 1) [line 15, column 5]\n " shape="box"] - - - "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_8" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_4" ; -"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_9" [label="9: BinaryOperatorStmt: AddAssign \n n$3=*&a:int [line 14, column 15]\n n$4=*&result:int [line 14, column 5]\n *&result:int=(n$4 + n$3) [line 14, column 5]\n " shape="box"] - - - "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_9" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_8" ; -"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_10" [label="10: DeclStmt \n *&result:int=0 [line 12, column 3]\n " shape="box"] - - - "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_10" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_4" ; -"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_11" [label="11: DeclStmt \n *&x:int=10 [line 11, column 3]\n " shape="box"] - - - "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_11" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_10" ; "conditional_assignment#8950169167588471442.be2d62cec5392b85b8d4d274664d86c5_1" [label="1: Start conditional_assignment\nFormals: \nLocals: a:int 0$?%__sil_tmpSIL_temp_conditional___n$1:int result:int x:int \n DECLARE_LOCALS(&return,&a,&0$?%__sil_tmpSIL_temp_conditional___n$1,&result,&x); [line 20, column 1]\n " color=yellow style=filled] @@ -113,4 +69,48 @@ digraph cfg { "conditional_assignment#8950169167588471442.be2d62cec5392b85b8d4d274664d86c5_17" -> "conditional_assignment#8950169167588471442.be2d62cec5392b85b8d4d274664d86c5_16" ; +"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_1" [label="1: Start simple_assignment\nFormals: \nLocals: a:int result:int x:int \n DECLARE_LOCALS(&return,&a,&result,&x); [line 10, column 1]\n " color=yellow style=filled] + + + "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_1" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_11" ; +"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_2" [label="2: Exit simple_assignment \n " color=yellow style=filled] + + +"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_3" [label="3: Return Stmt \n *&return:int=0 [line 17, column 3]\n " shape="box"] + + + "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_3" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_2" ; +"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_4" [label="4: + \n " ] + + + "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_4" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_7" ; +"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_5" [label="5: Prune (true branch, while) \n n$0=*&a:int [line 13, column 14]\n PRUNE(n$0, true); [line 13, column 14]\n " shape="invhouse"] + + + "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_5" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_9" ; +"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_6" [label="6: Prune (false branch, while) \n n$0=*&a:int [line 13, column 14]\n PRUNE(!n$0, false); [line 13, column 14]\n " shape="invhouse"] + + + "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_6" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_3" ; +"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_7" [label="7: DeclStmt \n n$1=*&x:int [line 13, column 18]\n *&a:int=n$1 [line 13, column 10]\n " shape="box"] + + + "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_7" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_5" ; + "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_7" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_6" ; +"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_8" [label="8: BinaryOperatorStmt: SubAssign \n n$2=*&x:int [line 15, column 5]\n *&x:int=(n$2 - 1) [line 15, column 5]\n " shape="box"] + + + "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_8" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_4" ; +"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_9" [label="9: BinaryOperatorStmt: AddAssign \n n$3=*&a:int [line 14, column 15]\n n$4=*&result:int [line 14, column 5]\n *&result:int=(n$4 + n$3) [line 14, column 5]\n " shape="box"] + + + "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_9" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_8" ; +"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_10" [label="10: DeclStmt \n *&result:int=0 [line 12, column 3]\n " shape="box"] + + + "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_10" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_4" ; +"simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_11" [label="11: DeclStmt \n *&x:int=10 [line 11, column 3]\n " shape="box"] + + + "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_11" -> "simple_assignment#6454162814810356464.3b57619dd6c2d612798bc9ac9e7cf8ee_10" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/npe/method_call.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/npe/method_call.cpp.dot index ff84bc8ac..3bb99426b 100644 --- a/infer/tests/codetoanalyze/cpp/shared/npe/method_call.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/npe/method_call.cpp.dot @@ -1,20 +1,16 @@ /* @generated */ digraph cfg { -"npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_1" [label="1: Start npe_call\nFormals: \nLocals: x:X* \n DECLARE_LOCALS(&return,&x); [line 15, column 1]\n " color=yellow style=filled] - - - "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_1" -> "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_4" ; -"npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_2" [label="2: Exit npe_call \n " color=yellow style=filled] +"call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_1" [label="1: Start call_with_forward_declaration\nFormals: x:XForward*\nLocals: \n DECLARE_LOCALS(&return); [line 35, column 1]\n " color=yellow style=filled] -"npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_3" [label="3: Return Stmt \n n$0=*&x:X* [line 17, column 10]\n _=*n$0:X [line 17, column 10]\n n$2=_fun_X_call(n$0:X*) [line 17, column 10]\n *&return:int=n$2 [line 17, column 3]\n " shape="box"] + "call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_1" -> "call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_3" ; +"call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_2" [label="2: Exit call_with_forward_declaration \n " color=yellow style=filled] - "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_3" -> "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_2" ; -"npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_4" [label="4: DeclStmt \n *&x:X*=null [line 16, column 3]\n " shape="box"] +"call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_3" [label="3: Call _fun_XForward_call \n n$0=*&x:XForward* [line 35, column 51]\n _=*n$0:XForward [line 35, column 51]\n n$2=_fun_XForward_call(n$0:XForward*) [line 35, column 51]\n " shape="box"] - "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_4" -> "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_3" ; + "call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_3" -> "call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_2" ; "getX#13708790503777666214.a992c0752db0283a341b47e16da10f48_1" [label="1: Start getX\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 20, column 1]\n " color=yellow style=filled] @@ -26,6 +22,21 @@ digraph cfg { "getX#13708790503777666214.a992c0752db0283a341b47e16da10f48_3" -> "getX#13708790503777666214.a992c0752db0283a341b47e16da10f48_2" ; +"npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_1" [label="1: Start npe_call\nFormals: \nLocals: x:X* \n DECLARE_LOCALS(&return,&x); [line 15, column 1]\n " color=yellow style=filled] + + + "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_1" -> "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_4" ; +"npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_2" [label="2: Exit npe_call \n " color=yellow style=filled] + + +"npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_3" [label="3: Return Stmt \n n$0=*&x:X* [line 17, column 10]\n _=*n$0:X [line 17, column 10]\n n$2=_fun_X_call(n$0:X*) [line 17, column 10]\n *&return:int=n$2 [line 17, column 3]\n " shape="box"] + + + "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_3" -> "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_2" ; +"npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_4" [label="4: DeclStmt \n *&x:X*=null [line 16, column 3]\n " shape="box"] + + + "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_4" -> "npe_call#13153501568930109452.8b51ea84ce0a673218a9c81b7ab70538_3" ; "npe_call_after_call#8140813350794705532.fd3a6d06275def8a130284a430f22a3d_1" [label="1: Start npe_call_after_call\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] @@ -48,17 +59,6 @@ digraph cfg { "npe_call_with_forward_declaration#12046983290123510130.5e902eb9a8f96f74e83d527b422bd861_3" -> "npe_call_with_forward_declaration#12046983290123510130.5e902eb9a8f96f74e83d527b422bd861_2" ; -"call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_1" [label="1: Start call_with_forward_declaration\nFormals: x:XForward*\nLocals: \n DECLARE_LOCALS(&return); [line 35, column 1]\n " color=yellow style=filled] - - - "call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_1" -> "call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_3" ; -"call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_2" [label="2: Exit call_with_forward_declaration \n " color=yellow style=filled] - - -"call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_3" [label="3: Call _fun_XForward_call \n n$0=*&x:XForward* [line 35, column 51]\n _=*n$0:XForward [line 35, column 51]\n n$2=_fun_XForward_call(n$0:XForward*) [line 35, column 51]\n " shape="box"] - - - "call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_3" -> "call_with_forward_declaration#16178135517860387666.7dab8d0b16e63b8b27f5ae7c5c45a070_2" ; "call#X#(5770224879682844394).d055b894c8e89eaff4b8d412706da082_1" [label="1: Start X_call\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/reference/increment.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/reference/increment.cpp.dot index d5a41e8be..adf8bbc5f 100644 --- a/infer/tests/codetoanalyze/cpp/shared/reference/increment.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/reference/increment.cpp.dot @@ -1,24 +1,5 @@ /* @generated */ digraph cfg { -"using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_1" [label="1: Start using_value\nFormals: \nLocals: q:int& r:int& v:int \n DECLARE_LOCALS(&return,&q,&r,&v); [line 10, column 1]\n " color=yellow style=filled] - - - "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_1" -> "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_5" ; -"using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_2" [label="2: Exit using_value \n " color=yellow style=filled] - - -"using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_3" [label="3: DeclStmt \n n$0=*&v:int [line 13, column 12]\n *&v:int=(n$0 - 1) [line 13, column 12]\n *&q:int&=&v [line 13, column 3]\n " shape="box"] - - - "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_3" -> "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_2" ; -"using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_4" [label="4: DeclStmt \n n$1=*&v:int [line 12, column 12]\n *&v:int=(n$1 + 1) [line 12, column 12]\n *&r:int&=&v [line 12, column 3]\n " shape="box"] - - - "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_4" -> "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_3" ; -"using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_5" [label="5: DeclStmt \n *&v:int=3 [line 11, column 3]\n " shape="box"] - - - "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_5" -> "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_4" ; "using_ref#11585308534136333375.096010b8466cdacb12ca24c30d2a7334_1" [label="1: Start using_ref\nFormals: \nLocals: q:int& r:int& vr:int& v:int \n DECLARE_LOCALS(&return,&q,&r,&vr,&v); [line 16, column 1]\n " color=yellow style=filled] @@ -42,4 +23,23 @@ digraph cfg { "using_ref#11585308534136333375.096010b8466cdacb12ca24c30d2a7334_6" -> "using_ref#11585308534136333375.096010b8466cdacb12ca24c30d2a7334_5" ; +"using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_1" [label="1: Start using_value\nFormals: \nLocals: q:int& r:int& v:int \n DECLARE_LOCALS(&return,&q,&r,&v); [line 10, column 1]\n " color=yellow style=filled] + + + "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_1" -> "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_5" ; +"using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_2" [label="2: Exit using_value \n " color=yellow style=filled] + + +"using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_3" [label="3: DeclStmt \n n$0=*&v:int [line 13, column 12]\n *&v:int=(n$0 - 1) [line 13, column 12]\n *&q:int&=&v [line 13, column 3]\n " shape="box"] + + + "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_3" -> "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_2" ; +"using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_4" [label="4: DeclStmt \n n$1=*&v:int [line 12, column 12]\n *&v:int=(n$1 + 1) [line 12, column 12]\n *&r:int&=&v [line 12, column 3]\n " shape="box"] + + + "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_4" -> "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_3" ; +"using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_5" [label="5: DeclStmt \n *&v:int=3 [line 11, column 3]\n " shape="box"] + + + "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_5" -> "using_value#13692921440907975250.fad67099f85ea68eb3281c85bd0ca170_4" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/reference/init.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/reference/init.cpp.dot index 4231c2017..13594fa7b 100644 --- a/infer/tests/codetoanalyze/cpp/shared/reference/init.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/reference/init.cpp.dot @@ -1,24 +1,5 @@ /* @generated */ digraph cfg { -"init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_1" [label="1: Start init_from_val\nFormals: par:int\nLocals: p:int* d:int& v:int \n DECLARE_LOCALS(&return,&p,&d,&v); [line 16, column 1]\n " color=yellow style=filled] - - - "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_1" -> "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_5" ; -"init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_2" [label="2: Exit init_from_val \n " color=yellow style=filled] - - -"init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_3" [label="3: DeclStmt \n *&p:int*=&par [line 19, column 3]\n " shape="box"] - - - "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_3" -> "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_2" ; -"init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_4" [label="4: DeclStmt \n *&d:int&=&par [line 18, column 3]\n " shape="box"] - - - "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_4" -> "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_3" ; -"init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_5" [label="5: DeclStmt \n n$0=*&par:int [line 17, column 11]\n *&v:int=n$0 [line 17, column 3]\n " shape="box"] - - - "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_5" -> "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_4" ; "init_from_ptr#9521990274512470149.d27094f3cfd0d42c143fba9593870578_1" [label="1: Start init_from_ptr\nFormals: par:int*\nLocals: p:int* d:int& v:int \n DECLARE_LOCALS(&return,&p,&d,&v); [line 22, column 1]\n " color=yellow style=filled] @@ -57,4 +38,23 @@ digraph cfg { "init_from_ref#17239877270654219020.166550b98b7cafba1c908639121bced8_5" -> "init_from_ref#17239877270654219020.166550b98b7cafba1c908639121bced8_4" ; +"init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_1" [label="1: Start init_from_val\nFormals: par:int\nLocals: p:int* d:int& v:int \n DECLARE_LOCALS(&return,&p,&d,&v); [line 16, column 1]\n " color=yellow style=filled] + + + "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_1" -> "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_5" ; +"init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_2" [label="2: Exit init_from_val \n " color=yellow style=filled] + + +"init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_3" [label="3: DeclStmt \n *&p:int*=&par [line 19, column 3]\n " shape="box"] + + + "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_3" -> "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_2" ; +"init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_4" [label="4: DeclStmt \n *&d:int&=&par [line 18, column 3]\n " shape="box"] + + + "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_4" -> "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_3" ; +"init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_5" [label="5: DeclStmt \n n$0=*&par:int [line 17, column 11]\n *&v:int=n$0 [line 17, column 3]\n " shape="box"] + + + "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_5" -> "init_from_val#14538961741925123970.e5e29991fa3b6aa0a341c0c9f54754a7_4" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/reference/member_access_from_return.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/reference/member_access_from_return.cpp.dot index 2bcf512f9..4baa26d8b 100644 --- a/infer/tests/codetoanalyze/cpp/shared/reference/member_access_from_return.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/reference/member_access_from_return.cpp.dot @@ -33,6 +33,21 @@ digraph cfg { "get_ref#3760753509995480941.1a9482316aa67c38d5004ec1f3cb74db_3" -> "get_ref#3760753509995480941.1a9482316aa67c38d5004ec1f3cb74db_2" ; +"test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_1" [label="1: Start test_ptr\nFormals: \nLocals: c:int f:int \n DECLARE_LOCALS(&return,&c,&f); [line 24, column 1]\n " color=yellow style=filled] + + + "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_1" -> "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_4" ; +"test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_2" [label="2: Exit test_ptr \n " color=yellow style=filled] + + +"test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_3" [label="3: DeclStmt \n n$0=_fun_get_ptr() [line 26, column 11]\n _=*n$0:X [line 26, column 11]\n n$2=_fun_X_call(n$0:X*) [line 26, column 11]\n *&c:int=n$2 [line 26, column 3]\n " shape="box"] + + + "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_3" -> "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_2" ; +"test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_4" [label="4: DeclStmt \n n$3=_fun_get_ptr() [line 25, column 11]\n n$4=*n$3.f:int [line 25, column 11]\n *&f:int=n$4 [line 25, column 3]\n " shape="box"] + + + "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_4" -> "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_3" ; "test_ref#7021555814503032268.9c735d5eedd26e3009ec35c4af427db4_1" [label="1: Start test_ref\nFormals: \nLocals: c:int f:int \n DECLARE_LOCALS(&return,&c,&f); [line 19, column 1]\n " color=yellow style=filled] @@ -48,21 +63,13 @@ digraph cfg { "test_ref#7021555814503032268.9c735d5eedd26e3009ec35c4af427db4_4" -> "test_ref#7021555814503032268.9c735d5eedd26e3009ec35c4af427db4_3" ; -"test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_1" [label="1: Start test_ptr\nFormals: \nLocals: c:int f:int \n DECLARE_LOCALS(&return,&c,&f); [line 24, column 1]\n " color=yellow style=filled] - - - "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_1" -> "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_4" ; -"test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_2" [label="2: Exit test_ptr \n " color=yellow style=filled] - - -"test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_3" [label="3: DeclStmt \n n$0=_fun_get_ptr() [line 26, column 11]\n _=*n$0:X [line 26, column 11]\n n$2=_fun_X_call(n$0:X*) [line 26, column 11]\n *&c:int=n$2 [line 26, column 3]\n " shape="box"] +"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" [label="1: Start X_X\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] - "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_3" -> "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_2" ; -"test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_4" [label="4: DeclStmt \n n$3=_fun_get_ptr() [line 25, column 11]\n n$4=*n$3.f:int [line 25, column 11]\n *&f:int=n$4 [line 25, column 3]\n " shape="box"] + "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" ; +"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" [label="2: Exit X_X \n " color=yellow style=filled] - "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_4" -> "test_ptr#11416786403465510397.fe356f46dccde5545eadf0c661f4974d_3" ; "call#X#(5770224879682844394).d055b894c8e89eaff4b8d412706da082_1" [label="1: Start X_call\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] @@ -74,11 +81,4 @@ digraph cfg { "call#X#(5770224879682844394).d055b894c8e89eaff4b8d412706da082_3" -> "call#X#(5770224879682844394).d055b894c8e89eaff4b8d412706da082_2" ; -"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" [label="1: Start X_X\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] - - - "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" ; -"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" [label="2: Exit X_X \n " color=yellow style=filled] - - } diff --git a/infer/tests/codetoanalyze/cpp/shared/reference/nested_assignment.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/reference/nested_assignment.cpp.dot index 9f8c7cadb..ed8e8ff8f 100644 --- a/infer/tests/codetoanalyze/cpp/shared/reference/nested_assignment.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/reference/nested_assignment.cpp.dot @@ -1,24 +1,28 @@ /* @generated */ digraph cfg { -"normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_1" [label="1: Start normal\nFormals: \nLocals: ref_from_ref:int& ref_from_val:int& a:int \n DECLARE_LOCALS(&return,&ref_from_ref,&ref_from_val,&a); [line 10, column 1]\n " color=yellow style=filled] +"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_1" [label="1: Start crazy_nested\nFormals: \nLocals: ref_from_ref:int& ref_from_val:int& b:int a:int \n DECLARE_LOCALS(&return,&ref_from_ref,&ref_from_val,&b,&a); [line 22, column 1]\n " color=yellow style=filled] - "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_1" -> "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_5" ; -"normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_2" [label="2: Exit normal \n " color=yellow style=filled] + "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_1" -> "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_6" ; +"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_2" [label="2: Exit crazy_nested \n " color=yellow style=filled] -"normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_3" [label="3: DeclStmt \n n$0=*&ref_from_val:int& [line 13, column 23]\n *&ref_from_ref:int&=n$0 [line 13, column 3]\n " shape="box"] +"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_3" [label="3: DeclStmt \n n$0=*&ref_from_val:int& [line 29, column 23]\n *&b:int=5 [line 29, column 38]\n n$1=*&b:int [line 29, column 38]\n *n$0:int=n$1 [line 29, column 23]\n *&ref_from_ref:int&=n$0 [line 29, column 3]\n " shape="box"] - "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_3" -> "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_2" ; -"normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_4" [label="4: DeclStmt \n *&ref_from_val:int&=&a [line 12, column 3]\n " shape="box"] + "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_3" -> "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_2" ; +"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_4" [label="4: DeclStmt \n *&b:int=4 [line 28, column 27]\n n$2=*&b:int [line 28, column 27]\n *&a:int=n$2 [line 28, column 23]\n *&ref_from_val:int&=&a [line 28, column 3]\n " shape="box"] - "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_4" -> "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_3" ; -"normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_5" [label="5: DeclStmt \n *&a:int=3 [line 11, column 3]\n " shape="box"] + "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_4" -> "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_3" ; +"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_5" [label="5: DeclStmt \n n$3=*&a:int [line 24, column 11]\n *&b:int=n$3 [line 24, column 3]\n " shape="box"] - "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_5" -> "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_4" ; + "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_5" -> "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_4" ; +"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_6" [label="6: DeclStmt \n *&a:int=3 [line 23, column 3]\n " shape="box"] + + + "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_6" -> "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_5" ; "nested#4768179933025409429.17c34afcb279e8ad08f7f8afaad41585_1" [label="1: Start nested\nFormals: \nLocals: ref_from_ref:int& ref_from_val:int& a:int \n DECLARE_LOCALS(&return,&ref_from_ref,&ref_from_val,&a); [line 16, column 1]\n " color=yellow style=filled] @@ -38,27 +42,23 @@ digraph cfg { "nested#4768179933025409429.17c34afcb279e8ad08f7f8afaad41585_5" -> "nested#4768179933025409429.17c34afcb279e8ad08f7f8afaad41585_4" ; -"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_1" [label="1: Start crazy_nested\nFormals: \nLocals: ref_from_ref:int& ref_from_val:int& b:int a:int \n DECLARE_LOCALS(&return,&ref_from_ref,&ref_from_val,&b,&a); [line 22, column 1]\n " color=yellow style=filled] - - - "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_1" -> "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_6" ; -"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_2" [label="2: Exit crazy_nested \n " color=yellow style=filled] +"normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_1" [label="1: Start normal\nFormals: \nLocals: ref_from_ref:int& ref_from_val:int& a:int \n DECLARE_LOCALS(&return,&ref_from_ref,&ref_from_val,&a); [line 10, column 1]\n " color=yellow style=filled] -"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_3" [label="3: DeclStmt \n n$0=*&ref_from_val:int& [line 29, column 23]\n *&b:int=5 [line 29, column 38]\n n$1=*&b:int [line 29, column 38]\n *n$0:int=n$1 [line 29, column 23]\n *&ref_from_ref:int&=n$0 [line 29, column 3]\n " shape="box"] + "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_1" -> "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_5" ; +"normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_2" [label="2: Exit normal \n " color=yellow style=filled] - "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_3" -> "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_2" ; -"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_4" [label="4: DeclStmt \n *&b:int=4 [line 28, column 27]\n n$2=*&b:int [line 28, column 27]\n *&a:int=n$2 [line 28, column 23]\n *&ref_from_val:int&=&a [line 28, column 3]\n " shape="box"] +"normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_3" [label="3: DeclStmt \n n$0=*&ref_from_val:int& [line 13, column 23]\n *&ref_from_ref:int&=n$0 [line 13, column 3]\n " shape="box"] - "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_4" -> "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_3" ; -"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_5" [label="5: DeclStmt \n n$3=*&a:int [line 24, column 11]\n *&b:int=n$3 [line 24, column 3]\n " shape="box"] + "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_3" -> "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_2" ; +"normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_4" [label="4: DeclStmt \n *&ref_from_val:int&=&a [line 12, column 3]\n " shape="box"] - "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_5" -> "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_4" ; -"crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_6" [label="6: DeclStmt \n *&a:int=3 [line 23, column 3]\n " shape="box"] + "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_4" -> "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_3" ; +"normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_5" [label="5: DeclStmt \n *&a:int=3 [line 11, column 3]\n " shape="box"] - "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_6" -> "crazy_nested#10001276026471322284.a3162fff8adcb89d9e3fa84dea455e7f_5" ; + "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_5" -> "normal#16009437256715545217.c7cd9ebbb6d7cc9f4987cf90ce12a044_4" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/reference/ptr_mem.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/reference/ptr_mem.cpp.dot index c57fc25a2..95b130414 100644 --- a/infer/tests/codetoanalyze/cpp/shared/reference/ptr_mem.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/reference/ptr_mem.cpp.dot @@ -23,6 +23,21 @@ digraph cfg { "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; +"List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_1" [label="1: Start List_List\nFormals: this:List* next_ptr:void\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] + + + "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_1" -> "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_4" ; +"List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_2" [label="2: Exit List_List \n " color=yellow style=filled] + + +"List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_3" [label="3: Constructor Init \n n$0=*&this:List* [line 16, column 42]\n n$1=*&next_ptr:void [line 16, column 51]\n *n$0.next_ptr:void=n$1 [line 16, column 42]\n " shape="box"] + + + "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_3" -> "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_2" ; +"List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_4" [label="4: Constructor Init \n n$2=*&this:List* [line 16, column 27]\n *n$2.head:item*=null [line 16, column 27]\n " shape="box"] + + + "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_4" -> "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_3" ; "add#List#(8886422348332570962).d7124ab68ff2274165f87f96f8efb745_1" [label="1: Start List_add\nFormals: this:List* e:item*\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 3]\n " color=yellow style=filled] @@ -53,21 +68,6 @@ digraph cfg { "add_byref#List#(435356425820132485).163c5ed0bcef8861fe1a46383d99ea83_4" -> "add_byref#List#(435356425820132485).163c5ed0bcef8861fe1a46383d99ea83_3" ; -"List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_1" [label="1: Start List_List\nFormals: this:List* next_ptr:void\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] - - - "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_1" -> "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_4" ; -"List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_2" [label="2: Exit List_List \n " color=yellow style=filled] - - -"List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_3" [label="3: Constructor Init \n n$0=*&this:List* [line 16, column 42]\n n$1=*&next_ptr:void [line 16, column 51]\n *n$0.next_ptr:void=n$1 [line 16, column 42]\n " shape="box"] - - - "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_3" -> "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_2" ; -"List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_4" [label="4: Constructor Init \n n$2=*&this:List* [line 16, column 27]\n *n$2.head:item*=null [line 16, column 27]\n " shape="box"] - - - "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_4" -> "List#List#{15914538297308632075}.3434f5c53e6f70f530bf6d3beb27430e_3" ; "item#item#{8704603758565933158}.444c1f007931991a5b2dfd25b7b090f5_1" [label="1: Start item_item\nFormals: this:item*\nLocals: \n DECLARE_LOCALS(&return); [line 9, column 8]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/reference/reference_field.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/reference/reference_field.cpp.dot index 3f3b81681..30ffa7027 100644 --- a/infer/tests/codetoanalyze/cpp/shared/reference/reference_field.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/reference/reference_field.cpp.dot @@ -1,221 +1,221 @@ /* @generated */ digraph cfg { -"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_1" [label="1: Start reference_field::ref_F_div0\nFormals: \nLocals: r:reference_field::Ref x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 48, column 1]\n " color=yellow style=filled] +"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_1" [label="1: Start reference_field::ptr_F_div0\nFormals: \nLocals: r:reference_field::Ptr x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 81, column 1]\n " color=yellow style=filled] - "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_1" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_7" ; -"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_2" [label="2: Exit reference_field::ref_F_div0 \n " color=yellow style=filled] + "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_1" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_7" ; +"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_2" [label="2: Exit reference_field::ptr_F_div0 \n " color=yellow style=filled] -"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_3" [label="3: Return Stmt \n n$0=*&r.x:reference_field::X& [line 53, column 14]\n n$1=*n$0.f:int [line 53, column 14]\n *&return:int=(1 / n$1) [line 53, column 3]\n _=*&x:reference_field::X [line 53, column 18]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 53, column 18]\n " shape="box"] +"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_3" [label="3: Return Stmt \n n$0=*&r.x:reference_field::X* [line 86, column 14]\n n$1=*n$0.f:int [line 86, column 14]\n *&return:int=(1 / n$1) [line 86, column 3]\n _=*&x:reference_field::X [line 86, column 19]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 86, column 19]\n " shape="box"] - "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_3" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_2" ; -"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 52, column 3]\n " shape="box"] + "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_3" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_2" ; +"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 85, column 3]\n " shape="box"] - "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_4" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_3" ; -"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_5" [label="5: DeclStmt \n _fun_reference_field::Ref_Ref(&r:reference_field::Ref*,&x:reference_field::X&) [line 51, column 7]\n " shape="box"] + "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_4" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_3" ; +"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_5" [label="5: DeclStmt \n _fun_reference_field::Ptr_Ptr(&r:reference_field::Ptr*,&x:reference_field::X&) [line 84, column 7]\n " shape="box"] - "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_5" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_4" ; -"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 50, column 3]\n " shape="box"] + "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_5" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_4" ; +"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 83, column 3]\n " shape="box"] - "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_6" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_5" ; -"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 49, column 5]\n " shape="box"] + "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_6" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_5" ; +"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 82, column 5]\n " shape="box"] - "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_7" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_6" ; -"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_1" [label="1: Start reference_field::ref_I_div0\nFormals: \nLocals: r:reference_field::Ref x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 56, column 1]\n " color=yellow style=filled] + "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_7" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_6" ; +"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_1" [label="1: Start reference_field::ptr_I_div0\nFormals: \nLocals: r:reference_field::Ptr x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 89, column 1]\n " color=yellow style=filled] - "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_1" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_7" ; -"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_2" [label="2: Exit reference_field::ref_I_div0 \n " color=yellow style=filled] + "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_1" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_7" ; +"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_2" [label="2: Exit reference_field::ptr_I_div0 \n " color=yellow style=filled] -"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_3" [label="3: Return Stmt \n n$0=*&r.i:int& [line 61, column 14]\n n$1=*n$0:int [line 61, column 14]\n *&return:int=(1 / n$1) [line 61, column 3]\n _=*&x:reference_field::X [line 61, column 16]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 61, column 16]\n " shape="box"] +"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_3" [label="3: Return Stmt \n n$0=*&r.i:int* [line 94, column 15]\n n$1=*n$0:int [line 94, column 14]\n *&return:int=(1 / n$1) [line 94, column 3]\n _=*&x:reference_field::X [line 94, column 17]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 94, column 17]\n " shape="box"] - "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_3" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_2" ; -"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 60, column 3]\n " shape="box"] + "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_3" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_2" ; +"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 93, column 3]\n " shape="box"] - "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_4" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_3" ; -"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_5" [label="5: DeclStmt \n _fun_reference_field::Ref_Ref(&r:reference_field::Ref*,&x:reference_field::X&) [line 59, column 7]\n " shape="box"] + "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_4" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_3" ; +"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_5" [label="5: DeclStmt \n _fun_reference_field::Ptr_Ptr(&r:reference_field::Ptr*,&x:reference_field::X&) [line 92, column 7]\n " shape="box"] - "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_5" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_4" ; -"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 58, column 3]\n " shape="box"] + "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_5" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_4" ; +"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 91, column 3]\n " shape="box"] - "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_6" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_5" ; -"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 57, column 5]\n " shape="box"] + "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_6" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_5" ; +"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 90, column 5]\n " shape="box"] - "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_7" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_6" ; -"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_1" [label="1: Start reference_field::ref_getF_div0\nFormals: \nLocals: r:reference_field::Ref x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 64, column 1]\n " color=yellow style=filled] + "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_7" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_6" ; +"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_1" [label="1: Start reference_field::ptr_getF_div0\nFormals: \nLocals: r:reference_field::Ptr x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 97, column 1]\n " color=yellow style=filled] - "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_1" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_7" ; -"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_2" [label="2: Exit reference_field::ref_getF_div0 \n " color=yellow style=filled] + "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_1" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_7" ; +"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_2" [label="2: Exit reference_field::ptr_getF_div0 \n " color=yellow style=filled] -"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_3" [label="3: Return Stmt \n _=*&r:reference_field::Ref [line 69, column 14]\n n$1=_fun_reference_field::Ref_getF(&r:reference_field::Ref&) [line 69, column 14]\n *&return:int=(1 / n$1) [line 69, column 3]\n _=*&x:reference_field::X [line 69, column 21]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 69, column 21]\n " shape="box"] +"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_3" [label="3: Return Stmt \n _=*&r:reference_field::Ptr [line 102, column 14]\n n$1=_fun_reference_field::Ptr_getF(&r:reference_field::Ptr&) [line 102, column 14]\n *&return:int=(1 / n$1) [line 102, column 3]\n _=*&x:reference_field::X [line 102, column 21]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 102, column 21]\n " shape="box"] - "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_3" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_2" ; -"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 68, column 3]\n " shape="box"] + "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_3" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_2" ; +"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 101, column 3]\n " shape="box"] - "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_4" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_3" ; -"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_5" [label="5: DeclStmt \n _fun_reference_field::Ref_Ref(&r:reference_field::Ref*,&x:reference_field::X&) [line 67, column 7]\n " shape="box"] + "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_4" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_3" ; +"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_5" [label="5: DeclStmt \n _fun_reference_field::Ptr_Ptr(&r:reference_field::Ptr*,&x:reference_field::X&) [line 100, column 7]\n " shape="box"] - "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_5" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_4" ; -"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 66, column 3]\n " shape="box"] + "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_5" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_4" ; +"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 99, column 3]\n " shape="box"] - "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_6" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_5" ; -"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 65, column 5]\n " shape="box"] + "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_6" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_5" ; +"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 98, column 5]\n " shape="box"] - "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_7" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_6" ; -"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_1" [label="1: Start reference_field::ref_getI_div0\nFormals: \nLocals: r:reference_field::Ref x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 72, column 1]\n " color=yellow style=filled] + "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_7" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_6" ; +"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_1" [label="1: Start reference_field::ptr_getI_div0\nFormals: \nLocals: r:reference_field::Ptr x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 105, column 1]\n " color=yellow style=filled] - "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_1" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_7" ; -"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_2" [label="2: Exit reference_field::ref_getI_div0 \n " color=yellow style=filled] + "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_1" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_7" ; +"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_2" [label="2: Exit reference_field::ptr_getI_div0 \n " color=yellow style=filled] -"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_3" [label="3: Return Stmt \n _=*&r:reference_field::Ref [line 77, column 14]\n n$1=_fun_reference_field::Ref_getI(&r:reference_field::Ref&) [line 77, column 14]\n *&return:int=(1 / n$1) [line 77, column 3]\n _=*&x:reference_field::X [line 77, column 21]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 77, column 21]\n " shape="box"] +"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_3" [label="3: Return Stmt \n _=*&r:reference_field::Ptr [line 110, column 14]\n n$1=_fun_reference_field::Ptr_getI(&r:reference_field::Ptr&) [line 110, column 14]\n *&return:int=(1 / n$1) [line 110, column 3]\n _=*&x:reference_field::X [line 110, column 21]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 110, column 21]\n " shape="box"] - "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_3" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_2" ; -"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 76, column 3]\n " shape="box"] + "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_3" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_2" ; +"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 109, column 3]\n " shape="box"] - "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_4" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_3" ; -"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_5" [label="5: DeclStmt \n _fun_reference_field::Ref_Ref(&r:reference_field::Ref*,&x:reference_field::X&) [line 75, column 7]\n " shape="box"] + "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_4" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_3" ; +"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_5" [label="5: DeclStmt \n _fun_reference_field::Ptr_Ptr(&r:reference_field::Ptr*,&x:reference_field::X&) [line 108, column 7]\n " shape="box"] - "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_5" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_4" ; -"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 74, column 3]\n " shape="box"] + "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_5" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_4" ; +"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 107, column 3]\n " shape="box"] - "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_6" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_5" ; -"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 73, column 5]\n " shape="box"] + "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_6" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_5" ; +"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 106, column 5]\n " shape="box"] - "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_7" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_6" ; -"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_1" [label="1: Start reference_field::ptr_F_div0\nFormals: \nLocals: r:reference_field::Ptr x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 81, column 1]\n " color=yellow style=filled] + "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_7" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_6" ; +"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_1" [label="1: Start reference_field::ref_F_div0\nFormals: \nLocals: r:reference_field::Ref x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 48, column 1]\n " color=yellow style=filled] - "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_1" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_7" ; -"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_2" [label="2: Exit reference_field::ptr_F_div0 \n " color=yellow style=filled] + "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_1" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_7" ; +"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_2" [label="2: Exit reference_field::ref_F_div0 \n " color=yellow style=filled] -"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_3" [label="3: Return Stmt \n n$0=*&r.x:reference_field::X* [line 86, column 14]\n n$1=*n$0.f:int [line 86, column 14]\n *&return:int=(1 / n$1) [line 86, column 3]\n _=*&x:reference_field::X [line 86, column 19]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 86, column 19]\n " shape="box"] +"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_3" [label="3: Return Stmt \n n$0=*&r.x:reference_field::X& [line 53, column 14]\n n$1=*n$0.f:int [line 53, column 14]\n *&return:int=(1 / n$1) [line 53, column 3]\n _=*&x:reference_field::X [line 53, column 18]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 53, column 18]\n " shape="box"] - "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_3" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_2" ; -"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 85, column 3]\n " shape="box"] + "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_3" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_2" ; +"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 52, column 3]\n " shape="box"] - "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_4" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_3" ; -"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_5" [label="5: DeclStmt \n _fun_reference_field::Ptr_Ptr(&r:reference_field::Ptr*,&x:reference_field::X&) [line 84, column 7]\n " shape="box"] + "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_4" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_3" ; +"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_5" [label="5: DeclStmt \n _fun_reference_field::Ref_Ref(&r:reference_field::Ref*,&x:reference_field::X&) [line 51, column 7]\n " shape="box"] - "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_5" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_4" ; -"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 83, column 3]\n " shape="box"] + "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_5" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_4" ; +"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 50, column 3]\n " shape="box"] - "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_6" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_5" ; -"ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 82, column 5]\n " shape="box"] + "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_6" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_5" ; +"ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 49, column 5]\n " shape="box"] - "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_7" -> "ptr_F_div0#reference_field#14005768761742554773.fa7bac24d70ab0b747e7fb5360157c5f_6" ; -"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_1" [label="1: Start reference_field::ptr_I_div0\nFormals: \nLocals: r:reference_field::Ptr x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 89, column 1]\n " color=yellow style=filled] + "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_7" -> "ref_F_div0#reference_field#11041134718140208132.6e58f8c7050613499e915a7d12b0f081_6" ; +"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_1" [label="1: Start reference_field::ref_I_div0\nFormals: \nLocals: r:reference_field::Ref x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 56, column 1]\n " color=yellow style=filled] - "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_1" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_7" ; -"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_2" [label="2: Exit reference_field::ptr_I_div0 \n " color=yellow style=filled] + "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_1" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_7" ; +"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_2" [label="2: Exit reference_field::ref_I_div0 \n " color=yellow style=filled] -"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_3" [label="3: Return Stmt \n n$0=*&r.i:int* [line 94, column 15]\n n$1=*n$0:int [line 94, column 14]\n *&return:int=(1 / n$1) [line 94, column 3]\n _=*&x:reference_field::X [line 94, column 17]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 94, column 17]\n " shape="box"] +"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_3" [label="3: Return Stmt \n n$0=*&r.i:int& [line 61, column 14]\n n$1=*n$0:int [line 61, column 14]\n *&return:int=(1 / n$1) [line 61, column 3]\n _=*&x:reference_field::X [line 61, column 16]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 61, column 16]\n " shape="box"] - "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_3" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_2" ; -"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 93, column 3]\n " shape="box"] + "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_3" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_2" ; +"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 60, column 3]\n " shape="box"] - "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_4" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_3" ; -"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_5" [label="5: DeclStmt \n _fun_reference_field::Ptr_Ptr(&r:reference_field::Ptr*,&x:reference_field::X&) [line 92, column 7]\n " shape="box"] + "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_4" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_3" ; +"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_5" [label="5: DeclStmt \n _fun_reference_field::Ref_Ref(&r:reference_field::Ref*,&x:reference_field::X&) [line 59, column 7]\n " shape="box"] - "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_5" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_4" ; -"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 91, column 3]\n " shape="box"] + "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_5" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_4" ; +"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 58, column 3]\n " shape="box"] - "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_6" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_5" ; -"ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 90, column 5]\n " shape="box"] + "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_6" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_5" ; +"ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 57, column 5]\n " shape="box"] - "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_7" -> "ptr_I_div0#reference_field#18255668366877010738.5b1f39b2d5e2810cbdbf96621d88c2d0_6" ; -"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_1" [label="1: Start reference_field::ptr_getF_div0\nFormals: \nLocals: r:reference_field::Ptr x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 97, column 1]\n " color=yellow style=filled] + "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_7" -> "ref_I_div0#reference_field#12578013844532400739.b911fdef1ca9c73b658bff3d5d964b9b_6" ; +"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_1" [label="1: Start reference_field::ref_getF_div0\nFormals: \nLocals: r:reference_field::Ref x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 64, column 1]\n " color=yellow style=filled] - "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_1" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_7" ; -"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_2" [label="2: Exit reference_field::ptr_getF_div0 \n " color=yellow style=filled] + "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_1" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_7" ; +"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_2" [label="2: Exit reference_field::ref_getF_div0 \n " color=yellow style=filled] -"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_3" [label="3: Return Stmt \n _=*&r:reference_field::Ptr [line 102, column 14]\n n$1=_fun_reference_field::Ptr_getF(&r:reference_field::Ptr&) [line 102, column 14]\n *&return:int=(1 / n$1) [line 102, column 3]\n _=*&x:reference_field::X [line 102, column 21]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 102, column 21]\n " shape="box"] +"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_3" [label="3: Return Stmt \n _=*&r:reference_field::Ref [line 69, column 14]\n n$1=_fun_reference_field::Ref_getF(&r:reference_field::Ref&) [line 69, column 14]\n *&return:int=(1 / n$1) [line 69, column 3]\n _=*&x:reference_field::X [line 69, column 21]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 69, column 21]\n " shape="box"] - "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_3" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_2" ; -"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 101, column 3]\n " shape="box"] + "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_3" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_2" ; +"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 68, column 3]\n " shape="box"] - "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_4" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_3" ; -"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_5" [label="5: DeclStmt \n _fun_reference_field::Ptr_Ptr(&r:reference_field::Ptr*,&x:reference_field::X&) [line 100, column 7]\n " shape="box"] + "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_4" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_3" ; +"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_5" [label="5: DeclStmt \n _fun_reference_field::Ref_Ref(&r:reference_field::Ref*,&x:reference_field::X&) [line 67, column 7]\n " shape="box"] - "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_5" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_4" ; -"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 99, column 3]\n " shape="box"] + "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_5" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_4" ; +"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 66, column 3]\n " shape="box"] - "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_6" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_5" ; -"ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 98, column 5]\n " shape="box"] + "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_6" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_5" ; +"ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 65, column 5]\n " shape="box"] - "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_7" -> "ptr_getF_div0#reference_field#3337646019334387234.41e241b3e1d6a6f7c629a1c6ca69cf07_6" ; -"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_1" [label="1: Start reference_field::ptr_getI_div0\nFormals: \nLocals: r:reference_field::Ptr x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 105, column 1]\n " color=yellow style=filled] + "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_7" -> "ref_getF_div0#reference_field#2481930918988851369.2dc7181f26bf9bad7c2f06846f4d7ec4_6" ; +"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_1" [label="1: Start reference_field::ref_getI_div0\nFormals: \nLocals: r:reference_field::Ref x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 72, column 1]\n " color=yellow style=filled] - "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_1" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_7" ; -"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_2" [label="2: Exit reference_field::ptr_getI_div0 \n " color=yellow style=filled] + "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_1" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_7" ; +"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_2" [label="2: Exit reference_field::ref_getI_div0 \n " color=yellow style=filled] -"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_3" [label="3: Return Stmt \n _=*&r:reference_field::Ptr [line 110, column 14]\n n$1=_fun_reference_field::Ptr_getI(&r:reference_field::Ptr&) [line 110, column 14]\n *&return:int=(1 / n$1) [line 110, column 3]\n _=*&x:reference_field::X [line 110, column 21]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 110, column 21]\n " shape="box"] +"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_3" [label="3: Return Stmt \n _=*&r:reference_field::Ref [line 77, column 14]\n n$1=_fun_reference_field::Ref_getI(&r:reference_field::Ref&) [line 77, column 14]\n *&return:int=(1 / n$1) [line 77, column 3]\n _=*&x:reference_field::X [line 77, column 21]\n _fun_reference_field::X_~X(&x:reference_field::X*) [line 77, column 21]\n " shape="box"] - "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_3" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_2" ; -"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 109, column 3]\n " shape="box"] + "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_3" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_2" ; +"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 76, column 3]\n " shape="box"] - "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_4" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_3" ; -"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_5" [label="5: DeclStmt \n _fun_reference_field::Ptr_Ptr(&r:reference_field::Ptr*,&x:reference_field::X&) [line 108, column 7]\n " shape="box"] + "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_4" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_3" ; +"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_5" [label="5: DeclStmt \n _fun_reference_field::Ref_Ref(&r:reference_field::Ref*,&x:reference_field::X&) [line 75, column 7]\n " shape="box"] - "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_5" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_4" ; -"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 107, column 3]\n " shape="box"] + "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_5" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_4" ; +"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_6" [label="6: BinaryOperatorStmt: Assign \n *&x.f:int=1 [line 74, column 3]\n " shape="box"] - "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_6" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_5" ; -"ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 106, column 5]\n " shape="box"] + "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_6" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_5" ; +"ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_7" [label="7: DeclStmt \n _fun_reference_field::X_X(&x:reference_field::X*) [line 73, column 5]\n " shape="box"] - "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_7" -> "ptr_getI_div0#reference_field#2818660867908728453.99667cea541002986498839338031f13_6" ; + "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_7" -> "ref_getI_div0#reference_field#17267881158640772750.8919328183561d84930ec2a40da70667_6" ; "val_F_div0#reference_field#8428286850923379914.8fdee85eabf77b0016437fa0006d373c_1" [label="1: Start reference_field::val_F_div0\nFormals: \nLocals: r:reference_field::Val x:reference_field::X \n DECLARE_LOCALS(&return,&r,&x); [line 114, column 1]\n " color=yellow style=filled] @@ -324,133 +324,133 @@ digraph cfg { "val_getI_div0#reference_field#1916539470996695608.683d462cf87abbc81874a14e4872564a_7" -> "val_getI_div0#reference_field#1916539470996695608.683d462cf87abbc81874a14e4872564a_6" ; -"getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_1" [label="1: Start reference_field::Ptr_getF\nFormals: this:reference_field::Ptr*\nLocals: \n DECLARE_LOCALS(&return); [line 35, column 3]\n " color=yellow style=filled] +"Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_1" [label="1: Start reference_field::Ptr_Ptr\nFormals: this:reference_field::Ptr* r_:reference_field::X&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 3]\n " color=yellow style=filled] - "getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_1" -> "getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_3" ; -"getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_2" [label="2: Exit reference_field::Ptr_getF \n " color=yellow style=filled] + "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_1" -> "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_4" ; +"Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_2" [label="2: Exit reference_field::Ptr_Ptr \n " color=yellow style=filled] -"getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Ptr* [line 35, column 23]\n n$1=*n$0.x:reference_field::X* [line 35, column 23]\n n$2=*n$1.f:int [line 35, column 23]\n *&return:int=n$2 [line 35, column 16]\n " shape="box"] +"Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_3" [label="3: Constructor Init \n n$0=*&this:reference_field::Ptr* [line 34, column 24]\n n$1=*&this:reference_field::Ptr* [line 34, column 27]\n n$2=*n$1.x:reference_field::X* [line 34, column 27]\n *n$0.i:int*=n$2.f [line 34, column 24]\n " shape="box"] - "getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_3" -> "getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_2" ; -"getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_1" [label="1: Start reference_field::Ptr_getI\nFormals: this:reference_field::Ptr*\nLocals: \n DECLARE_LOCALS(&return); [line 36, column 3]\n " color=yellow style=filled] + "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_3" -> "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_2" ; +"Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_4" [label="4: Constructor Init \n n$3=*&this:reference_field::Ptr* [line 34, column 16]\n n$4=*&r_:reference_field::X& [line 34, column 19]\n *n$3.x:reference_field::X*=n$4 [line 34, column 16]\n " shape="box"] - "getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_1" -> "getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_3" ; -"getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_2" [label="2: Exit reference_field::Ptr_getI \n " color=yellow style=filled] + "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_4" -> "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_3" ; +"Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_1" [label="1: Start reference_field::Ref_Ref\nFormals: this:reference_field::Ref* r_:reference_field::X&\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 3]\n " color=yellow style=filled] -"getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Ptr* [line 36, column 24]\n n$1=*n$0.i:int* [line 36, column 24]\n n$2=*n$1:int [line 36, column 23]\n *&return:int=n$2 [line 36, column 16]\n " shape="box"] + "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_1" -> "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_4" ; +"Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_2" [label="2: Exit reference_field::Ref_Ref \n " color=yellow style=filled] - "getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_3" -> "getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_2" ; -"Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_1" [label="1: Start reference_field::Ptr_Ptr\nFormals: this:reference_field::Ptr* r_:reference_field::X&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 3]\n " color=yellow style=filled] +"Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_3" [label="3: Constructor Init \n n$0=*&this:reference_field::Ref* [line 26, column 23]\n n$1=*&this:reference_field::Ref* [line 26, column 25]\n n$2=*n$1.x:reference_field::X& [line 26, column 25]\n *n$0.i:int&=n$2.f [line 26, column 23]\n " shape="box"] - "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_1" -> "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_4" ; -"Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_2" [label="2: Exit reference_field::Ptr_Ptr \n " color=yellow style=filled] + "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_3" -> "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_2" ; +"Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_4" [label="4: Constructor Init \n n$3=*&this:reference_field::Ref* [line 26, column 16]\n n$4=*&r_:reference_field::X& [line 26, column 18]\n *n$3.x:reference_field::X&=n$4 [line 26, column 16]\n " shape="box"] -"Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_3" [label="3: Constructor Init \n n$0=*&this:reference_field::Ptr* [line 34, column 24]\n n$1=*&this:reference_field::Ptr* [line 34, column 27]\n n$2=*n$1.x:reference_field::X* [line 34, column 27]\n *n$0.i:int*=n$2.f [line 34, column 24]\n " shape="box"] + "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_4" -> "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_3" ; +"Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_1" [label="1: Start reference_field::Val_Val\nFormals: this:reference_field::Val* r_:reference_field::X&\nLocals: \n DECLARE_LOCALS(&return); [line 42, column 3]\n " color=yellow style=filled] - "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_3" -> "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_2" ; -"Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_4" [label="4: Constructor Init \n n$3=*&this:reference_field::Ptr* [line 34, column 16]\n n$4=*&r_:reference_field::X& [line 34, column 19]\n *n$3.x:reference_field::X*=n$4 [line 34, column 16]\n " shape="box"] + "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_1" -> "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_4" ; +"Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_2" [label="2: Exit reference_field::Val_Val \n " color=yellow style=filled] - "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_4" -> "Ptr#Ptr#reference_field#{6088279996118893652}.360bbf008525cb3c23d8ada20f2a72af_3" ; -"getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_1" [label="1: Start reference_field::Ref_getF\nFormals: this:reference_field::Ref*\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 3]\n " color=yellow style=filled] +"Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_3" [label="3: Constructor Init \n n$0=*&this:reference_field::Val* [line 42, column 23]\n n$1=*&this:reference_field::Val* [line 42, column 25]\n n$2=*n$1.x.f:int [line 42, column 25]\n *n$0.i:int=n$2 [line 42, column 23]\n " shape="box"] - "getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_1" -> "getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_3" ; -"getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_2" [label="2: Exit reference_field::Ref_getF \n " color=yellow style=filled] + "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_3" -> "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_2" ; +"Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_4" [label="4: Constructor Init \n n$3=*&this:reference_field::Val* [line 42, column 16]\n n$4=*&r_:reference_field::X& [line 42, column 18]\n _fun_reference_field::X_X(n$3.x:reference_field::X*,n$4:reference_field::X&) [line 42, column 16]\n " shape="box"] -"getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Ref* [line 27, column 23]\n n$1=*n$0.x:reference_field::X& [line 27, column 23]\n n$2=*n$1.f:int [line 27, column 23]\n *&return:int=n$2 [line 27, column 16]\n " shape="box"] + "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_4" -> "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_3" ; +"X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_1" [label="1: Start reference_field::X_X\nFormals: this:reference_field::X* __param_0:reference_field::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] - "getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_3" -> "getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_2" ; -"getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_1" [label="1: Start reference_field::Ref_getI\nFormals: this:reference_field::Ref*\nLocals: \n DECLARE_LOCALS(&return); [line 28, column 3]\n " color=yellow style=filled] + "X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_1" -> "X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_3" ; +"X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_2" [label="2: Exit reference_field::X_X \n " color=yellow style=filled] - "getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_1" -> "getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_3" ; -"getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_2" [label="2: Exit reference_field::Ref_getI \n " color=yellow style=filled] +"X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_3" [label="3: Constructor Init \n n$0=*&this:reference_field::X* [line 12, column 8]\n n$1=*&__param_0:reference_field::X const & [line 12, column 8]\n n$2=*n$1.f:int [line 12, column 8]\n *n$0.f:int=n$2 [line 12, column 8]\n " shape="box"] -"getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Ref* [line 28, column 23]\n n$1=*n$0.i:int& [line 28, column 23]\n n$2=*n$1:int [line 28, column 23]\n *&return:int=n$2 [line 28, column 16]\n " shape="box"] + "X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_3" -> "X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_2" ; +"X#X#reference_field#{2751762285772383996}.b7c8700d1b15a5db2c677bfc2eb37a5f_1" [label="1: Start reference_field::X_X\nFormals: this:reference_field::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] - "getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_3" -> "getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_2" ; -"Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_1" [label="1: Start reference_field::Ref_Ref\nFormals: this:reference_field::Ref* r_:reference_field::X&\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 3]\n " color=yellow style=filled] + "X#X#reference_field#{2751762285772383996}.b7c8700d1b15a5db2c677bfc2eb37a5f_1" -> "X#X#reference_field#{2751762285772383996}.b7c8700d1b15a5db2c677bfc2eb37a5f_2" ; +"X#X#reference_field#{2751762285772383996}.b7c8700d1b15a5db2c677bfc2eb37a5f_2" [label="2: Exit reference_field::X_X \n " color=yellow style=filled] - "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_1" -> "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_4" ; -"Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_2" [label="2: Exit reference_field::Ref_Ref \n " color=yellow style=filled] +"getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_1" [label="1: Start reference_field::Ptr_getF\nFormals: this:reference_field::Ptr*\nLocals: \n DECLARE_LOCALS(&return); [line 35, column 3]\n " color=yellow style=filled] -"Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_3" [label="3: Constructor Init \n n$0=*&this:reference_field::Ref* [line 26, column 23]\n n$1=*&this:reference_field::Ref* [line 26, column 25]\n n$2=*n$1.x:reference_field::X& [line 26, column 25]\n *n$0.i:int&=n$2.f [line 26, column 23]\n " shape="box"] + "getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_1" -> "getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_3" ; +"getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_2" [label="2: Exit reference_field::Ptr_getF \n " color=yellow style=filled] - "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_3" -> "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_2" ; -"Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_4" [label="4: Constructor Init \n n$3=*&this:reference_field::Ref* [line 26, column 16]\n n$4=*&r_:reference_field::X& [line 26, column 18]\n *n$3.x:reference_field::X&=n$4 [line 26, column 16]\n " shape="box"] +"getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Ptr* [line 35, column 23]\n n$1=*n$0.x:reference_field::X* [line 35, column 23]\n n$2=*n$1.f:int [line 35, column 23]\n *&return:int=n$2 [line 35, column 16]\n " shape="box"] - "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_4" -> "Ref#Ref#reference_field#{1778104277749367423}.02a281ecc4e6bde89182d1ef952810a2_3" ; -"getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_1" [label="1: Start reference_field::Val_getF\nFormals: this:reference_field::Val*\nLocals: \n DECLARE_LOCALS(&return); [line 43, column 3]\n " color=yellow style=filled] + "getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_3" -> "getF#Ptr#reference_field#(6867936719957773992).53c4cdb31ea7c9aac827b2830f575dd5_2" ; +"getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_1" [label="1: Start reference_field::Ref_getF\nFormals: this:reference_field::Ref*\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 3]\n " color=yellow style=filled] - "getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_1" -> "getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_3" ; -"getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_2" [label="2: Exit reference_field::Val_getF \n " color=yellow style=filled] + "getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_1" -> "getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_3" ; +"getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_2" [label="2: Exit reference_field::Ref_getF \n " color=yellow style=filled] -"getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Val* [line 43, column 23]\n n$1=*n$0.x.f:int [line 43, column 23]\n *&return:int=n$1 [line 43, column 16]\n " shape="box"] +"getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Ref* [line 27, column 23]\n n$1=*n$0.x:reference_field::X& [line 27, column 23]\n n$2=*n$1.f:int [line 27, column 23]\n *&return:int=n$2 [line 27, column 16]\n " shape="box"] - "getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_3" -> "getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_2" ; -"getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_1" [label="1: Start reference_field::Val_getI\nFormals: this:reference_field::Val*\nLocals: \n DECLARE_LOCALS(&return); [line 44, column 3]\n " color=yellow style=filled] + "getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_3" -> "getF#Ref#reference_field#(4333270831228787341).d47ae80c78316dac2e24a22fc076cf41_2" ; +"getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_1" [label="1: Start reference_field::Val_getF\nFormals: this:reference_field::Val*\nLocals: \n DECLARE_LOCALS(&return); [line 43, column 3]\n " color=yellow style=filled] - "getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_1" -> "getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_3" ; -"getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_2" [label="2: Exit reference_field::Val_getI \n " color=yellow style=filled] + "getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_1" -> "getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_3" ; +"getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_2" [label="2: Exit reference_field::Val_getF \n " color=yellow style=filled] -"getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Val* [line 44, column 23]\n n$1=*n$0.i:int [line 44, column 23]\n *&return:int=n$1 [line 44, column 16]\n " shape="box"] +"getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Val* [line 43, column 23]\n n$1=*n$0.x.f:int [line 43, column 23]\n *&return:int=n$1 [line 43, column 16]\n " shape="box"] - "getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_3" -> "getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_2" ; -"Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_1" [label="1: Start reference_field::Val_Val\nFormals: this:reference_field::Val* r_:reference_field::X&\nLocals: \n DECLARE_LOCALS(&return); [line 42, column 3]\n " color=yellow style=filled] + "getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_3" -> "getF#Val#reference_field#(5603383781744538435).f0720826d9b8abc0c6259038f1412318_2" ; +"getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_1" [label="1: Start reference_field::Ptr_getI\nFormals: this:reference_field::Ptr*\nLocals: \n DECLARE_LOCALS(&return); [line 36, column 3]\n " color=yellow style=filled] - "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_1" -> "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_4" ; -"Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_2" [label="2: Exit reference_field::Val_Val \n " color=yellow style=filled] + "getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_1" -> "getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_3" ; +"getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_2" [label="2: Exit reference_field::Ptr_getI \n " color=yellow style=filled] -"Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_3" [label="3: Constructor Init \n n$0=*&this:reference_field::Val* [line 42, column 23]\n n$1=*&this:reference_field::Val* [line 42, column 25]\n n$2=*n$1.x.f:int [line 42, column 25]\n *n$0.i:int=n$2 [line 42, column 23]\n " shape="box"] +"getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Ptr* [line 36, column 24]\n n$1=*n$0.i:int* [line 36, column 24]\n n$2=*n$1:int [line 36, column 23]\n *&return:int=n$2 [line 36, column 16]\n " shape="box"] - "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_3" -> "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_2" ; -"Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_4" [label="4: Constructor Init \n n$3=*&this:reference_field::Val* [line 42, column 16]\n n$4=*&r_:reference_field::X& [line 42, column 18]\n _fun_reference_field::X_X(n$3.x:reference_field::X*,n$4:reference_field::X&) [line 42, column 16]\n " shape="box"] + "getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_3" -> "getI#Ptr#reference_field#(9990830118718700597).db587e508ad6680b9c85197fd72992d4_2" ; +"getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_1" [label="1: Start reference_field::Ref_getI\nFormals: this:reference_field::Ref*\nLocals: \n DECLARE_LOCALS(&return); [line 28, column 3]\n " color=yellow style=filled] - "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_4" -> "Val#Val#reference_field#{10086609758499948489}.3f0d77ba0039a38103c912b5065ccdaa_3" ; -"X#X#reference_field#{2751762285772383996}.b7c8700d1b15a5db2c677bfc2eb37a5f_1" [label="1: Start reference_field::X_X\nFormals: this:reference_field::X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] + "getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_1" -> "getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_3" ; +"getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_2" [label="2: Exit reference_field::Ref_getI \n " color=yellow style=filled] - "X#X#reference_field#{2751762285772383996}.b7c8700d1b15a5db2c677bfc2eb37a5f_1" -> "X#X#reference_field#{2751762285772383996}.b7c8700d1b15a5db2c677bfc2eb37a5f_2" ; -"X#X#reference_field#{2751762285772383996}.b7c8700d1b15a5db2c677bfc2eb37a5f_2" [label="2: Exit reference_field::X_X \n " color=yellow style=filled] +"getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Ref* [line 28, column 23]\n n$1=*n$0.i:int& [line 28, column 23]\n n$2=*n$1:int [line 28, column 23]\n *&return:int=n$2 [line 28, column 16]\n " shape="box"] -"X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_1" [label="1: Start reference_field::X_X\nFormals: this:reference_field::X* __param_0:reference_field::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] + "getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_3" -> "getI#Ref#reference_field#(11319674367674692208).ab98b8b3de535d47d4b70092fc16ce37_2" ; +"getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_1" [label="1: Start reference_field::Val_getI\nFormals: this:reference_field::Val*\nLocals: \n DECLARE_LOCALS(&return); [line 44, column 3]\n " color=yellow style=filled] - "X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_1" -> "X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_3" ; -"X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_2" [label="2: Exit reference_field::X_X \n " color=yellow style=filled] + "getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_1" -> "getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_3" ; +"getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_2" [label="2: Exit reference_field::Val_getI \n " color=yellow style=filled] -"X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_3" [label="3: Constructor Init \n n$0=*&this:reference_field::X* [line 12, column 8]\n n$1=*&__param_0:reference_field::X const & [line 12, column 8]\n n$2=*n$1.f:int [line 12, column 8]\n *n$0.f:int=n$2 [line 12, column 8]\n " shape="box"] +"getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_3" [label="3: Return Stmt \n n$0=*&this:reference_field::Val* [line 44, column 23]\n n$1=*n$0.i:int [line 44, column 23]\n *&return:int=n$1 [line 44, column 16]\n " shape="box"] - "X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_3" -> "X#X#reference_field#{16892162000533972663|constexpr}.d3ad2332bde2031935fecc6685296b44_2" ; + "getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_3" -> "getI#Val#reference_field#(5092177944978041506).c3db07b6697824cd689cc81f71b31e2a_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/reference/reference_struct_e2e.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/reference/reference_struct_e2e.cpp.dot index 999011901..168944ad0 100644 --- a/infer/tests/codetoanalyze/cpp/shared/reference/reference_struct_e2e.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/reference/reference_struct_e2e.cpp.dot @@ -11,66 +11,111 @@ digraph cfg { "__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_3" -> "__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_2" ; -"get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_1" [label="1: Start get_global_ptr\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 30, column 1]\n " color=yellow style=filled] +"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_1" [label="1: Start field_div0_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 47, column 1]\n " color=yellow style=filled] - "get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_1" -> "get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_3" ; -"get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_2" [label="2: Exit get_global_ptr \n " color=yellow style=filled] + "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_1" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_5" ; + "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_1" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_6" ; +"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_2" [label="2: Exit field_div0_ptr \n " color=yellow style=filled] -"get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_3" [label="3: Return Stmt \n *&return:X*=&#GB$global [line 30, column 23]\n " shape="box"] +"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_3" [label="3: + \n " ] - "get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_3" -> "get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_2" ; -"get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_1" [label="1: Start get_global_ref\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 31, column 1]\n " color=yellow style=filled] + "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_3" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_4" ; +"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_4" [label="4: between_join_and_exit \n " shape="box"] - "get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_1" -> "get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_3" ; -"get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_2" [label="2: Exit get_global_ref \n " color=yellow style=filled] + "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_4" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_2" ; +"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_5" [label="5: Prune (true branch, if) \n n$0=*&x:X* [line 48, column 7]\n PRUNE(n$0, true); [line 48, column 7]\n " shape="invhouse"] -"get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_3" [label="3: Return Stmt \n *&return:X&=&#GB$global [line 31, column 23]\n " shape="box"] + "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_5" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_8" ; +"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_6" [label="6: Prune (false branch, if) \n n$0=*&x:X* [line 48, column 7]\n PRUNE(!n$0, false); [line 48, column 7]\n " shape="invhouse"] - "get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_3" -> "get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_2" ; -"get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_1" [label="1: Start get_global_ptr_div0_method\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 61, column 1]\n " color=yellow style=filled] + "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_6" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_3" ; +"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_7" [label="7: Return Stmt \n n$1=*&x:X* [line 50, column 12]\n _=*n$1:X [line 50, column 12]\n n$3=_fun_X_div(n$1:X*) [line 50, column 12]\n *&return:int=n$3 [line 50, column 5]\n " shape="box"] - "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_1" -> "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_5" ; -"get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_2" [label="2: Exit get_global_ptr_div0_method \n " color=yellow style=filled] + "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_7" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_2" ; +"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_8" [label="8: Call _fun_set_field_ptr \n n$4=*&x:X* [line 49, column 19]\n _fun_set_field_ptr(n$4:X*,0:int) [line 49, column 5]\n " shape="box"] -"get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_3" [label="3: Call _fun_X_div \n n$0=_fun_get_global_ptr() [line 64, column 3]\n _=*n$0:X [line 64, column 3]\n n$2=_fun_X_div(n$0:X*) [line 64, column 3]\n " shape="box"] + "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_8" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_7" ; +"field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_1" [label="1: Start field_div0_ref\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 95, column 1]\n " color=yellow style=filled] - "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_3" -> "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_2" ; -"get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_4" [label="4: Call _fun_X_zero \n n$3=_fun_get_global_ptr() [line 63, column 3]\n _=*n$3:X [line 63, column 3]\n _fun_X_zero(n$3:X*) [line 63, column 3]\n " shape="box"] + "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_1" -> "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_4" ; +"field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_2" [label="2: Exit field_div0_ref \n " color=yellow style=filled] - "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_4" -> "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_3" ; -"get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_5" [label="5: BinaryOperatorStmt: Assign \n n$5=_fun_get_global_ptr() [line 62, column 3]\n *n$5.f:int=1 [line 62, column 3]\n " shape="box"] +"field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_3" [label="3: Return Stmt \n n$0=*&x:X& [line 97, column 10]\n _=*n$0:X [line 97, column 10]\n n$2=_fun_X_div(n$0:X&) [line 97, column 10]\n *&return:int=n$2 [line 97, column 3]\n " shape="box"] - "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_5" -> "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_4" ; -"get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_1" [label="1: Start get_global_ptr_div1_method\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 67, column 1]\n " color=yellow style=filled] + "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_3" -> "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_2" ; +"field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_4" [label="4: Call _fun_set_field_ref \n n$3=*&x:X& [line 96, column 17]\n _fun_set_field_ref(n$3:X&,0:int) [line 96, column 3]\n " shape="box"] - "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_1" -> "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_5" ; -"get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_2" [label="2: Exit get_global_ptr_div1_method \n " color=yellow style=filled] + "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_4" -> "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_3" ; +"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_1" [label="1: Start field_div1_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 54, column 1]\n " color=yellow style=filled] -"get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_3" [label="3: Call _fun_X_div \n n$0=_fun_get_global_ptr() [line 70, column 3]\n _=*n$0:X [line 70, column 3]\n n$2=_fun_X_div(n$0:X*) [line 70, column 3]\n " shape="box"] + "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_1" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_5" ; + "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_1" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_6" ; +"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_2" [label="2: Exit field_div1_ptr \n " color=yellow style=filled] - "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_3" -> "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_2" ; -"get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_4" [label="4: Call _fun_X_nonzero \n n$3=_fun_get_global_ptr() [line 69, column 3]\n _=*n$3:X [line 69, column 3]\n _fun_X_nonzero(n$3:X*) [line 69, column 3]\n " shape="box"] +"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_3" [label="3: + \n " ] - "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_4" -> "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_3" ; -"get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_5" [label="5: BinaryOperatorStmt: Assign \n n$5=_fun_get_global_ptr() [line 68, column 3]\n *n$5.f:int=0 [line 68, column 3]\n " shape="box"] + "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_3" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_4" ; +"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_4" [label="4: between_join_and_exit \n " shape="box"] - "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_5" -> "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_4" ; + "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_4" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_2" ; +"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_5" [label="5: Prune (true branch, if) \n n$0=*&x:X* [line 55, column 7]\n PRUNE(n$0, true); [line 55, column 7]\n " shape="invhouse"] + + + "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_5" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_8" ; +"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_6" [label="6: Prune (false branch, if) \n n$0=*&x:X* [line 55, column 7]\n PRUNE(!n$0, false); [line 55, column 7]\n " shape="invhouse"] + + + "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_6" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_3" ; +"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_7" [label="7: Return Stmt \n n$1=*&x:X* [line 57, column 12]\n _=*n$1:X [line 57, column 12]\n n$3=_fun_X_div(n$1:X*) [line 57, column 12]\n *&return:int=n$3 [line 57, column 5]\n " shape="box"] + + + "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_7" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_2" ; +"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_8" [label="8: Call _fun_set_field_ptr \n n$4=*&x:X* [line 56, column 19]\n _fun_set_field_ptr(n$4:X*,1:int) [line 56, column 5]\n " shape="box"] + + + "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_8" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_7" ; +"field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_1" [label="1: Start field_div1_ref\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 100, column 1]\n " color=yellow style=filled] + + + "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_1" -> "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_4" ; +"field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_2" [label="2: Exit field_div1_ref \n " color=yellow style=filled] + + +"field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_3" [label="3: Return Stmt \n n$0=*&x:X& [line 102, column 10]\n _=*n$0:X [line 102, column 10]\n n$2=_fun_X_div(n$0:X&) [line 102, column 10]\n *&return:int=n$2 [line 102, column 3]\n " shape="box"] + + + "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_3" -> "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_2" ; +"field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_4" [label="4: Call _fun_set_field_ref \n n$3=*&x:X& [line 101, column 17]\n _fun_set_field_ref(n$3:X&,1:int) [line 101, column 3]\n " shape="box"] + + + "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_4" -> "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_3" ; +"get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_1" [label="1: Start get_global_ptr\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 30, column 1]\n " color=yellow style=filled] + + + "get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_1" -> "get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_3" ; +"get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_2" [label="2: Exit get_global_ptr \n " color=yellow style=filled] + + +"get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_3" [label="3: Return Stmt \n *&return:X*=&#GB$global [line 30, column 23]\n " shape="box"] + + + "get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_3" -> "get_global_ptr#6940583460992234632.3d4bb50869af20053c9b0c52091a0a39_2" ; "get_global_ptr_div0_field#8708891951617234281.85a5d13d32b9177abaa3c8c98323c45e_1" [label="1: Start get_global_ptr_div0_field\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 73, column 1]\n " color=yellow style=filled] @@ -90,6 +135,25 @@ digraph cfg { "get_global_ptr_div0_field#8708891951617234281.85a5d13d32b9177abaa3c8c98323c45e_5" -> "get_global_ptr_div0_field#8708891951617234281.85a5d13d32b9177abaa3c8c98323c45e_4" ; +"get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_1" [label="1: Start get_global_ptr_div0_method\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 61, column 1]\n " color=yellow style=filled] + + + "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_1" -> "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_5" ; +"get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_2" [label="2: Exit get_global_ptr_div0_method \n " color=yellow style=filled] + + +"get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_3" [label="3: Call _fun_X_div \n n$0=_fun_get_global_ptr() [line 64, column 3]\n _=*n$0:X [line 64, column 3]\n n$2=_fun_X_div(n$0:X*) [line 64, column 3]\n " shape="box"] + + + "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_3" -> "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_2" ; +"get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_4" [label="4: Call _fun_X_zero \n n$3=_fun_get_global_ptr() [line 63, column 3]\n _=*n$3:X [line 63, column 3]\n _fun_X_zero(n$3:X*) [line 63, column 3]\n " shape="box"] + + + "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_4" -> "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_3" ; +"get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_5" [label="5: BinaryOperatorStmt: Assign \n n$5=_fun_get_global_ptr() [line 62, column 3]\n *n$5.f:int=1 [line 62, column 3]\n " shape="box"] + + + "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_5" -> "get_global_ptr_div0_method#6868600075123047675.d796dd8227b55f7d5d2ba2c1a06183dd_4" ; "get_global_ptr_div1_field#6744083307199058304.94ebaff789d09fecbd24e3f8bfd75e70_1" [label="1: Start get_global_ptr_div1_field\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 79, column 1]\n " color=yellow style=filled] @@ -109,44 +173,36 @@ digraph cfg { "get_global_ptr_div1_field#6744083307199058304.94ebaff789d09fecbd24e3f8bfd75e70_5" -> "get_global_ptr_div1_field#6744083307199058304.94ebaff789d09fecbd24e3f8bfd75e70_4" ; -"get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_1" [label="1: Start get_global_ref_div0_method\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 105, column 1]\n " color=yellow style=filled] - - - "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_1" -> "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_5" ; -"get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_2" [label="2: Exit get_global_ref_div0_method \n " color=yellow style=filled] - - -"get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_3" [label="3: Call _fun_X_div \n n$0=_fun_get_global_ref() [line 108, column 3]\n _=*n$0:X [line 108, column 3]\n n$2=_fun_X_div(n$0:X&) [line 108, column 3]\n " shape="box"] +"get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_1" [label="1: Start get_global_ptr_div1_method\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 67, column 1]\n " color=yellow style=filled] - "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_3" -> "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_2" ; -"get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_4" [label="4: Call _fun_X_zero \n n$3=_fun_get_global_ref() [line 107, column 3]\n _=*n$3:X [line 107, column 3]\n _fun_X_zero(n$3:X&) [line 107, column 3]\n " shape="box"] + "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_1" -> "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_5" ; +"get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_2" [label="2: Exit get_global_ptr_div1_method \n " color=yellow style=filled] - "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_4" -> "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_3" ; -"get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_5" [label="5: BinaryOperatorStmt: Assign \n n$5=_fun_get_global_ref() [line 106, column 3]\n *n$5.f:int=1 [line 106, column 3]\n " shape="box"] +"get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_3" [label="3: Call _fun_X_div \n n$0=_fun_get_global_ptr() [line 70, column 3]\n _=*n$0:X [line 70, column 3]\n n$2=_fun_X_div(n$0:X*) [line 70, column 3]\n " shape="box"] - "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_5" -> "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_4" ; -"get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_1" [label="1: Start get_global_ref_div1_method\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 111, column 1]\n " color=yellow style=filled] + "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_3" -> "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_2" ; +"get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_4" [label="4: Call _fun_X_nonzero \n n$3=_fun_get_global_ptr() [line 69, column 3]\n _=*n$3:X [line 69, column 3]\n _fun_X_nonzero(n$3:X*) [line 69, column 3]\n " shape="box"] - "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_1" -> "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_5" ; -"get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_2" [label="2: Exit get_global_ref_div1_method \n " color=yellow style=filled] + "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_4" -> "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_3" ; +"get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_5" [label="5: BinaryOperatorStmt: Assign \n n$5=_fun_get_global_ptr() [line 68, column 3]\n *n$5.f:int=0 [line 68, column 3]\n " shape="box"] -"get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_3" [label="3: Call _fun_X_div \n n$0=_fun_get_global_ref() [line 114, column 3]\n _=*n$0:X [line 114, column 3]\n n$2=_fun_X_div(n$0:X&) [line 114, column 3]\n " shape="box"] + "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_5" -> "get_global_ptr_div1_method#13320237176965265316.b7b17bcc9c036a753453d67e3683d764_4" ; +"get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_1" [label="1: Start get_global_ref\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 31, column 1]\n " color=yellow style=filled] - "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_3" -> "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_2" ; -"get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_4" [label="4: Call _fun_X_nonzero \n n$3=_fun_get_global_ref() [line 113, column 3]\n _=*n$3:X [line 113, column 3]\n _fun_X_nonzero(n$3:X&) [line 113, column 3]\n " shape="box"] + "get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_1" -> "get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_3" ; +"get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_2" [label="2: Exit get_global_ref \n " color=yellow style=filled] - "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_4" -> "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_3" ; -"get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_5" [label="5: BinaryOperatorStmt: Assign \n n$5=_fun_get_global_ref() [line 112, column 3]\n *n$5.f:int=0 [line 112, column 3]\n " shape="box"] +"get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_3" [label="3: Return Stmt \n *&return:X&=&#GB$global [line 31, column 23]\n " shape="box"] - "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_5" -> "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_4" ; + "get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_3" -> "get_global_ref#16631994563311505709.c5518847f25d69c08bc2da87c0d94d1b_2" ; "get_global_ref_div0_field#9894336115642083138.99dfafa929e6446e06064af81022e228_1" [label="1: Start get_global_ref_div0_field\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 117, column 1]\n " color=yellow style=filled] @@ -166,6 +222,25 @@ digraph cfg { "get_global_ref_div0_field#9894336115642083138.99dfafa929e6446e06064af81022e228_5" -> "get_global_ref_div0_field#9894336115642083138.99dfafa929e6446e06064af81022e228_4" ; +"get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_1" [label="1: Start get_global_ref_div0_method\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 105, column 1]\n " color=yellow style=filled] + + + "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_1" -> "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_5" ; +"get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_2" [label="2: Exit get_global_ref_div0_method \n " color=yellow style=filled] + + +"get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_3" [label="3: Call _fun_X_div \n n$0=_fun_get_global_ref() [line 108, column 3]\n _=*n$0:X [line 108, column 3]\n n$2=_fun_X_div(n$0:X&) [line 108, column 3]\n " shape="box"] + + + "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_3" -> "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_2" ; +"get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_4" [label="4: Call _fun_X_zero \n n$3=_fun_get_global_ref() [line 107, column 3]\n _=*n$3:X [line 107, column 3]\n _fun_X_zero(n$3:X&) [line 107, column 3]\n " shape="box"] + + + "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_4" -> "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_3" ; +"get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_5" [label="5: BinaryOperatorStmt: Assign \n n$5=_fun_get_global_ref() [line 106, column 3]\n *n$5.f:int=1 [line 106, column 3]\n " shape="box"] + + + "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_5" -> "get_global_ref_div0_method#4500024601676141702.703eacc20d3ff2ec6f40a78b62656e3a_4" ; "get_global_ref_div1_field#9400638526174087075.f2be9db8a45f6acda1c8ab83ffea2ce8_1" [label="1: Start get_global_ref_div1_field\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 123, column 1]\n " color=yellow style=filled] @@ -185,28 +260,25 @@ digraph cfg { "get_global_ref_div1_field#9400638526174087075.f2be9db8a45f6acda1c8ab83ffea2ce8_5" -> "get_global_ref_div1_field#9400638526174087075.f2be9db8a45f6acda1c8ab83ffea2ce8_4" ; -"zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_1" [label="1: Start zero_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 1]\n " color=yellow style=filled] - - - "zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_1" -> "zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_3" ; -"zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_2" [label="2: Exit zero_ptr \n " color=yellow style=filled] +"get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_1" [label="1: Start get_global_ref_div1_method\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 111, column 1]\n " color=yellow style=filled] -"zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_3" [label="3: Call _fun_X_zero \n n$0=*&x:X* [line 17, column 23]\n _=*n$0:X [line 17, column 23]\n _fun_X_zero(n$0:X*) [line 17, column 23]\n " shape="box"] + "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_1" -> "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_5" ; +"get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_2" [label="2: Exit get_global_ref_div1_method \n " color=yellow style=filled] - "zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_3" -> "zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_2" ; -"nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_1" [label="1: Start nonzero_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] +"get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_3" [label="3: Call _fun_X_div \n n$0=_fun_get_global_ref() [line 114, column 3]\n _=*n$0:X [line 114, column 3]\n n$2=_fun_X_div(n$0:X&) [line 114, column 3]\n " shape="box"] - "nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_1" -> "nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_3" ; -"nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_2" [label="2: Exit nonzero_ptr \n " color=yellow style=filled] + "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_3" -> "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_2" ; +"get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_4" [label="4: Call _fun_X_nonzero \n n$3=_fun_get_global_ref() [line 113, column 3]\n _=*n$3:X [line 113, column 3]\n _fun_X_nonzero(n$3:X&) [line 113, column 3]\n " shape="box"] -"nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_3" [label="3: Call _fun_X_nonzero \n n$0=*&x:X* [line 19, column 26]\n _=*n$0:X [line 19, column 26]\n _fun_X_nonzero(n$0:X*) [line 19, column 26]\n " shape="box"] + "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_4" -> "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_3" ; +"get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_5" [label="5: BinaryOperatorStmt: Assign \n n$5=_fun_get_global_ref() [line 112, column 3]\n *n$5.f:int=0 [line 112, column 3]\n " shape="box"] - "nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_3" -> "nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_2" ; + "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_5" -> "get_global_ref_div1_method#9218905628510589917.1d66d8c44e8582bb6fcdcb7df79e3215_4" ; "method_div0_ptr#6106785648087401281.a4bd2a817d503af4e1865afa4416bdb5_1" [label="1: Start method_div0_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 33, column 1]\n " color=yellow style=filled] @@ -239,6 +311,21 @@ digraph cfg { "method_div0_ptr#6106785648087401281.a4bd2a817d503af4e1865afa4416bdb5_8" -> "method_div0_ptr#6106785648087401281.a4bd2a817d503af4e1865afa4416bdb5_7" ; +"method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_1" [label="1: Start method_div0_ref\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 85, column 1]\n " color=yellow style=filled] + + + "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_1" -> "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_4" ; +"method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_2" [label="2: Exit method_div0_ref \n " color=yellow style=filled] + + +"method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_3" [label="3: Return Stmt \n n$0=*&x:X& [line 87, column 10]\n _=*n$0:X [line 87, column 10]\n n$2=_fun_X_div(n$0:X&) [line 87, column 10]\n *&return:int=n$2 [line 87, column 3]\n " shape="box"] + + + "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_3" -> "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_2" ; +"method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_4" [label="4: Call _fun_zero_ref \n n$3=*&x:X& [line 86, column 12]\n _fun_zero_ref(n$3:X&) [line 86, column 3]\n " shape="box"] + + + "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_4" -> "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_3" ; "method_div1_ptr#3061685040798671000.94d1209c17222ffe12cc388ae1ff112d_1" [label="1: Start method_div1_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 40, column 1]\n " color=yellow style=filled] @@ -271,92 +358,32 @@ digraph cfg { "method_div1_ptr#3061685040798671000.94d1209c17222ffe12cc388ae1ff112d_8" -> "method_div1_ptr#3061685040798671000.94d1209c17222ffe12cc388ae1ff112d_7" ; -"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_1" [label="1: Start field_div0_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 47, column 1]\n " color=yellow style=filled] - - - "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_1" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_5" ; - "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_1" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_6" ; -"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_2" [label="2: Exit field_div0_ptr \n " color=yellow style=filled] - - -"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_3" [label="3: + \n " ] - - - "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_3" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_4" ; -"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_4" [label="4: between_join_and_exit \n " shape="box"] - - - "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_4" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_2" ; -"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_5" [label="5: Prune (true branch, if) \n n$0=*&x:X* [line 48, column 7]\n PRUNE(n$0, true); [line 48, column 7]\n " shape="invhouse"] - - - "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_5" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_8" ; -"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_6" [label="6: Prune (false branch, if) \n n$0=*&x:X* [line 48, column 7]\n PRUNE(!n$0, false); [line 48, column 7]\n " shape="invhouse"] - - - "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_6" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_3" ; -"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_7" [label="7: Return Stmt \n n$1=*&x:X* [line 50, column 12]\n _=*n$1:X [line 50, column 12]\n n$3=_fun_X_div(n$1:X*) [line 50, column 12]\n *&return:int=n$3 [line 50, column 5]\n " shape="box"] - - - "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_7" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_2" ; -"field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_8" [label="8: Call _fun_set_field_ptr \n n$4=*&x:X* [line 49, column 19]\n _fun_set_field_ptr(n$4:X*,0:int) [line 49, column 5]\n " shape="box"] - - - "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_8" -> "field_div0_ptr#2555781581744357321.4ee118b9c5178d1d4e02dcf5eed47814_7" ; -"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_1" [label="1: Start field_div1_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 54, column 1]\n " color=yellow style=filled] - - - "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_1" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_5" ; - "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_1" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_6" ; -"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_2" [label="2: Exit field_div1_ptr \n " color=yellow style=filled] - - -"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_3" [label="3: + \n " ] - - - "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_3" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_4" ; -"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_4" [label="4: between_join_and_exit \n " shape="box"] - - - "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_4" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_2" ; -"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_5" [label="5: Prune (true branch, if) \n n$0=*&x:X* [line 55, column 7]\n PRUNE(n$0, true); [line 55, column 7]\n " shape="invhouse"] - - - "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_5" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_8" ; -"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_6" [label="6: Prune (false branch, if) \n n$0=*&x:X* [line 55, column 7]\n PRUNE(!n$0, false); [line 55, column 7]\n " shape="invhouse"] - - - "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_6" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_3" ; -"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_7" [label="7: Return Stmt \n n$1=*&x:X* [line 57, column 12]\n _=*n$1:X [line 57, column 12]\n n$3=_fun_X_div(n$1:X*) [line 57, column 12]\n *&return:int=n$3 [line 57, column 5]\n " shape="box"] - - - "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_7" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_2" ; -"field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_8" [label="8: Call _fun_set_field_ptr \n n$4=*&x:X* [line 56, column 19]\n _fun_set_field_ptr(n$4:X*,1:int) [line 56, column 5]\n " shape="box"] +"method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_1" [label="1: Start method_div1_ref\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 90, column 1]\n " color=yellow style=filled] - "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_8" -> "field_div1_ptr#10491775926176760544.af54450738e6dc8210ec4a97e984707b_7" ; -"set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_1" [label="1: Start set_field_ptr\nFormals: x:X* val:int\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 1]\n " color=yellow style=filled] + "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_1" -> "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_4" ; +"method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_2" [label="2: Exit method_div1_ref \n " color=yellow style=filled] - "set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_1" -> "set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_3" ; -"set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_2" [label="2: Exit set_field_ptr \n " color=yellow style=filled] +"method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_3" [label="3: Return Stmt \n n$0=*&x:X& [line 92, column 10]\n _=*n$0:X [line 92, column 10]\n n$2=_fun_X_div(n$0:X&) [line 92, column 10]\n *&return:int=n$2 [line 92, column 3]\n " shape="box"] -"set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&x:X* [line 21, column 37]\n n$1=*&val:int [line 21, column 44]\n *n$0.f:int=n$1 [line 21, column 37]\n " shape="box"] + "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_3" -> "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_2" ; +"method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_4" [label="4: Call _fun_nonzero_ref \n n$3=*&x:X& [line 91, column 15]\n _fun_nonzero_ref(n$3:X&) [line 91, column 3]\n " shape="box"] - "set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_3" -> "set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_2" ; -"zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_1" [label="1: Start zero_ref\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 1]\n " color=yellow style=filled] + "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_4" -> "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_3" ; +"nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_1" [label="1: Start nonzero_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] - "zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_1" -> "zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_3" ; -"zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_2" [label="2: Exit zero_ref \n " color=yellow style=filled] + "nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_1" -> "nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_3" ; +"nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_2" [label="2: Exit nonzero_ptr \n " color=yellow style=filled] -"zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_3" [label="3: Call _fun_X_zero \n n$0=*&x:X& [line 23, column 23]\n _=*n$0:X [line 23, column 23]\n _fun_X_zero(n$0:X&) [line 23, column 23]\n " shape="box"] +"nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_3" [label="3: Call _fun_X_nonzero \n n$0=*&x:X* [line 19, column 26]\n _=*n$0:X [line 19, column 26]\n _fun_X_nonzero(n$0:X*) [line 19, column 26]\n " shape="box"] - "zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_3" -> "zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_2" ; + "nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_3" -> "nonzero_ptr#1716920554390102131.73cd383c8a42e9a8d0f617a226ea9df9_2" ; "nonzero_ref#2062801655575406720.e5794366c34a5ecd10e2fd062a659f30_1" [label="1: Start nonzero_ref\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 25, column 1]\n " color=yellow style=filled] @@ -368,77 +395,68 @@ digraph cfg { "nonzero_ref#2062801655575406720.e5794366c34a5ecd10e2fd062a659f30_3" -> "nonzero_ref#2062801655575406720.e5794366c34a5ecd10e2fd062a659f30_2" ; -"method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_1" [label="1: Start method_div0_ref\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 85, column 1]\n " color=yellow style=filled] - - - "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_1" -> "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_4" ; -"method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_2" [label="2: Exit method_div0_ref \n " color=yellow style=filled] - - -"method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_3" [label="3: Return Stmt \n n$0=*&x:X& [line 87, column 10]\n _=*n$0:X [line 87, column 10]\n n$2=_fun_X_div(n$0:X&) [line 87, column 10]\n *&return:int=n$2 [line 87, column 3]\n " shape="box"] +"set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_1" [label="1: Start set_field_ptr\nFormals: x:X* val:int\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 1]\n " color=yellow style=filled] - "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_3" -> "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_2" ; -"method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_4" [label="4: Call _fun_zero_ref \n n$3=*&x:X& [line 86, column 12]\n _fun_zero_ref(n$3:X&) [line 86, column 3]\n " shape="box"] + "set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_1" -> "set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_3" ; +"set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_2" [label="2: Exit set_field_ptr \n " color=yellow style=filled] - "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_4" -> "method_div0_ref#12048348997540346822.5280d482da62ad0e098e3e6ad4e7915e_3" ; -"method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_1" [label="1: Start method_div1_ref\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 90, column 1]\n " color=yellow style=filled] +"set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&x:X* [line 21, column 37]\n n$1=*&val:int [line 21, column 44]\n *n$0.f:int=n$1 [line 21, column 37]\n " shape="box"] - "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_1" -> "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_4" ; -"method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_2" [label="2: Exit method_div1_ref \n " color=yellow style=filled] + "set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_3" -> "set_field_ptr#10262801862810946974.0df004d43278f4c67506fb9e7451494c_2" ; +"set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_1" [label="1: Start set_field_ref\nFormals: x:X& val:int\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] -"method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_3" [label="3: Return Stmt \n n$0=*&x:X& [line 92, column 10]\n _=*n$0:X [line 92, column 10]\n n$2=_fun_X_div(n$0:X&) [line 92, column 10]\n *&return:int=n$2 [line 92, column 3]\n " shape="box"] + "set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_1" -> "set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_3" ; +"set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_2" [label="2: Exit set_field_ref \n " color=yellow style=filled] - "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_3" -> "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_2" ; -"method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_4" [label="4: Call _fun_nonzero_ref \n n$3=*&x:X& [line 91, column 15]\n _fun_nonzero_ref(n$3:X&) [line 91, column 3]\n " shape="box"] +"set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&x:X& [line 27, column 37]\n n$1=*&val:int [line 27, column 43]\n *n$0.f:int=n$1 [line 27, column 37]\n " shape="box"] - "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_4" -> "method_div1_ref#18445848838166655559.1ecfa9c02aff37ba12fb556cb038f32c_3" ; -"field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_1" [label="1: Start field_div0_ref\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 95, column 1]\n " color=yellow style=filled] + "set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_3" -> "set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_2" ; +"zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_1" [label="1: Start zero_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 1]\n " color=yellow style=filled] - "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_1" -> "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_4" ; -"field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_2" [label="2: Exit field_div0_ref \n " color=yellow style=filled] + "zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_1" -> "zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_3" ; +"zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_2" [label="2: Exit zero_ptr \n " color=yellow style=filled] -"field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_3" [label="3: Return Stmt \n n$0=*&x:X& [line 97, column 10]\n _=*n$0:X [line 97, column 10]\n n$2=_fun_X_div(n$0:X&) [line 97, column 10]\n *&return:int=n$2 [line 97, column 3]\n " shape="box"] +"zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_3" [label="3: Call _fun_X_zero \n n$0=*&x:X* [line 17, column 23]\n _=*n$0:X [line 17, column 23]\n _fun_X_zero(n$0:X*) [line 17, column 23]\n " shape="box"] - "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_3" -> "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_2" ; -"field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_4" [label="4: Call _fun_set_field_ref \n n$3=*&x:X& [line 96, column 17]\n _fun_set_field_ref(n$3:X&,0:int) [line 96, column 3]\n " shape="box"] + "zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_3" -> "zero_ptr#12528709853087384868.d5a909d971ab439311f13a14aded5aa9_2" ; +"zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_1" [label="1: Start zero_ref\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 1]\n " color=yellow style=filled] - "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_4" -> "field_div0_ref#11723804822630548942.b7eb5245bed0a75cdc2d181e5af92008_3" ; -"field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_1" [label="1: Start field_div1_ref\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 100, column 1]\n " color=yellow style=filled] + "zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_1" -> "zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_3" ; +"zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_2" [label="2: Exit zero_ref \n " color=yellow style=filled] - "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_1" -> "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_4" ; -"field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_2" [label="2: Exit field_div1_ref \n " color=yellow style=filled] +"zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_3" [label="3: Call _fun_X_zero \n n$0=*&x:X& [line 23, column 23]\n _=*n$0:X [line 23, column 23]\n _fun_X_zero(n$0:X&) [line 23, column 23]\n " shape="box"] -"field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_3" [label="3: Return Stmt \n n$0=*&x:X& [line 102, column 10]\n _=*n$0:X [line 102, column 10]\n n$2=_fun_X_div(n$0:X&) [line 102, column 10]\n *&return:int=n$2 [line 102, column 3]\n " shape="box"] + "zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_3" -> "zero_ref#14077465191616488315.9f868765c76672369ef06a4d03ded4f3_2" ; +"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" [label="1: Start X_X\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] - "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_3" -> "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_2" ; -"field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_4" [label="4: Call _fun_set_field_ref \n n$3=*&x:X& [line 101, column 17]\n _fun_set_field_ref(n$3:X&,1:int) [line 101, column 3]\n " shape="box"] + "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" ; +"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" [label="2: Exit X_X \n " color=yellow style=filled] - "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_4" -> "field_div1_ref#1499715418357335887.5b6e5f87301df1903e4a04faae98d6d5_3" ; -"set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_1" [label="1: Start set_field_ref\nFormals: x:X& val:int\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] +"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_1" [label="1: Start X_div\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] - "set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_1" -> "set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_3" ; -"set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_2" [label="2: Exit set_field_ref \n " color=yellow style=filled] + "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_1" -> "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" ; +"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_2" [label="2: Exit X_div \n " color=yellow style=filled] -"set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&x:X& [line 27, column 37]\n n$1=*&val:int [line 27, column 43]\n *n$0.f:int=n$1 [line 27, column 37]\n " shape="box"] +"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" [label="3: Return Stmt \n n$0=*&this:X* [line 14, column 26]\n n$1=*n$0.f:int [line 14, column 26]\n *&return:int=(1 / n$1) [line 14, column 15]\n " shape="box"] - "set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_3" -> "set_field_ref#15177497547761982491.aa4620ee8933c900acc4164344e57432_2" ; + "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" -> "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_2" ; "nonzero#X#(11619218627491700674).1d7c44c6589f4c816f501055b35038bc_1" [label="1: Start X_nonzero\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] @@ -461,22 +479,4 @@ digraph cfg { "zero#X#(16299302305861440992).e13842f7b98f126e5d2188644c16a995_3" -> "zero#X#(16299302305861440992).e13842f7b98f126e5d2188644c16a995_2" ; -"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_1" [label="1: Start X_div\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] - - - "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_1" -> "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" ; -"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_2" [label="2: Exit X_div \n " color=yellow style=filled] - - -"div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" [label="3: Return Stmt \n n$0=*&this:X* [line 14, column 26]\n n$1=*n$0.f:int [line 14, column 26]\n *&return:int=(1 / n$1) [line 14, column 15]\n " shape="box"] - - - "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_3" -> "div#X#(18085298371773708552).78228fdd912ebeeb718ac23bdc727c87_2" ; -"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" [label="1: Start X_X\nFormals: this:X*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] - - - "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_1" -> "X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" ; -"X#X#{4951618003533511344}.a6c75b361b5e04dddb518f7e116a9ca2_2" [label="2: Exit X_X \n " color=yellow style=filled] - - } diff --git a/infer/tests/codetoanalyze/cpp/shared/reference/temporary_lvalue.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/reference/temporary_lvalue.cpp.dot index 6006c7f3a..e9bda5522 100644 --- a/infer/tests/codetoanalyze/cpp/shared/reference/temporary_lvalue.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/reference/temporary_lvalue.cpp.dot @@ -1,20 +1,16 @@ /* @generated */ digraph cfg { -"div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_1" [label="1: Start div0_init_expr\nFormals: \nLocals: a:int const & 0$?%__sil_tmpSIL_materialize_temp__n$2:int \n DECLARE_LOCALS(&return,&a,&0$?%__sil_tmpSIL_materialize_temp__n$2); [line 12, column 1]\n " color=yellow style=filled] - - - "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_1" -> "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_4" ; -"div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_2" [label="2: Exit div0_init_expr \n " color=yellow style=filled] +"div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_1" [label="1: Start div\nFormals: v:int const &\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] -"div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_3" [label="3: Return Stmt \n n$0=*&a:int const & [line 14, column 14]\n n$1=_fun_div(n$0:int const &) [line 14, column 10]\n *&return:int=n$1 [line 14, column 3]\n " shape="box"] + "div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_1" -> "div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_3" ; +"div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_2" [label="2: Exit div \n " color=yellow style=filled] - "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_3" -> "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_2" ; -"div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_4" [label="4: DeclStmt \n *&0$?%__sil_tmpSIL_materialize_temp__n$2:int=0 [line 13, column 18]\n *&a:int&=&0$?%__sil_tmpSIL_materialize_temp__n$2 [line 13, column 3]\n " shape="box"] +"div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_3" [label="3: Return Stmt \n n$0=*&v:int const & [line 10, column 36]\n n$1=*n$0:int [line 10, column 36]\n *&return:int=(1 / n$1) [line 10, column 25]\n " shape="box"] - "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_4" -> "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_3" ; + "div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_3" -> "div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_2" ; "div0_function_param_cast#10492767400319523474.071b9a9b757a9140938b53a95e971def_1" [label="1: Start div0_function_param_cast\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 17, column 1]\n " color=yellow style=filled] @@ -26,6 +22,21 @@ digraph cfg { "div0_function_param_cast#10492767400319523474.071b9a9b757a9140938b53a95e971def_3" -> "div0_function_param_cast#10492767400319523474.071b9a9b757a9140938b53a95e971def_2" ; +"div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_1" [label="1: Start div0_init_expr\nFormals: \nLocals: a:int const & 0$?%__sil_tmpSIL_materialize_temp__n$2:int \n DECLARE_LOCALS(&return,&a,&0$?%__sil_tmpSIL_materialize_temp__n$2); [line 12, column 1]\n " color=yellow style=filled] + + + "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_1" -> "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_4" ; +"div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_2" [label="2: Exit div0_init_expr \n " color=yellow style=filled] + + +"div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_3" [label="3: Return Stmt \n n$0=*&a:int const & [line 14, column 14]\n n$1=_fun_div(n$0:int const &) [line 14, column 10]\n *&return:int=n$1 [line 14, column 3]\n " shape="box"] + + + "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_3" -> "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_2" ; +"div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_4" [label="4: DeclStmt \n *&0$?%__sil_tmpSIL_materialize_temp__n$2:int=0 [line 13, column 18]\n *&a:int&=&0$?%__sil_tmpSIL_materialize_temp__n$2 [line 13, column 3]\n " shape="box"] + + + "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_4" -> "div0_init_expr#16429869714979266683.46e79db6a434bbf3e121689869095925_3" ; "div0_no_const_ref#2435860439272921671.329c6a0e35fd9b4b747df4dcffa5a9ef_1" [label="1: Start div0_no_const_ref\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 20, column 1]\n " color=yellow style=filled] @@ -41,15 +52,4 @@ digraph cfg { "div0_no_const_ref#2435860439272921671.329c6a0e35fd9b4b747df4dcffa5a9ef_4" -> "div0_no_const_ref#2435860439272921671.329c6a0e35fd9b4b747df4dcffa5a9ef_3" ; -"div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_1" [label="1: Start div\nFormals: v:int const &\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] - - - "div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_1" -> "div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_3" ; -"div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_2" [label="2: Exit div \n " color=yellow style=filled] - - -"div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_3" [label="3: Return Stmt \n n$0=*&v:int const & [line 10, column 36]\n n$1=*n$0:int [line 10, column 36]\n *&return:int=(1 / n$1) [line 10, column 25]\n " shape="box"] - - - "div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_3" -> "div#1879538779647861770.84b17ea73594d098fb69bd947fc358c0_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/reference/unbox.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/reference/unbox.cpp.dot index e3a55c92e..24c39102e 100644 --- a/infer/tests/codetoanalyze/cpp/shared/reference/unbox.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/reference/unbox.cpp.dot @@ -1,32 +1,38 @@ /* @generated */ digraph cfg { -"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_1" [label="1: Start unbox_ref\nFormals: \nLocals: r:int& a:int \n DECLARE_LOCALS(&return,&r,&a); [line 17, column 1]\n " color=yellow style=filled] +"fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_1" [label="1: Start fun_p\nFormals: p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] - "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_1" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_7" ; -"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_2" [label="2: Exit unbox_ref \n " color=yellow style=filled] + "fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_1" -> "fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_3" ; +"fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_2" [label="2: Exit fun_p \n " color=yellow style=filled] -"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_3" [label="3: Call _fun_fun_r \n n$0=*&r:int& [line 23, column 9]\n n$1=_fun_fun_r(n$0:int&) [line 23, column 3]\n " shape="box"] +"fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_3" [label="3: Return Stmt \n n$0=*&p:int* [line 10, column 29]\n n$1=*n$0:int [line 10, column 28]\n *&return:int=n$1 [line 10, column 21]\n " shape="box"] - "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_3" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_2" ; -"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_4" [label="4: Call _fun_fun_v \n n$2=*&r:int& [line 22, column 9]\n n$3=*n$2:int [line 22, column 9]\n n$4=_fun_fun_v(n$3:int) [line 22, column 3]\n " shape="box"] + "fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_3" -> "fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_2" ; +"fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_1" [label="1: Start fun_r\nFormals: p:int&\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_4" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_3" ; -"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_5" [label="5: Call _fun_fun_p \n n$5=*&r:int& [line 21, column 10]\n n$6=_fun_fun_p(n$5:int*) [line 21, column 3]\n " shape="box"] + "fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_1" -> "fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_3" ; +"fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_2" [label="2: Exit fun_r \n " color=yellow style=filled] - "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_5" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_4" ; -"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_6" [label="6: DeclStmt \n *&r:int&=&a [line 19, column 3]\n " shape="box"] +"fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_3" [label="3: Return Stmt \n n$0=*&p:int& [line 12, column 28]\n n$1=*n$0:int [line 12, column 28]\n *&return:int=n$1 [line 12, column 21]\n " shape="box"] - "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_6" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_5" ; -"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_7" [label="7: DeclStmt \n *&a:int=3 [line 18, column 3]\n " shape="box"] + "fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_3" -> "fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_2" ; +"fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_1" [label="1: Start fun_v\nFormals: p:int\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 1]\n " color=yellow style=filled] - "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_7" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_6" ; + "fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_1" -> "fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_3" ; +"fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_2" [label="2: Exit fun_v \n " color=yellow style=filled] + + +"fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_3" [label="3: Return Stmt \n n$0=*&p:int [line 11, column 27]\n *&return:int=n$0 [line 11, column 20]\n " shape="box"] + + + "fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_3" -> "fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_2" ; "unbox_ptr#3550280956167916174.75d50cc2e2dfffd1cc23613b01fc878b_1" [label="1: Start unbox_ptr\nFormals: \nLocals: p:int* a:int \n DECLARE_LOCALS(&return,&p,&a); [line 27, column 1]\n " color=yellow style=filled] @@ -54,37 +60,31 @@ digraph cfg { "unbox_ptr#3550280956167916174.75d50cc2e2dfffd1cc23613b01fc878b_7" -> "unbox_ptr#3550280956167916174.75d50cc2e2dfffd1cc23613b01fc878b_6" ; -"fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_1" [label="1: Start fun_v\nFormals: p:int\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 1]\n " color=yellow style=filled] - - - "fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_1" -> "fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_3" ; -"fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_2" [label="2: Exit fun_v \n " color=yellow style=filled] - - -"fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_3" [label="3: Return Stmt \n n$0=*&p:int [line 11, column 27]\n *&return:int=n$0 [line 11, column 20]\n " shape="box"] +"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_1" [label="1: Start unbox_ref\nFormals: \nLocals: r:int& a:int \n DECLARE_LOCALS(&return,&r,&a); [line 17, column 1]\n " color=yellow style=filled] - "fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_3" -> "fun_v#125358748374922080.2b082c989a86eb6a918b15eb596c685a_2" ; -"fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_1" [label="1: Start fun_p\nFormals: p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] + "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_1" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_7" ; +"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_2" [label="2: Exit unbox_ref \n " color=yellow style=filled] - "fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_1" -> "fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_3" ; -"fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_2" [label="2: Exit fun_p \n " color=yellow style=filled] +"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_3" [label="3: Call _fun_fun_r \n n$0=*&r:int& [line 23, column 9]\n n$1=_fun_fun_r(n$0:int&) [line 23, column 3]\n " shape="box"] -"fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_3" [label="3: Return Stmt \n n$0=*&p:int* [line 10, column 29]\n n$1=*n$0:int [line 10, column 28]\n *&return:int=n$1 [line 10, column 21]\n " shape="box"] + "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_3" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_2" ; +"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_4" [label="4: Call _fun_fun_v \n n$2=*&r:int& [line 22, column 9]\n n$3=*n$2:int [line 22, column 9]\n n$4=_fun_fun_v(n$3:int) [line 22, column 3]\n " shape="box"] - "fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_3" -> "fun_p#7468829763884786220.ff1d58f26970dcc8ee3c2a153c5a5b85_2" ; -"fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_1" [label="1: Start fun_r\nFormals: p:int&\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] + "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_4" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_3" ; +"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_5" [label="5: Call _fun_fun_p \n n$5=*&r:int& [line 21, column 10]\n n$6=_fun_fun_p(n$5:int*) [line 21, column 3]\n " shape="box"] - "fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_1" -> "fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_3" ; -"fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_2" [label="2: Exit fun_r \n " color=yellow style=filled] + "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_5" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_4" ; +"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_6" [label="6: DeclStmt \n *&r:int&=&a [line 19, column 3]\n " shape="box"] -"fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_3" [label="3: Return Stmt \n n$0=*&p:int& [line 12, column 28]\n n$1=*n$0:int [line 12, column 28]\n *&return:int=n$1 [line 12, column 21]\n " shape="box"] + "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_6" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_5" ; +"unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_7" [label="7: DeclStmt \n *&a:int=3 [line 18, column 3]\n " shape="box"] - "fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_3" -> "fun_r#8688550998084520100.a539308a01e8443f65be5d44c29a73f6_2" ; + "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_7" -> "unbox_ref#9977470601320200599.91094dce9e5b43dc4c89abcbc69b2c70_6" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/templates/class_specialization.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/templates/class_specialization.cpp.dot index d85b06120..f7a885a69 100644 --- a/infer/tests/codetoanalyze/cpp/shared/templates/class_specialization.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/templates/class_specialization.cpp.dot @@ -1,43 +1,43 @@ /* @generated */ digraph cfg { -"foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_1" [label="1: Start class_specialization::foo_intptr\nFormals: \nLocals: x:int b:class_specialization::Derived \n DECLARE_LOCALS(&return,&x,&b); [line 26, column 1]\n " color=yellow style=filled] +"foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_1" [label="1: Start class_specialization::foo_int\nFormals: \nLocals: z:int b:class_specialization::Derived \n DECLARE_LOCALS(&return,&z,&b); [line 32, column 1]\n " color=yellow style=filled] - "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_1" -> "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_5" ; -"foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_2" [label="2: Exit class_specialization::foo_intptr \n " color=yellow style=filled] + "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_1" -> "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_5" ; +"foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_2" [label="2: Exit class_specialization::foo_int \n " color=yellow style=filled] -"foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_3" [label="3: DeclStmt \n n$0=*&b.x:int* [line 29, column 12]\n n$1=*n$0:int [line 29, column 11]\n *&x:int=n$1 [line 29, column 3]\n " shape="box"] +"foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_3" [label="3: DeclStmt \n n$0=*&b.x:int [line 35, column 15]\n *&z:int=(1 / n$0) [line 35, column 3]\n " shape="box"] - "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_3" -> "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_2" ; -"foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_4" [label="4: Call _fun_class_specialization::Derived_foo2 \n _=*&b:class_specialization::Derived [line 28, column 3]\n _fun_class_specialization::Derived_foo2(&b:class_specialization::Derived&,null:int*) [line 28, column 3]\n " shape="box"] + "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_3" -> "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_2" ; +"foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_4" [label="4: Call _fun_class_specialization::Derived_foo \n _=*&b:class_specialization::Derived [line 34, column 3]\n _fun_class_specialization::Derived_foo(&b:class_specialization::Derived&,0:int) [line 34, column 3]\n " shape="box"] - "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_4" -> "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_3" ; -"foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_5" [label="5: DeclStmt \n _fun_class_specialization::Derived_Derived(&b:class_specialization::Derived*) [line 27, column 17]\n " shape="box"] + "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_4" -> "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_3" ; +"foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_5" [label="5: DeclStmt \n _fun_class_specialization::Derived_Derived(&b:class_specialization::Derived*) [line 33, column 16]\n " shape="box"] - "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_5" -> "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_4" ; -"foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_1" [label="1: Start class_specialization::foo_int\nFormals: \nLocals: z:int b:class_specialization::Derived \n DECLARE_LOCALS(&return,&z,&b); [line 32, column 1]\n " color=yellow style=filled] + "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_5" -> "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_4" ; +"foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_1" [label="1: Start class_specialization::foo_intptr\nFormals: \nLocals: x:int b:class_specialization::Derived \n DECLARE_LOCALS(&return,&x,&b); [line 26, column 1]\n " color=yellow style=filled] - "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_1" -> "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_5" ; -"foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_2" [label="2: Exit class_specialization::foo_int \n " color=yellow style=filled] + "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_1" -> "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_5" ; +"foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_2" [label="2: Exit class_specialization::foo_intptr \n " color=yellow style=filled] -"foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_3" [label="3: DeclStmt \n n$0=*&b.x:int [line 35, column 15]\n *&z:int=(1 / n$0) [line 35, column 3]\n " shape="box"] +"foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_3" [label="3: DeclStmt \n n$0=*&b.x:int* [line 29, column 12]\n n$1=*n$0:int [line 29, column 11]\n *&x:int=n$1 [line 29, column 3]\n " shape="box"] - "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_3" -> "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_2" ; -"foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_4" [label="4: Call _fun_class_specialization::Derived_foo \n _=*&b:class_specialization::Derived [line 34, column 3]\n _fun_class_specialization::Derived_foo(&b:class_specialization::Derived&,0:int) [line 34, column 3]\n " shape="box"] + "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_3" -> "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_2" ; +"foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_4" [label="4: Call _fun_class_specialization::Derived_foo2 \n _=*&b:class_specialization::Derived [line 28, column 3]\n _fun_class_specialization::Derived_foo2(&b:class_specialization::Derived&,null:int*) [line 28, column 3]\n " shape="box"] - "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_4" -> "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_3" ; -"foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_5" [label="5: DeclStmt \n _fun_class_specialization::Derived_Derived(&b:class_specialization::Derived*) [line 33, column 16]\n " shape="box"] + "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_4" -> "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_3" ; +"foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_5" [label="5: DeclStmt \n _fun_class_specialization::Derived_Derived(&b:class_specialization::Derived*) [line 27, column 17]\n " shape="box"] - "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_5" -> "foo_int#class_specialization#18011277194514159170.29412bbb7345cd5150bdd3239c145d19_4" ; + "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_5" -> "foo_intptr#class_specialization#3914514069521239538.096096ddd8eb9462872f535952d6e0a5_4" ; "Base#Base#class_specialization#{14101392445423095049}.4481221d683f8e54c4527519cddc792a_1" [label="1: Start class_specialization::Base_Base\nFormals: this:class_specialization::Base*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] @@ -63,17 +63,6 @@ digraph cfg { "Derived#Derived#class_specialization#{6947111178756325946}.2484a8b63b0d0003a390b6e57428fee2_3" -> "Derived#Derived#class_specialization#{6947111178756325946}.2484a8b63b0d0003a390b6e57428fee2_2" ; -"foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_1" [label="1: Start class_specialization::Derived_foo2\nFormals: this:class_specialization::Derived* t:int*\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 3]\n " color=yellow style=filled] - - - "foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_1" -> "foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_3" ; -"foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_2" [label="2: Exit class_specialization::Derived_foo2 \n " color=yellow style=filled] - - -"foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:class_specialization::Derived* [line 23, column 21]\n n$1=*&t:int* [line 23, column 31]\n *n$0.x:int*=n$1 [line 23, column 21]\n " shape="box"] - - - "foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_3" -> "foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_2" ; "Derived#Derived#class_specialization#{14157761386473130888}.40e79d469e516a33fdff720996ff80ab_1" [label="1: Start class_specialization::Derived_Derived\nFormals: this:class_specialization::Derived*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 8]\n " color=yellow style=filled] @@ -96,4 +85,15 @@ digraph cfg { "foo#Derived#class_specialization#(3691368771332090182).157c4cba925bdfdc131986d2b52af05d_3" -> "foo#Derived#class_specialization#(3691368771332090182).157c4cba925bdfdc131986d2b52af05d_2" ; +"foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_1" [label="1: Start class_specialization::Derived_foo2\nFormals: this:class_specialization::Derived* t:int*\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 3]\n " color=yellow style=filled] + + + "foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_1" -> "foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_3" ; +"foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_2" [label="2: Exit class_specialization::Derived_foo2 \n " color=yellow style=filled] + + +"foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:class_specialization::Derived* [line 23, column 21]\n n$1=*&t:int* [line 23, column 31]\n *n$0.x:int*=n$1 [line 23, column 21]\n " shape="box"] + + + "foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_3" -> "foo2#Derived#class_specialization#(12167928122938213289).9c7a2e679a7d7dcf0338960c56f01bd4_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/templates/class_template_instantiate.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/templates/class_template_instantiate.cpp.dot index b1a6bf792..f0678c59d 100644 --- a/infer/tests/codetoanalyze/cpp/shared/templates/class_template_instantiate.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/templates/class_template_instantiate.cpp.dot @@ -1,16 +1,27 @@ /* @generated */ digraph cfg { -"choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_1" [label="1: Start choose2_div0_no_report\nFormals: s:ExecStore&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 1]\n " color=yellow style=filled] +"choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_1" [label="1: Start choose1_div0\nFormals: s:ExecStore&\nLocals: \n DECLARE_LOCALS(&return); [line 30, column 1]\n " color=yellow style=filled] - "choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_1" -> "choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_3" ; -"choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_2" [label="2: Exit choose2_div0_no_report \n " color=yellow style=filled] + "choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_1" -> "choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_3" ; +"choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_2" [label="2: Exit choose1_div0 \n " color=yellow style=filled] -"choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_3" [label="3: Return Stmt \n n$0=*&s:ExecStore& [line 36, column 10]\n _=*n$0:ExecStore [line 36, column 10]\n n$2=_fun_ExecStore_call_div(n$0:ExecStore&,1:int) [line 36, column 10]\n *&return:int=n$2 [line 36, column 3]\n " shape="box"] +"choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_3" [label="3: Return Stmt \n n$0=*&s:ExecStore& [line 30, column 50]\n _=*n$0:ExecStore [line 30, column 50]\n n$2=_fun_ExecStore_call_div(n$0:ExecStore&,0:int) [line 30, column 50]\n *&return:int=n$2 [line 30, column 43]\n " shape="box"] - "choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_3" -> "choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_2" ; + "choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_3" -> "choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_2" ; +"choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_1" [label="1: Start choose1_div1\nFormals: s:ExecStore&\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 1]\n " color=yellow style=filled] + + + "choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_1" -> "choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_3" ; +"choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_2" [label="2: Exit choose1_div1 \n " color=yellow style=filled] + + +"choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_3" [label="3: Return Stmt \n n$0=*&s:ExecStore& [line 32, column 50]\n _=*n$0:ExecStore [line 32, column 50]\n n$2=_fun_ExecStore_call_div(n$0:ExecStore&,1:int) [line 32, column 50]\n *&return:int=n$2 [line 32, column 43]\n " shape="box"] + + + "choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_3" -> "choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_2" ; "choose2_div0_extra#14813785796839389204.fa5d6812348bd595f0378dd5dc4923d1_1" [label="1: Start choose2_div0_extra\nFormals: s:ExecStore&\nLocals: \n DECLARE_LOCALS(&return); [line 39, column 1]\n " color=yellow style=filled] @@ -22,6 +33,17 @@ digraph cfg { "choose2_div0_extra#14813785796839389204.fa5d6812348bd595f0378dd5dc4923d1_3" -> "choose2_div0_extra#14813785796839389204.fa5d6812348bd595f0378dd5dc4923d1_2" ; +"choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_1" [label="1: Start choose2_div0_no_report\nFormals: s:ExecStore&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 1]\n " color=yellow style=filled] + + + "choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_1" -> "choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_3" ; +"choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_2" [label="2: Exit choose2_div0_no_report \n " color=yellow style=filled] + + +"choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_3" [label="3: Return Stmt \n n$0=*&s:ExecStore& [line 36, column 10]\n _=*n$0:ExecStore [line 36, column 10]\n n$2=_fun_ExecStore_call_div(n$0:ExecStore&,1:int) [line 36, column 10]\n *&return:int=n$2 [line 36, column 3]\n " shape="box"] + + + "choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_3" -> "choose2_div0_no_report#2695819694034608079.37b94e5ad3118293eeb303180a8ab569_2" ; "choose2_div1_extra#11450073616177188665.26254023768c0b68956b8cd88a792052_1" [label="1: Start choose2_div1_extra\nFormals: s:ExecStore&\nLocals: \n DECLARE_LOCALS(&return); [line 41, column 1]\n " color=yellow style=filled] @@ -33,28 +55,28 @@ digraph cfg { "choose2_div1_extra#11450073616177188665.26254023768c0b68956b8cd88a792052_3" -> "choose2_div1_extra#11450073616177188665.26254023768c0b68956b8cd88a792052_2" ; -"choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_1" [label="1: Start choose1_div0\nFormals: s:ExecStore&\nLocals: \n DECLARE_LOCALS(&return); [line 30, column 1]\n " color=yellow style=filled] +"call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_1" [label="1: Start ExecStore_call_div\nFormals: this:ExecStore* a:int\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 3]\n " color=yellow style=filled] - "choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_1" -> "choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_3" ; -"choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_2" [label="2: Exit choose1_div0 \n " color=yellow style=filled] + "call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_1" -> "call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_3" ; +"call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_2" [label="2: Exit ExecStore_call_div \n " color=yellow style=filled] -"choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_3" [label="3: Return Stmt \n n$0=*&s:ExecStore& [line 30, column 50]\n _=*n$0:ExecStore [line 30, column 50]\n n$2=_fun_ExecStore_call_div(n$0:ExecStore&,0:int) [line 30, column 50]\n *&return:int=n$2 [line 30, column 43]\n " shape="box"] +"call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_3" [label="3: Return Stmt \n n$0=*&this:ExecStore* [line 26, column 12]\n _=*n$0.f:Choose2 [line 26, column 12]\n n$2=*&a:int [line 26, column 18]\n n$3=_fun_Choose2_div(n$0.f:Choose2&,n$2:int,0:int) [line 26, column 12]\n *&return:int=n$3 [line 26, column 5]\n " shape="box"] - "choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_3" -> "choose1_div0#84040224581831795.e7e9c53ca95564cb9f2fe7bf906efbb2_2" ; -"choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_1" [label="1: Start choose1_div1\nFormals: s:ExecStore&\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 1]\n " color=yellow style=filled] + "call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_3" -> "call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_2" ; +"call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_1" [label="1: Start ExecStore_call_div\nFormals: this:ExecStore* a:int\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 3]\n " color=yellow style=filled] - "choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_1" -> "choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_3" ; -"choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_2" [label="2: Exit choose1_div1 \n " color=yellow style=filled] + "call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_1" -> "call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_3" ; +"call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_2" [label="2: Exit ExecStore_call_div \n " color=yellow style=filled] -"choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_3" [label="3: Return Stmt \n n$0=*&s:ExecStore& [line 32, column 50]\n _=*n$0:ExecStore [line 32, column 50]\n n$2=_fun_ExecStore_call_div(n$0:ExecStore&,1:int) [line 32, column 50]\n *&return:int=n$2 [line 32, column 43]\n " shape="box"] +"call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_3" [label="3: Return Stmt \n n$0=*&this:ExecStore* [line 26, column 12]\n _=*n$0.f:Choose1 [line 26, column 12]\n n$2=*&a:int [line 26, column 18]\n n$3=_fun_Choose1_div(n$0.f:Choose1&,n$2:int,0:int) [line 26, column 12]\n *&return:int=n$3 [line 26, column 5]\n " shape="box"] - "choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_3" -> "choose1_div1#6853869982283615202.a4644da7504c41a081228a100b9b551b_2" ; + "call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_3" -> "call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_2" ; "div#Choose1#(7273562715988938262).67bd706f66d8f9c67db80305a9ecab16_1" [label="1: Start Choose1_div\nFormals: this:Choose1* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 3]\n " color=yellow style=filled] @@ -66,17 +88,6 @@ digraph cfg { "div#Choose1#(7273562715988938262).67bd706f66d8f9c67db80305a9ecab16_3" -> "div#Choose1#(7273562715988938262).67bd706f66d8f9c67db80305a9ecab16_2" ; -"extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_1" [label="1: Start Choose2_extra\nFormals: this:Choose2* a:int\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 3]\n " color=yellow style=filled] - - - "extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_1" -> "extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_3" ; -"extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_2" [label="2: Exit Choose2_extra \n " color=yellow style=filled] - - -"extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_3" [label="3: Return Stmt \n n$0=*&a:int [line 18, column 33]\n *&return:int=(1 / n$0) [line 18, column 22]\n " shape="box"] - - - "extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_3" -> "extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_2" ; "div#Choose2#(15124421267141903041).48bc5dd070e87512d292b60033d4f4ba_1" [label="1: Start Choose2_div\nFormals: this:Choose2* a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 3]\n " color=yellow style=filled] @@ -88,26 +99,15 @@ digraph cfg { "div#Choose2#(15124421267141903041).48bc5dd070e87512d292b60033d4f4ba_3" -> "div#Choose2#(15124421267141903041).48bc5dd070e87512d292b60033d4f4ba_2" ; -"call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_1" [label="1: Start ExecStore_call_div\nFormals: this:ExecStore* a:int\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 3]\n " color=yellow style=filled] - - - "call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_1" -> "call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_3" ; -"call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_2" [label="2: Exit ExecStore_call_div \n " color=yellow style=filled] - - -"call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_3" [label="3: Return Stmt \n n$0=*&this:ExecStore* [line 26, column 12]\n _=*n$0.f:Choose2 [line 26, column 12]\n n$2=*&a:int [line 26, column 18]\n n$3=_fun_Choose2_div(n$0.f:Choose2&,n$2:int,0:int) [line 26, column 12]\n *&return:int=n$3 [line 26, column 5]\n " shape="box"] - - - "call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_3" -> "call_div#ExecStore#(11829874625214834057).d639b1b8281e7bb31d011a0c7a797e72_2" ; -"call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_1" [label="1: Start ExecStore_call_div\nFormals: this:ExecStore* a:int\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 3]\n " color=yellow style=filled] +"extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_1" [label="1: Start Choose2_extra\nFormals: this:Choose2* a:int\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 3]\n " color=yellow style=filled] - "call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_1" -> "call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_3" ; -"call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_2" [label="2: Exit ExecStore_call_div \n " color=yellow style=filled] + "extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_1" -> "extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_3" ; +"extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_2" [label="2: Exit Choose2_extra \n " color=yellow style=filled] -"call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_3" [label="3: Return Stmt \n n$0=*&this:ExecStore* [line 26, column 12]\n _=*n$0.f:Choose1 [line 26, column 12]\n n$2=*&a:int [line 26, column 18]\n n$3=_fun_Choose1_div(n$0.f:Choose1&,n$2:int,0:int) [line 26, column 12]\n *&return:int=n$3 [line 26, column 5]\n " shape="box"] +"extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_3" [label="3: Return Stmt \n n$0=*&a:int [line 18, column 33]\n *&return:int=(1 / n$0) [line 18, column 22]\n " shape="box"] - "call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_3" -> "call_div#ExecStore#(13821779640448790720).c684f7c620c64dbf19170e6c2add6779_2" ; + "extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_3" -> "extra#Choose2#(14672402234151207405).b4984695aadbb0c84ec39abdd34b600e_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/templates/function.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/templates/function.cpp.dot index ad7d4bd91..3b55d27b8 100644 --- a/infer/tests/codetoanalyze/cpp/shared/templates/function.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/templates/function.cpp.dot @@ -1,5 +1,27 @@ /* @generated */ digraph cfg { +"createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_1" [label="1: Start function::createAndDiv\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 42, column 1]\n " color=yellow style=filled] + + + "createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_1" -> "createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_3" ; +"createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_2" [label="2: Exit function::createAndDiv \n " color=yellow style=filled] + + +"createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_3" [label="3: Return Stmt \n n$0=_fun_function::createAndGetVal() [line 43, column 14]\n *&return:int=(1 / n$0) [line 43, column 3]\n " shape="box"] + + + "createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_3" -> "createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_2" ; +"createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_1" [label="1: Start function::createAndDiv\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 42, column 1]\n " color=yellow style=filled] + + + "createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_1" -> "createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_3" ; +"createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_2" [label="2: Exit function::createAndDiv \n " color=yellow style=filled] + + +"createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_3" [label="3: Return Stmt \n n$0=_fun_function::createAndGetVal() [line 43, column 14]\n *&return:int=(1 / n$0) [line 43, column 3]\n " shape="box"] + + + "createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_3" -> "createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_2" ; "createAndGetVal#function#6914861794749950810.03576380bf9ba7f93eef05bd79193575_1" [label="1: Start function::createAndGetVal\nFormals: \nLocals: x:function::X1 \n DECLARE_LOCALS(&return,&x); [line 36, column 1]\n " color=yellow style=filled] @@ -30,28 +52,17 @@ digraph cfg { "createAndGetVal#function#780814784522236088.525e889c7c5ef92e178075392a6961a4_4" -> "createAndGetVal#function#780814784522236088.525e889c7c5ef92e178075392a6961a4_3" ; -"createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_1" [label="1: Start function::createAndDiv\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 42, column 1]\n " color=yellow style=filled] - - - "createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_1" -> "createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_3" ; -"createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_2" [label="2: Exit function::createAndDiv \n " color=yellow style=filled] - - -"createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_3" [label="3: Return Stmt \n n$0=_fun_function::createAndGetVal() [line 43, column 14]\n *&return:int=(1 / n$0) [line 43, column 3]\n " shape="box"] - - - "createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_3" -> "createAndDiv#function#7317770096713783521.0380eae58716a2f4c79a0aa7669988ba_2" ; -"createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_1" [label="1: Start function::createAndDiv\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 42, column 1]\n " color=yellow style=filled] +"div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_1" [label="1: Start function::div0_create_and_get_val\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 69, column 1]\n " color=yellow style=filled] - "createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_1" -> "createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_3" ; -"createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_2" [label="2: Exit function::createAndDiv \n " color=yellow style=filled] + "div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_1" -> "div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_3" ; +"div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_2" [label="2: Exit function::div0_create_and_get_val \n " color=yellow style=filled] -"createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_3" [label="3: Return Stmt \n n$0=_fun_function::createAndGetVal() [line 43, column 14]\n *&return:int=(1 / n$0) [line 43, column 3]\n " shape="box"] +"div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_3" [label="3: Return Stmt \n n$0=_fun_function::createAndGetVal() [line 70, column 10]\n n$1=_fun_function::createAndGetVal() [line 70, column 34]\n *&return:int=(n$0 / n$1) [line 70, column 3]\n " shape="box"] - "createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_3" -> "createAndDiv#function#17691069018148922707.8fbffac628046cdf9a89a22bc71f8057_2" ; + "div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_3" -> "div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_2" ; "div0_get_val#function#10798510201986830040.b077944b4022150f57aec37a5ffc164a_1" [label="1: Start function::div0_get_val\nFormals: \nLocals: x3:function::X3 x1:function::X1 \n DECLARE_LOCALS(&return,&x3,&x1); [line 57, column 1]\n " color=yellow style=filled] @@ -71,6 +82,17 @@ digraph cfg { "div0_get_val#function#10798510201986830040.b077944b4022150f57aec37a5ffc164a_5" -> "div0_get_val#function#10798510201986830040.b077944b4022150f57aec37a5ffc164a_4" ; +"div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_1" [label="1: Start function::div1_create_and_get_val\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 73, column 1]\n " color=yellow style=filled] + + + "div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_1" -> "div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_3" ; +"div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_2" [label="2: Exit function::div1_create_and_get_val \n " color=yellow style=filled] + + +"div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_3" [label="3: Return Stmt \n n$0=_fun_function::createAndGetVal() [line 74, column 10]\n n$1=_fun_function::createAndGetVal() [line 74, column 34]\n *&return:int=(n$0 / n$1) [line 74, column 3]\n " shape="box"] + + + "div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_3" -> "div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_2" ; "div1_get_val#function#3554411408849091151.45cb38d8fc35a6b2cdc1f63de85d2e51_1" [label="1: Start function::div1_get_val\nFormals: \nLocals: x3:function::X3 x1:function::X1 \n DECLARE_LOCALS(&return,&x3,&x1); [line 63, column 1]\n " color=yellow style=filled] @@ -90,28 +112,6 @@ digraph cfg { "div1_get_val#function#3554411408849091151.45cb38d8fc35a6b2cdc1f63de85d2e51_5" -> "div1_get_val#function#3554411408849091151.45cb38d8fc35a6b2cdc1f63de85d2e51_4" ; -"div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_1" [label="1: Start function::div0_create_and_get_val\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 69, column 1]\n " color=yellow style=filled] - - - "div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_1" -> "div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_3" ; -"div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_2" [label="2: Exit function::div0_create_and_get_val \n " color=yellow style=filled] - - -"div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_3" [label="3: Return Stmt \n n$0=_fun_function::createAndGetVal() [line 70, column 10]\n n$1=_fun_function::createAndGetVal() [line 70, column 34]\n *&return:int=(n$0 / n$1) [line 70, column 3]\n " shape="box"] - - - "div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_3" -> "div0_create_and_get_val#function#10435269887260132003.1e3aa28edfcd43ce252fdb21067574b3_2" ; -"div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_1" [label="1: Start function::div1_create_and_get_val\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 73, column 1]\n " color=yellow style=filled] - - - "div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_1" -> "div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_3" ; -"div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_2" [label="2: Exit function::div1_create_and_get_val \n " color=yellow style=filled] - - -"div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_3" [label="3: Return Stmt \n n$0=_fun_function::createAndGetVal() [line 74, column 10]\n n$1=_fun_function::createAndGetVal() [line 74, column 34]\n *&return:int=(n$0 / n$1) [line 74, column 3]\n " shape="box"] - - - "div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_3" -> "div1_create_and_get_val#function#14376724289073099234.7b46bfd9e19b7d3885bef77d1720d502_2" ; "getVal#function#7262186352585196534.81220c6f833b74aa2acc9c6411bc9ace_1" [label="1: Start function::getVal\nFormals: x:function::X1&\nLocals: \n DECLARE_LOCALS(&return); [line 25, column 1]\n " color=yellow style=filled] @@ -134,17 +134,6 @@ digraph cfg { "getVal#function#11471061758976940952.6757c257541624a6e94e7b3c73ff8246_3" -> "getVal#function#11471061758976940952.6757c257541624a6e94e7b3c73ff8246_2" ; -"getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_1" [label="1: Start function::X1_getVal\nFormals: this:function::X1*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] - - - "getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_1" -> "getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_3" ; -"getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_2" [label="2: Exit function::X1_getVal \n " color=yellow style=filled] - - -"getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_3" [label="3: Return Stmt \n *&return:int=1 [line 13, column 18]\n " shape="box"] - - - "getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_3" -> "getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_2" ; "X1#X1#function#{8268447282679134664|constexpr}.0745429c26350d2b5e4ccb089a75cca3_1" [label="1: Start function::X1_X1\nFormals: this:function::X1*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] @@ -152,17 +141,13 @@ digraph cfg { "X1#X1#function#{8268447282679134664|constexpr}.0745429c26350d2b5e4ccb089a75cca3_2" [label="2: Exit function::X1_X1 \n " color=yellow style=filled] -"getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_1" [label="1: Start function::X2_getVal\nFormals: this:function::X2*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] - - - "getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_1" -> "getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_3" ; -"getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_2" [label="2: Exit function::X2_getVal \n " color=yellow style=filled] +"X3#X3#function#{16145958216423895430|constexpr}.a7ec9df001ac855b3f6c0a5993984a6d_1" [label="1: Start function::X3_X3\nFormals: this:function::X3*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 8]\n " color=yellow style=filled] -"getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_3" [label="3: Return Stmt \n *&return:int=0 [line 17, column 18]\n " shape="box"] + "X3#X3#function#{16145958216423895430|constexpr}.a7ec9df001ac855b3f6c0a5993984a6d_1" -> "X3#X3#function#{16145958216423895430|constexpr}.a7ec9df001ac855b3f6c0a5993984a6d_2" ; +"X3#X3#function#{16145958216423895430|constexpr}.a7ec9df001ac855b3f6c0a5993984a6d_2" [label="2: Exit function::X3_X3 \n " color=yellow style=filled] - "getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_3" -> "getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_2" ; "get#X3#function#(14294522720635572005).f8ff5924ea2973135dd3eed8a26cb671_1" [label="1: Start function::X3_get\nFormals: this:function::X3*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 3]\n " color=yellow style=filled] @@ -174,11 +159,26 @@ digraph cfg { "get#X3#function#(14294522720635572005).f8ff5924ea2973135dd3eed8a26cb671_3" -> "get#X3#function#(14294522720635572005).f8ff5924ea2973135dd3eed8a26cb671_2" ; -"X3#X3#function#{16145958216423895430|constexpr}.a7ec9df001ac855b3f6c0a5993984a6d_1" [label="1: Start function::X3_X3\nFormals: this:function::X3*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 8]\n " color=yellow style=filled] +"getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_1" [label="1: Start function::X1_getVal\nFormals: this:function::X1*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] - "X3#X3#function#{16145958216423895430|constexpr}.a7ec9df001ac855b3f6c0a5993984a6d_1" -> "X3#X3#function#{16145958216423895430|constexpr}.a7ec9df001ac855b3f6c0a5993984a6d_2" ; -"X3#X3#function#{16145958216423895430|constexpr}.a7ec9df001ac855b3f6c0a5993984a6d_2" [label="2: Exit function::X3_X3 \n " color=yellow style=filled] + "getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_1" -> "getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_3" ; +"getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_2" [label="2: Exit function::X1_getVal \n " color=yellow style=filled] +"getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_3" [label="3: Return Stmt \n *&return:int=1 [line 13, column 18]\n " shape="box"] + + + "getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_3" -> "getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_2" ; +"getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_1" [label="1: Start function::X2_getVal\nFormals: this:function::X2*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] + + + "getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_1" -> "getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_3" ; +"getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_2" [label="2: Exit function::X2_getVal \n " color=yellow style=filled] + + +"getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_3" [label="3: Return Stmt \n *&return:int=0 [line 17, column 18]\n " shape="box"] + + + "getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_3" -> "getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/templates/function_pack.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/templates/function_pack.cpp.dot index 9c02d7802..774ed6eee 100644 --- a/infer/tests/codetoanalyze/cpp/shared/templates/function_pack.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/templates/function_pack.cpp.dot @@ -1,5 +1,27 @@ /* @generated */ digraph cfg { +"div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_1" [label="1: Start div\nFormals: d:int\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 1]\n " color=yellow style=filled] + + + "div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_1" -> "div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_3" ; +"div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_2" [label="2: Exit div \n " color=yellow style=filled] + + +"div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_3" [label="3: Return Stmt \n n$0=*&d:int [line 11, column 29]\n *&return:int=(1 / n$0) [line 11, column 18]\n " shape="box"] + + + "div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_3" -> "div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_2" ; +"div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_1" [label="1: Start div0_10args\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 23, column 1]\n " color=yellow style=filled] + + + "div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_1" -> "div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_3" ; +"div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_2" [label="2: Exit div0_10args \n " color=yellow style=filled] + + +"div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_3" [label="3: Return Stmt \n n$0=_fun_div<5ae447456b906d06>(1:int,2:int,3:int,4:int,5:int,6:int,7:int,0:int,9:int,10:int) [line 23, column 28]\n *&return:int=n$0 [line 23, column 21]\n " shape="box"] + + + "div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_3" -> "div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_2" ; "div0_1arg#8396809931617150800.6140bce2d0bf65a5e0ac14dc05241b15_1" [label="1: Start div0_1arg\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 17, column 1]\n " color=yellow style=filled] @@ -55,83 +77,61 @@ digraph cfg { "div0_3args4#7893267800332959494.6d072652fd38db05107348f63ee1b93a_3" -> "div0_3args4#7893267800332959494.6d072652fd38db05107348f63ee1b93a_2" ; -"div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_1" [label="1: Start div0_10args\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 23, column 1]\n " color=yellow style=filled] - - - "div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_1" -> "div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_3" ; -"div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_2" [label="2: Exit div0_10args \n " color=yellow style=filled] - - -"div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_3" [label="3: Return Stmt \n n$0=_fun_div<5ae447456b906d06>(1:int,2:int,3:int,4:int,5:int,6:int,7:int,0:int,9:int,10:int) [line 23, column 28]\n *&return:int=n$0 [line 23, column 21]\n " shape="box"] - - - "div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_3" -> "div0_10args#8060380451222357434.5d5e3d9d8aac7888fdc317b8bad53f34_2" ; -"no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_1" [label="1: Start no_div0_3_args\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 25, column 1]\n " color=yellow style=filled] - - - "no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_1" -> "no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_3" ; -"no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_2" [label="2: Exit no_div0_3_args \n " color=yellow style=filled] - - -"no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_3" [label="3: Return Stmt \n n$0=_fun_div(1:int,2:int,3:int) [line 25, column 31]\n *&return:int=n$0 [line 25, column 24]\n " shape="box"] - - - "no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_3" -> "no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_2" ; -"no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_1" [label="1: Start no_div0_10args\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] +"div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_1" [label="1: Start div<5ae447456b906d06>\nFormals: v:int args:int args:int args:int args:int args:int args:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] - "no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_1" -> "no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_3" ; -"no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_2" [label="2: Exit no_div0_10args \n " color=yellow style=filled] + "div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_1" -> "div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_3" ; +"div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_2" [label="2: Exit div<5ae447456b906d06> \n " color=yellow style=filled] -"no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_3" [label="3: Return Stmt \n n$0=_fun_div<5ae447456b906d06>(1:int,2:int,3:int,4:int,5:int,6:int,7:int,8:int,9:int,10:int) [line 26, column 31]\n *&return:int=n$0 [line 26, column 24]\n " shape="box"] +"div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=*&args:int [line 14, column 22]\n n$5=*&args:int [line 14, column 22]\n n$6=*&args:int [line 14, column 22]\n n$7=*&args:int [line 14, column 22]\n n$8=*&args:int [line 14, column 22]\n n$9=*&args:int [line 14, column 22]\n n$10=_fun_div(n$1:int,n$2:int,n$3:int,n$4:int,n$5:int,n$6:int,n$7:int,n$8:int,n$9:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$10) [line 14, column 3]\n " shape="box"] - "no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_3" -> "no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_2" ; -"div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_1" [label="1: Start div\nFormals: d:int\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 1]\n " color=yellow style=filled] + "div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_3" -> "div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_2" ; +"div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_1" [label="1: Start div\nFormals: v:int args:int args:int args:int args:int args:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] - "div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_1" -> "div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_3" ; -"div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_2" [label="2: Exit div \n " color=yellow style=filled] + "div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_1" -> "div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_3" ; +"div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_2" [label="2: Exit div \n " color=yellow style=filled] -"div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_3" [label="3: Return Stmt \n n$0=*&d:int [line 11, column 29]\n *&return:int=(1 / n$0) [line 11, column 18]\n " shape="box"] +"div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=*&args:int [line 14, column 22]\n n$5=*&args:int [line 14, column 22]\n n$6=*&args:int [line 14, column 22]\n n$7=*&args:int [line 14, column 22]\n n$8=*&args:int [line 14, column 22]\n n$9=_fun_div(n$1:int,n$2:int,n$3:int,n$4:int,n$5:int,n$6:int,n$7:int,n$8:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$9) [line 14, column 3]\n " shape="box"] - "div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_3" -> "div#939704114457859019.e5abef53fc8ff782b87b6a9041fd5e9a_2" ; -"div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_1" [label="1: Start div\nFormals: v:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] + "div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_3" -> "div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_2" ; +"div#6206795879557593257.947579aeef725938370fdf2599d7b021_1" [label="1: Start div\nFormals: v:int args:int args:int args:int args:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] - "div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_1" -> "div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_3" ; -"div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_2" [label="2: Exit div \n " color=yellow style=filled] + "div#6206795879557593257.947579aeef725938370fdf2599d7b021_1" -> "div#6206795879557593257.947579aeef725938370fdf2599d7b021_3" ; +"div#6206795879557593257.947579aeef725938370fdf2599d7b021_2" [label="2: Exit div \n " color=yellow style=filled] -"div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=_fun_div(n$1:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$2) [line 14, column 3]\n " shape="box"] +"div#6206795879557593257.947579aeef725938370fdf2599d7b021_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=*&args:int [line 14, column 22]\n n$5=*&args:int [line 14, column 22]\n n$6=*&args:int [line 14, column 22]\n n$7=*&args:int [line 14, column 22]\n n$8=_fun_div(n$1:int,n$2:int,n$3:int,n$4:int,n$5:int,n$6:int,n$7:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$8) [line 14, column 3]\n " shape="box"] - "div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_3" -> "div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_2" ; -"div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_1" [label="1: Start div\nFormals: v:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] + "div#6206795879557593257.947579aeef725938370fdf2599d7b021_3" -> "div#6206795879557593257.947579aeef725938370fdf2599d7b021_2" ; +"div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_1" [label="1: Start div\nFormals: v:int args:int args:int args:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] - "div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_1" -> "div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_3" ; -"div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_2" [label="2: Exit div \n " color=yellow style=filled] + "div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_1" -> "div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_3" ; +"div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_2" [label="2: Exit div \n " color=yellow style=filled] -"div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=_fun_div(n$1:int,n$2:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$3) [line 14, column 3]\n " shape="box"] +"div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=*&args:int [line 14, column 22]\n n$5=*&args:int [line 14, column 22]\n n$6=*&args:int [line 14, column 22]\n n$7=_fun_div(n$1:int,n$2:int,n$3:int,n$4:int,n$5:int,n$6:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$7) [line 14, column 3]\n " shape="box"] - "div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_3" -> "div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_2" ; -"div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_1" [label="1: Start div\nFormals: v:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] + "div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_3" -> "div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_2" ; +"div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_1" [label="1: Start div\nFormals: v:int args:int args:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] - "div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_1" -> "div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_3" ; -"div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_2" [label="2: Exit div \n " color=yellow style=filled] + "div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_1" -> "div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_3" ; +"div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_2" [label="2: Exit div \n " color=yellow style=filled] -"div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=_fun_div(n$1:int,n$2:int,n$3:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$4) [line 14, column 3]\n " shape="box"] +"div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=*&args:int [line 14, column 22]\n n$5=*&args:int [line 14, column 22]\n n$6=_fun_div(n$1:int,n$2:int,n$3:int,n$4:int,n$5:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$6) [line 14, column 3]\n " shape="box"] - "div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_3" -> "div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_2" ; + "div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_3" -> "div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_2" ; "div#8757625089851425298.b2435e522727548b9dd98f01f659493d_1" [label="1: Start div\nFormals: v:int args:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] @@ -143,59 +143,59 @@ digraph cfg { "div#8757625089851425298.b2435e522727548b9dd98f01f659493d_3" -> "div#8757625089851425298.b2435e522727548b9dd98f01f659493d_2" ; -"div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_1" [label="1: Start div\nFormals: v:int args:int args:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] +"div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_1" [label="1: Start div\nFormals: v:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] - "div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_1" -> "div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_3" ; -"div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_2" [label="2: Exit div \n " color=yellow style=filled] + "div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_1" -> "div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_3" ; +"div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_2" [label="2: Exit div \n " color=yellow style=filled] -"div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=*&args:int [line 14, column 22]\n n$5=*&args:int [line 14, column 22]\n n$6=_fun_div(n$1:int,n$2:int,n$3:int,n$4:int,n$5:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$6) [line 14, column 3]\n " shape="box"] +"div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=_fun_div(n$1:int,n$2:int,n$3:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$4) [line 14, column 3]\n " shape="box"] - "div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_3" -> "div#5076243118329059791.a386b7ce634391a0b6d23e04590e10f7_2" ; -"div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_1" [label="1: Start div\nFormals: v:int args:int args:int args:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] + "div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_3" -> "div#6808557750472602405.0771eddf16547fd3a5d483a3bde846ec_2" ; +"div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_1" [label="1: Start div\nFormals: v:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] - "div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_1" -> "div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_3" ; -"div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_2" [label="2: Exit div \n " color=yellow style=filled] + "div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_1" -> "div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_3" ; +"div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_2" [label="2: Exit div \n " color=yellow style=filled] -"div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=*&args:int [line 14, column 22]\n n$5=*&args:int [line 14, column 22]\n n$6=*&args:int [line 14, column 22]\n n$7=_fun_div(n$1:int,n$2:int,n$3:int,n$4:int,n$5:int,n$6:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$7) [line 14, column 3]\n " shape="box"] +"div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=_fun_div(n$1:int,n$2:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$3) [line 14, column 3]\n " shape="box"] - "div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_3" -> "div#3336039933926765080.205c84e7d2493ff784c3c896709c77b5_2" ; -"div#6206795879557593257.947579aeef725938370fdf2599d7b021_1" [label="1: Start div\nFormals: v:int args:int args:int args:int args:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] + "div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_3" -> "div#9554349413120774508.47a551956d899936159a9bcecb2ac6f8_2" ; +"div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_1" [label="1: Start div\nFormals: v:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] - "div#6206795879557593257.947579aeef725938370fdf2599d7b021_1" -> "div#6206795879557593257.947579aeef725938370fdf2599d7b021_3" ; -"div#6206795879557593257.947579aeef725938370fdf2599d7b021_2" [label="2: Exit div \n " color=yellow style=filled] + "div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_1" -> "div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_3" ; +"div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_2" [label="2: Exit div \n " color=yellow style=filled] -"div#6206795879557593257.947579aeef725938370fdf2599d7b021_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=*&args:int [line 14, column 22]\n n$5=*&args:int [line 14, column 22]\n n$6=*&args:int [line 14, column 22]\n n$7=*&args:int [line 14, column 22]\n n$8=_fun_div(n$1:int,n$2:int,n$3:int,n$4:int,n$5:int,n$6:int,n$7:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$8) [line 14, column 3]\n " shape="box"] +"div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=_fun_div(n$1:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$2) [line 14, column 3]\n " shape="box"] - "div#6206795879557593257.947579aeef725938370fdf2599d7b021_3" -> "div#6206795879557593257.947579aeef725938370fdf2599d7b021_2" ; -"div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_1" [label="1: Start div\nFormals: v:int args:int args:int args:int args:int args:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] + "div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_3" -> "div#3427454070930604315.a63095b54e874547d61f722fd3ac0e3d_2" ; +"no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_1" [label="1: Start no_div0_10args\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] - "div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_1" -> "div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_3" ; -"div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_2" [label="2: Exit div \n " color=yellow style=filled] + "no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_1" -> "no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_3" ; +"no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_2" [label="2: Exit no_div0_10args \n " color=yellow style=filled] -"div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=*&args:int [line 14, column 22]\n n$5=*&args:int [line 14, column 22]\n n$6=*&args:int [line 14, column 22]\n n$7=*&args:int [line 14, column 22]\n n$8=*&args:int [line 14, column 22]\n n$9=_fun_div(n$1:int,n$2:int,n$3:int,n$4:int,n$5:int,n$6:int,n$7:int,n$8:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$9) [line 14, column 3]\n " shape="box"] +"no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_3" [label="3: Return Stmt \n n$0=_fun_div<5ae447456b906d06>(1:int,2:int,3:int,4:int,5:int,6:int,7:int,8:int,9:int,10:int) [line 26, column 31]\n *&return:int=n$0 [line 26, column 24]\n " shape="box"] - "div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_3" -> "div#13538112871773045902.edabdd6d501cca67b2efc95f4b62c47c_2" ; -"div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_1" [label="1: Start div<5ae447456b906d06>\nFormals: v:int args:int args:int args:int args:int args:int args:int args:int args:int args:int\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 1]\n " color=yellow style=filled] + "no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_3" -> "no_div0_10args#17558686169582292843.344d82e7f0635a50a510c9184e41cf57_2" ; +"no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_1" [label="1: Start no_div0_3_args\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 25, column 1]\n " color=yellow style=filled] - "div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_1" -> "div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_3" ; -"div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_2" [label="2: Exit div<5ae447456b906d06> \n " color=yellow style=filled] + "no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_1" -> "no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_3" ; +"no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_2" [label="2: Exit no_div0_3_args \n " color=yellow style=filled] -"div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 14]\n n$1=*&args:int [line 14, column 22]\n n$2=*&args:int [line 14, column 22]\n n$3=*&args:int [line 14, column 22]\n n$4=*&args:int [line 14, column 22]\n n$5=*&args:int [line 14, column 22]\n n$6=*&args:int [line 14, column 22]\n n$7=*&args:int [line 14, column 22]\n n$8=*&args:int [line 14, column 22]\n n$9=*&args:int [line 14, column 22]\n n$10=_fun_div(n$1:int,n$2:int,n$3:int,n$4:int,n$5:int,n$6:int,n$7:int,n$8:int,n$9:int) [line 14, column 18]\n *&return:int=((1 / n$0) + n$10) [line 14, column 3]\n " shape="box"] +"no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_3" [label="3: Return Stmt \n n$0=_fun_div(1:int,2:int,3:int) [line 25, column 31]\n *&return:int=n$0 [line 25, column 24]\n " shape="box"] - "div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_3" -> "div<5ae447456b906d06>#12298750679068733123.dd4ff2f9113143f49a67d69f1e7c59b7_2" ; + "no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_3" -> "no_div0_3_args#17583117370113944842.458cf17f8d452c5c6e23fed0e741bf03_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/templates/method.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/templates/method.cpp.dot index ca9821010..a195bf9d6 100644 --- a/infer/tests/codetoanalyze/cpp/shared/templates/method.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/templates/method.cpp.dot @@ -19,25 +19,6 @@ digraph cfg { "div0_getter#method#14570248362286164751.5f9f1e67fd1ac95f6c38eb7d407ea9ec_5" -> "div0_getter#method#14570248362286164751.5f9f1e67fd1ac95f6c38eb7d407ea9ec_4" ; -"div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_1" [label="1: Start method::div1_getter\nFormals: \nLocals: g:method::Getter x1:method::X1 \n DECLARE_LOCALS(&return,&g,&x1); [line 45, column 1]\n " color=yellow style=filled] - - - "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_1" -> "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_5" ; -"div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_2" [label="2: Exit method::div1_getter \n " color=yellow style=filled] - - -"div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_3" [label="3: Return Stmt \n _=*&g:method::Getter [line 48, column 14]\n n$1=_fun_method::Getter_get(&g:method::Getter&,&x1:method::X1&) [line 48, column 14]\n *&return:int=(1 / n$1) [line 48, column 3]\n " shape="box"] - - - "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_3" -> "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_2" ; -"div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_4" [label="4: DeclStmt \n _fun_method::Getter_Getter(&g:method::Getter*) [line 47, column 10]\n " shape="box"] - - - "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_4" -> "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_3" ; -"div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_5" [label="5: DeclStmt \n _fun_method::X1_X1(&x1:method::X1*) [line 46, column 6]\n " shape="box"] - - - "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_5" -> "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_4" ; "div0_getter_templ#method#6375326311998023520.359f49fd177ddd10abb56481c8c0c0e0_1" [label="1: Start method::div0_getter_templ\nFormals: \nLocals: g:method::GetterTempl x3:method::X3 x2:method::X2 \n DECLARE_LOCALS(&return,&g,&x3,&x2); [line 51, column 1]\n " color=yellow style=filled] @@ -84,6 +65,25 @@ digraph cfg { "div0_getter_templ2#method#6451937884879872417.49c23913cff8a0a59e8e2158ec845f0c_6" -> "div0_getter_templ2#method#6451937884879872417.49c23913cff8a0a59e8e2158ec845f0c_5" ; +"div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_1" [label="1: Start method::div1_getter\nFormals: \nLocals: g:method::Getter x1:method::X1 \n DECLARE_LOCALS(&return,&g,&x1); [line 45, column 1]\n " color=yellow style=filled] + + + "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_1" -> "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_5" ; +"div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_2" [label="2: Exit method::div1_getter \n " color=yellow style=filled] + + +"div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_3" [label="3: Return Stmt \n _=*&g:method::Getter [line 48, column 14]\n n$1=_fun_method::Getter_get(&g:method::Getter&,&x1:method::X1&) [line 48, column 14]\n *&return:int=(1 / n$1) [line 48, column 3]\n " shape="box"] + + + "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_3" -> "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_2" ; +"div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_4" [label="4: DeclStmt \n _fun_method::Getter_Getter(&g:method::Getter*) [line 47, column 10]\n " shape="box"] + + + "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_4" -> "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_3" ; +"div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_5" [label="5: DeclStmt \n _fun_method::X1_X1(&x1:method::X1*) [line 46, column 6]\n " shape="box"] + + + "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_5" -> "div1_getter#method#14010655706182645930.dfb00d82a62eb9bd9507d251472215d9_4" ; "div1_getter_templ#method#11958064193628013457.8a8112afb18681951fdb43c93893e0c5_1" [label="1: Start method::div1_getter_templ\nFormals: \nLocals: g:method::GetterTempl x2:method::X2 x1:method::X1 \n DECLARE_LOCALS(&return,&g,&x2,&x1); [line 65, column 1]\n " color=yellow style=filled] @@ -137,145 +137,145 @@ digraph cfg { "Getter#Getter#method#{6538771732485235037|constexpr}.4e1a7679a514fd95621c9e075c8974f6_2" [label="2: Exit method::Getter_Getter \n " color=yellow style=filled] -"get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_1" [label="1: Start method::Getter_get\nFormals: this:method::Getter* s:method::X1&\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 3]\n " color=yellow style=filled] +"GetterTempl#GetterTempl#method#{11902154262179469385|constexpr}.419d9b7f14a1b25d173f0430e77d8bfb_1" [label="1: Start method::GetterTempl_GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 8]\n " color=yellow style=filled] - "get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_1" -> "get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_3" ; -"get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_2" [label="2: Exit method::Getter_get \n " color=yellow style=filled] + "GetterTempl#GetterTempl#method#{11902154262179469385|constexpr}.419d9b7f14a1b25d173f0430e77d8bfb_1" -> "GetterTempl#GetterTempl#method#{11902154262179469385|constexpr}.419d9b7f14a1b25d173f0430e77d8bfb_2" ; +"GetterTempl#GetterTempl#method#{11902154262179469385|constexpr}.419d9b7f14a1b25d173f0430e77d8bfb_2" [label="2: Exit method::GetterTempl_GetterTempl \n " color=yellow style=filled] -"get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_3" [label="3: Return Stmt \n n$0=*&s:method::X1& [line 27, column 12]\n _=*n$0:method::X1 [line 27, column 12]\n n$2=_fun_method::X1_get(n$0:method::X1&) [line 27, column 12]\n *&return:int=n$2 [line 27, column 5]\n " shape="box"] +"GetterTempl#GetterTempl#method#{18312978847092644663|constexpr}.45498dd9c6ecdd204d778582a0198bd9_1" [label="1: Start method::GetterTempl_GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 8]\n " color=yellow style=filled] - "get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_3" -> "get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_2" ; -"get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_1" [label="1: Start method::Getter_get\nFormals: this:method::Getter* s:method::X2&\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 3]\n " color=yellow style=filled] + "GetterTempl#GetterTempl#method#{18312978847092644663|constexpr}.45498dd9c6ecdd204d778582a0198bd9_1" -> "GetterTempl#GetterTempl#method#{18312978847092644663|constexpr}.45498dd9c6ecdd204d778582a0198bd9_2" ; +"GetterTempl#GetterTempl#method#{18312978847092644663|constexpr}.45498dd9c6ecdd204d778582a0198bd9_2" [label="2: Exit method::GetterTempl_GetterTempl \n " color=yellow style=filled] - "get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_1" -> "get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_3" ; -"get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_2" [label="2: Exit method::Getter_get \n " color=yellow style=filled] +"GetterTempl#GetterTempl#method#{13405882915250525948|constexpr}.eb82a5c0e827f04da7e438cdbeef1353_1" [label="1: Start method::GetterTempl_GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 8]\n " color=yellow style=filled] -"get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_3" [label="3: Return Stmt \n n$0=*&s:method::X2& [line 27, column 12]\n _=*n$0:method::X2 [line 27, column 12]\n n$2=_fun_method::X2_get(n$0:method::X2&) [line 27, column 12]\n *&return:int=n$2 [line 27, column 5]\n " shape="box"] + "GetterTempl#GetterTempl#method#{13405882915250525948|constexpr}.eb82a5c0e827f04da7e438cdbeef1353_1" -> "GetterTempl#GetterTempl#method#{13405882915250525948|constexpr}.eb82a5c0e827f04da7e438cdbeef1353_2" ; +"GetterTempl#GetterTempl#method#{13405882915250525948|constexpr}.eb82a5c0e827f04da7e438cdbeef1353_2" [label="2: Exit method::GetterTempl_GetterTempl \n " color=yellow style=filled] - "get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_3" -> "get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_2" ; -"GetterTempl#GetterTempl#method#{11902154262179469385|constexpr}.419d9b7f14a1b25d173f0430e77d8bfb_1" [label="1: Start method::GetterTempl_GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 8]\n " color=yellow style=filled] +"X1#X1#method#{8420971029337099969|constexpr}.8e02b6260f5b71b6111249d54e85e5c8_1" [label="1: Start method::X1_X1\nFormals: this:method::X1*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] - "GetterTempl#GetterTempl#method#{11902154262179469385|constexpr}.419d9b7f14a1b25d173f0430e77d8bfb_1" -> "GetterTempl#GetterTempl#method#{11902154262179469385|constexpr}.419d9b7f14a1b25d173f0430e77d8bfb_2" ; -"GetterTempl#GetterTempl#method#{11902154262179469385|constexpr}.419d9b7f14a1b25d173f0430e77d8bfb_2" [label="2: Exit method::GetterTempl_GetterTempl \n " color=yellow style=filled] + "X1#X1#method#{8420971029337099969|constexpr}.8e02b6260f5b71b6111249d54e85e5c8_1" -> "X1#X1#method#{8420971029337099969|constexpr}.8e02b6260f5b71b6111249d54e85e5c8_2" ; +"X1#X1#method#{8420971029337099969|constexpr}.8e02b6260f5b71b6111249d54e85e5c8_2" [label="2: Exit method::X1_X1 \n " color=yellow style=filled] -"get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_1" [label="1: Start method::GetterTempl_get\nFormals: this:method::GetterTempl* t:method::X1& s:method::X1&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 3]\n " color=yellow style=filled] +"X2#X2#method#{4336714802122402348|constexpr}.917ee3865c4e917429f86bc2ade48e3a_1" [label="1: Start method::X2_X2\nFormals: this:method::X2*\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 8]\n " color=yellow style=filled] - "get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_1" -> "get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_3" ; -"get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_2" [label="2: Exit method::GetterTempl_get \n " color=yellow style=filled] + "X2#X2#method#{4336714802122402348|constexpr}.917ee3865c4e917429f86bc2ade48e3a_1" -> "X2#X2#method#{4336714802122402348|constexpr}.917ee3865c4e917429f86bc2ade48e3a_2" ; +"X2#X2#method#{4336714802122402348|constexpr}.917ee3865c4e917429f86bc2ade48e3a_2" [label="2: Exit method::X2_X2 \n " color=yellow style=filled] -"get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_3" [label="3: Return Stmt \n n$0=*&t:method::X1& [line 35, column 12]\n _=*n$0:method::X1 [line 35, column 12]\n n$2=_fun_method::X1_get(n$0:method::X1&) [line 35, column 12]\n n$3=*&s:method::X1& [line 35, column 22]\n _=*n$3:method::X1 [line 35, column 22]\n n$5=_fun_method::X1_get(n$3:method::X1&) [line 35, column 22]\n *&return:int=(n$2 + n$5) [line 35, column 5]\n " shape="box"] +"X3#X3#method#{15810469599489961747|constexpr}.84155345220e181916e4d12f0c8086cb_1" [label="1: Start method::X3_X3\nFormals: this:method::X3*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 8]\n " color=yellow style=filled] - "get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_3" -> "get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_2" ; -"GetterTempl#GetterTempl#method#{18312978847092644663|constexpr}.45498dd9c6ecdd204d778582a0198bd9_1" [label="1: Start method::GetterTempl_GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 8]\n " color=yellow style=filled] + "X3#X3#method#{15810469599489961747|constexpr}.84155345220e181916e4d12f0c8086cb_1" -> "X3#X3#method#{15810469599489961747|constexpr}.84155345220e181916e4d12f0c8086cb_2" ; +"X3#X3#method#{15810469599489961747|constexpr}.84155345220e181916e4d12f0c8086cb_2" [label="2: Exit method::X3_X3 \n " color=yellow style=filled] - "GetterTempl#GetterTempl#method#{18312978847092644663|constexpr}.45498dd9c6ecdd204d778582a0198bd9_1" -> "GetterTempl#GetterTempl#method#{18312978847092644663|constexpr}.45498dd9c6ecdd204d778582a0198bd9_2" ; -"GetterTempl#GetterTempl#method#{18312978847092644663|constexpr}.45498dd9c6ecdd204d778582a0198bd9_2" [label="2: Exit method::GetterTempl_GetterTempl \n " color=yellow style=filled] +"get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_1" [label="1: Start method::X1_get\nFormals: this:method::X1*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] -"get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_1" [label="1: Start method::GetterTempl_get\nFormals: this:method::GetterTempl* t:method::X3& s:method::X2&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 3]\n " color=yellow style=filled] + "get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_1" -> "get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_3" ; +"get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_2" [label="2: Exit method::X1_get \n " color=yellow style=filled] - "get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_1" -> "get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_3" ; -"get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_2" [label="2: Exit method::GetterTempl_get \n " color=yellow style=filled] +"get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_3" [label="3: Return Stmt \n *&return:int=1 [line 13, column 15]\n " shape="box"] -"get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_3" [label="3: Return Stmt \n n$0=*&t:method::X3& [line 35, column 12]\n _=*n$0:method::X3 [line 35, column 12]\n n$2=_fun_method::X3_get(n$0:method::X3&) [line 35, column 12]\n n$3=*&s:method::X2& [line 35, column 22]\n _=*n$3:method::X2 [line 35, column 22]\n n$5=_fun_method::X2_get(n$3:method::X2&) [line 35, column 22]\n *&return:int=(n$2 + n$5) [line 35, column 5]\n " shape="box"] + "get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_3" -> "get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_2" ; +"get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_1" [label="1: Start method::X2_get\nFormals: this:method::X2*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] - "get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_3" -> "get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_2" ; -"GetterTempl#GetterTempl#method#{13405882915250525948|constexpr}.eb82a5c0e827f04da7e438cdbeef1353_1" [label="1: Start method::GetterTempl_GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 8]\n " color=yellow style=filled] + "get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_1" -> "get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_3" ; +"get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_2" [label="2: Exit method::X2_get \n " color=yellow style=filled] - "GetterTempl#GetterTempl#method#{13405882915250525948|constexpr}.eb82a5c0e827f04da7e438cdbeef1353_1" -> "GetterTempl#GetterTempl#method#{13405882915250525948|constexpr}.eb82a5c0e827f04da7e438cdbeef1353_2" ; -"GetterTempl#GetterTempl#method#{13405882915250525948|constexpr}.eb82a5c0e827f04da7e438cdbeef1353_2" [label="2: Exit method::GetterTempl_GetterTempl \n " color=yellow style=filled] +"get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_3" [label="3: Return Stmt \n *&return:int=0 [line 17, column 15]\n " shape="box"] -"get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_1" [label="1: Start method::GetterTempl_get\nFormals: this:method::GetterTempl* t:method::X2& s:method::X1&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 3]\n " color=yellow style=filled] + "get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_3" -> "get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_2" ; +"get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_1" [label="1: Start method::X3_get\nFormals: this:method::X3*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 3]\n " color=yellow style=filled] - "get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_1" -> "get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_3" ; -"get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_2" [label="2: Exit method::GetterTempl_get \n " color=yellow style=filled] + "get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_1" -> "get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_3" ; +"get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_2" [label="2: Exit method::X3_get \n " color=yellow style=filled] -"get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_3" [label="3: Return Stmt \n n$0=*&t:method::X2& [line 35, column 12]\n _=*n$0:method::X2 [line 35, column 12]\n n$2=_fun_method::X2_get(n$0:method::X2&) [line 35, column 12]\n n$3=*&s:method::X1& [line 35, column 22]\n _=*n$3:method::X1 [line 35, column 22]\n n$5=_fun_method::X1_get(n$3:method::X1&) [line 35, column 22]\n *&return:int=(n$2 + n$5) [line 35, column 5]\n " shape="box"] +"get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_3" [label="3: Return Stmt \n *&return:int=0 [line 21, column 15]\n " shape="box"] - "get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_3" -> "get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_2" ; -"get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_1" [label="1: Start method::GetterTempl_get\nFormals: this:method::GetterTempl* t:method::X2& s:method::X2&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 3]\n " color=yellow style=filled] + "get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_3" -> "get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_2" ; +"get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_1" [label="1: Start method::Getter_get\nFormals: this:method::Getter* s:method::X1&\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 3]\n " color=yellow style=filled] - "get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_1" -> "get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_3" ; -"get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_2" [label="2: Exit method::GetterTempl_get \n " color=yellow style=filled] + "get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_1" -> "get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_3" ; +"get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_2" [label="2: Exit method::Getter_get \n " color=yellow style=filled] -"get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_3" [label="3: Return Stmt \n n$0=*&t:method::X2& [line 35, column 12]\n _=*n$0:method::X2 [line 35, column 12]\n n$2=_fun_method::X2_get(n$0:method::X2&) [line 35, column 12]\n n$3=*&s:method::X2& [line 35, column 22]\n _=*n$3:method::X2 [line 35, column 22]\n n$5=_fun_method::X2_get(n$3:method::X2&) [line 35, column 22]\n *&return:int=(n$2 + n$5) [line 35, column 5]\n " shape="box"] +"get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_3" [label="3: Return Stmt \n n$0=*&s:method::X1& [line 27, column 12]\n _=*n$0:method::X1 [line 27, column 12]\n n$2=_fun_method::X1_get(n$0:method::X1&) [line 27, column 12]\n *&return:int=n$2 [line 27, column 5]\n " shape="box"] - "get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_3" -> "get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_2" ; -"get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_1" [label="1: Start method::X1_get\nFormals: this:method::X1*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 3]\n " color=yellow style=filled] + "get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_3" -> "get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_2" ; +"get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_1" [label="1: Start method::GetterTempl_get\nFormals: this:method::GetterTempl* t:method::X1& s:method::X1&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 3]\n " color=yellow style=filled] - "get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_1" -> "get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_3" ; -"get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_2" [label="2: Exit method::X1_get \n " color=yellow style=filled] + "get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_1" -> "get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_3" ; +"get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_2" [label="2: Exit method::GetterTempl_get \n " color=yellow style=filled] -"get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_3" [label="3: Return Stmt \n *&return:int=1 [line 13, column 15]\n " shape="box"] +"get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_3" [label="3: Return Stmt \n n$0=*&t:method::X1& [line 35, column 12]\n _=*n$0:method::X1 [line 35, column 12]\n n$2=_fun_method::X1_get(n$0:method::X1&) [line 35, column 12]\n n$3=*&s:method::X1& [line 35, column 22]\n _=*n$3:method::X1 [line 35, column 22]\n n$5=_fun_method::X1_get(n$3:method::X1&) [line 35, column 22]\n *&return:int=(n$2 + n$5) [line 35, column 5]\n " shape="box"] - "get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_3" -> "get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_2" ; -"X1#X1#method#{8420971029337099969|constexpr}.8e02b6260f5b71b6111249d54e85e5c8_1" [label="1: Start method::X1_X1\nFormals: this:method::X1*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] + "get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_3" -> "get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_2" ; +"get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_1" [label="1: Start method::GetterTempl_get\nFormals: this:method::GetterTempl* t:method::X2& s:method::X1&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 3]\n " color=yellow style=filled] - "X1#X1#method#{8420971029337099969|constexpr}.8e02b6260f5b71b6111249d54e85e5c8_1" -> "X1#X1#method#{8420971029337099969|constexpr}.8e02b6260f5b71b6111249d54e85e5c8_2" ; -"X1#X1#method#{8420971029337099969|constexpr}.8e02b6260f5b71b6111249d54e85e5c8_2" [label="2: Exit method::X1_X1 \n " color=yellow style=filled] + "get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_1" -> "get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_3" ; +"get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_2" [label="2: Exit method::GetterTempl_get \n " color=yellow style=filled] -"get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_1" [label="1: Start method::X2_get\nFormals: this:method::X2*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] +"get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_3" [label="3: Return Stmt \n n$0=*&t:method::X2& [line 35, column 12]\n _=*n$0:method::X2 [line 35, column 12]\n n$2=_fun_method::X2_get(n$0:method::X2&) [line 35, column 12]\n n$3=*&s:method::X1& [line 35, column 22]\n _=*n$3:method::X1 [line 35, column 22]\n n$5=_fun_method::X1_get(n$3:method::X1&) [line 35, column 22]\n *&return:int=(n$2 + n$5) [line 35, column 5]\n " shape="box"] - "get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_1" -> "get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_3" ; -"get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_2" [label="2: Exit method::X2_get \n " color=yellow style=filled] + "get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_3" -> "get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_2" ; +"get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_1" [label="1: Start method::Getter_get\nFormals: this:method::Getter* s:method::X2&\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 3]\n " color=yellow style=filled] -"get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_3" [label="3: Return Stmt \n *&return:int=0 [line 17, column 15]\n " shape="box"] + "get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_1" -> "get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_3" ; +"get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_2" [label="2: Exit method::Getter_get \n " color=yellow style=filled] - "get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_3" -> "get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_2" ; -"X2#X2#method#{4336714802122402348|constexpr}.917ee3865c4e917429f86bc2ade48e3a_1" [label="1: Start method::X2_X2\nFormals: this:method::X2*\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 8]\n " color=yellow style=filled] +"get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_3" [label="3: Return Stmt \n n$0=*&s:method::X2& [line 27, column 12]\n _=*n$0:method::X2 [line 27, column 12]\n n$2=_fun_method::X2_get(n$0:method::X2&) [line 27, column 12]\n *&return:int=n$2 [line 27, column 5]\n " shape="box"] - "X2#X2#method#{4336714802122402348|constexpr}.917ee3865c4e917429f86bc2ade48e3a_1" -> "X2#X2#method#{4336714802122402348|constexpr}.917ee3865c4e917429f86bc2ade48e3a_2" ; -"X2#X2#method#{4336714802122402348|constexpr}.917ee3865c4e917429f86bc2ade48e3a_2" [label="2: Exit method::X2_X2 \n " color=yellow style=filled] + "get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_3" -> "get#Getter#method#(114488311005334347).9c4c4261c299bcfcd879652b3f97fdce_2" ; +"get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_1" [label="1: Start method::GetterTempl_get\nFormals: this:method::GetterTempl* t:method::X3& s:method::X2&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 3]\n " color=yellow style=filled] -"get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_1" [label="1: Start method::X3_get\nFormals: this:method::X3*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 3]\n " color=yellow style=filled] + "get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_1" -> "get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_3" ; +"get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_2" [label="2: Exit method::GetterTempl_get \n " color=yellow style=filled] - "get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_1" -> "get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_3" ; -"get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_2" [label="2: Exit method::X3_get \n " color=yellow style=filled] +"get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_3" [label="3: Return Stmt \n n$0=*&t:method::X3& [line 35, column 12]\n _=*n$0:method::X3 [line 35, column 12]\n n$2=_fun_method::X3_get(n$0:method::X3&) [line 35, column 12]\n n$3=*&s:method::X2& [line 35, column 22]\n _=*n$3:method::X2 [line 35, column 22]\n n$5=_fun_method::X2_get(n$3:method::X2&) [line 35, column 22]\n *&return:int=(n$2 + n$5) [line 35, column 5]\n " shape="box"] -"get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_3" [label="3: Return Stmt \n *&return:int=0 [line 21, column 15]\n " shape="box"] + "get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_3" -> "get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_2" ; +"get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_1" [label="1: Start method::GetterTempl_get\nFormals: this:method::GetterTempl* t:method::X2& s:method::X2&\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 3]\n " color=yellow style=filled] - "get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_3" -> "get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_2" ; -"X3#X3#method#{15810469599489961747|constexpr}.84155345220e181916e4d12f0c8086cb_1" [label="1: Start method::X3_X3\nFormals: this:method::X3*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 8]\n " color=yellow style=filled] + "get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_1" -> "get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_3" ; +"get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_2" [label="2: Exit method::GetterTempl_get \n " color=yellow style=filled] - "X3#X3#method#{15810469599489961747|constexpr}.84155345220e181916e4d12f0c8086cb_1" -> "X3#X3#method#{15810469599489961747|constexpr}.84155345220e181916e4d12f0c8086cb_2" ; -"X3#X3#method#{15810469599489961747|constexpr}.84155345220e181916e4d12f0c8086cb_2" [label="2: Exit method::X3_X3 \n " color=yellow style=filled] +"get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_3" [label="3: Return Stmt \n n$0=*&t:method::X2& [line 35, column 12]\n _=*n$0:method::X2 [line 35, column 12]\n n$2=_fun_method::X2_get(n$0:method::X2&) [line 35, column 12]\n n$3=*&s:method::X2& [line 35, column 22]\n _=*n$3:method::X2 [line 35, column 22]\n n$5=_fun_method::X2_get(n$3:method::X2&) [line 35, column 22]\n *&return:int=(n$2 + n$5) [line 35, column 5]\n " shape="box"] + "get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_3" -> "get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/templates/simple.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/templates/simple.cpp.dot index 2b2ec956b..8188ab25a 100644 --- a/infer/tests/codetoanalyze/cpp/shared/templates/simple.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/templates/simple.cpp.dot @@ -1,33 +1,33 @@ /* @generated */ digraph cfg { -"div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_1" [label="1: Start div0_template_field\nFormals: v:Container&\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] +"div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_1" [label="1: Start div0_struct_field\nFormals: v:X&\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 1]\n " color=yellow style=filled] - "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_1" -> "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_4" ; -"div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_2" [label="2: Exit div0_template_field \n " color=yellow style=filled] + "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_1" -> "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_4" ; +"div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_2" [label="2: Exit div0_struct_field \n " color=yellow style=filled] -"div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_3" [label="3: Return Stmt \n n$0=*&v:Container& [line 21, column 14]\n n$1=*n$0.field:int [line 21, column 14]\n *&return:int=(1 / n$1) [line 21, column 3]\n " shape="box"] +"div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_3" [label="3: Return Stmt \n n$0=*&v:X& [line 26, column 14]\n n$1=*n$0.field:int [line 26, column 14]\n *&return:int=(1 / n$1) [line 26, column 3]\n " shape="box"] - "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_3" -> "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_2" ; -"div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&v:Container& [line 20, column 3]\n *n$2.field:int=0 [line 20, column 3]\n " shape="box"] + "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_3" -> "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_2" ; +"div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&v:X& [line 25, column 3]\n *n$2.field:int=0 [line 25, column 3]\n " shape="box"] - "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_4" -> "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_3" ; -"div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_1" [label="1: Start div0_struct_field\nFormals: v:X&\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 1]\n " color=yellow style=filled] + "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_4" -> "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_3" ; +"div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_1" [label="1: Start div0_template_field\nFormals: v:Container&\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] - "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_1" -> "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_4" ; -"div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_2" [label="2: Exit div0_struct_field \n " color=yellow style=filled] + "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_1" -> "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_4" ; +"div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_2" [label="2: Exit div0_template_field \n " color=yellow style=filled] -"div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_3" [label="3: Return Stmt \n n$0=*&v:X& [line 26, column 14]\n n$1=*n$0.field:int [line 26, column 14]\n *&return:int=(1 / n$1) [line 26, column 3]\n " shape="box"] +"div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_3" [label="3: Return Stmt \n n$0=*&v:Container& [line 21, column 14]\n n$1=*n$0.field:int [line 21, column 14]\n *&return:int=(1 / n$1) [line 21, column 3]\n " shape="box"] - "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_3" -> "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_2" ; -"div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&v:X& [line 25, column 3]\n *n$2.field:int=0 [line 25, column 3]\n " shape="box"] + "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_3" -> "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_2" ; +"div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&v:Container& [line 20, column 3]\n *n$2.field:int=0 [line 20, column 3]\n " shape="box"] - "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_4" -> "div0_struct_field#9739930445713322699.789b28ce09db76d69bc6373aefeacf6a_3" ; + "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_4" -> "div0_template_field#16893301392201012428.8e63a0ece60a1b5e4e7b3cfa5d3dddd8_3" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/types/casts.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/casts.cpp.dot index 89f44fafc..34ae48f8f 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/casts.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/casts.cpp.dot @@ -1,25 +1,25 @@ /* @generated */ digraph cfg { -"stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_1" [label="1: Start stat_cast\nFormals: \nLocals: la:long long a:int \n DECLARE_LOCALS(&return,&la,&a); [line 10, column 1]\n " color=yellow style=filled] +"functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_1" [label="1: Start functional_cast\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 15, column 1]\n " color=yellow style=filled] - "stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_1" -> "stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_3" ; -"stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_2" [label="2: Exit stat_cast \n " color=yellow style=filled] + "functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_1" -> "functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_3" ; +"functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_2" [label="2: Exit functional_cast \n " color=yellow style=filled] -"stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_3" [label="3: DeclStmt \n n$0=*&a:int [line 12, column 41]\n *&la:long long=n$0 [line 12, column 3]\n " shape="box"] +"functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_3" [label="3: DeclStmt \n *&a:int=(2 + 3.400000) [line 15, column 26]\n " shape="box"] - "stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_3" -> "stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_2" ; -"functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_1" [label="1: Start functional_cast\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 15, column 1]\n " color=yellow style=filled] + "functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_3" -> "functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_2" ; +"stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_1" [label="1: Start stat_cast\nFormals: \nLocals: la:long long a:int \n DECLARE_LOCALS(&return,&la,&a); [line 10, column 1]\n " color=yellow style=filled] - "functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_1" -> "functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_3" ; -"functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_2" [label="2: Exit functional_cast \n " color=yellow style=filled] + "stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_1" -> "stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_3" ; +"stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_2" [label="2: Exit stat_cast \n " color=yellow style=filled] -"functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_3" [label="3: DeclStmt \n *&a:int=(2 + 3.400000) [line 15, column 26]\n " shape="box"] +"stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_3" [label="3: DeclStmt \n n$0=*&a:int [line 12, column 41]\n *&la:long long=n$0 [line 12, column 3]\n " shape="box"] - "functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_3" -> "functional_cast#14011367992313068291.82cd85208f04494c7a6533d123f52fe0_2" ; + "stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_3" -> "stat_cast#12446126613472042601.03b0c783caaf8ed84eb6e909b7645c57_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/types/functions.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/functions.cpp.dot index 70f2eb27e..927683efd 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/functions.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/functions.cpp.dot @@ -1,74 +1,74 @@ /* @generated */ digraph cfg { -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" [label="1: Start test\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] +"fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_1" [label="1: Start fun_default\nFormals: a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] - "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_7" ; -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" [label="2: Exit test \n " color=yellow style=filled] + "fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_1" -> "fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_3" ; +"fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_2" [label="2: Exit fun_default \n " color=yellow style=filled] -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" [label="3: Call _fun_fun_default_decl \n n$0=_fun_fun_default_decl(6:int,6:int) [line 24, column 3]\n " shape="box"] +"fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_3" [label="3: Return Stmt \n n$0=*&a:int [line 10, column 48]\n n$1=*&b:int [line 10, column 52]\n *&return:int=(n$0 + n$1) [line 10, column 41]\n " shape="box"] - "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" ; -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" [label="4: Call _fun_fun_default_decl \n n$1=_fun_fun_default_decl(6:int,5:int) [line 23, column 3]\n " shape="box"] + "fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_3" -> "fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_2" ; +"fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_1" [label="1: Start fun_default_decl\nFormals: a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 1]\n " color=yellow style=filled] - "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" ; -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_5" [label="5: Call _fun_fun_default \n n$2=_fun_fun_default(3:int,5:int) [line 21, column 3]\n " shape="box"] + "fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_1" -> "fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_3" ; +"fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_2" [label="2: Exit fun_default_decl \n " color=yellow style=filled] - "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_5" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" ; -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_6" [label="6: Call _fun_fun_default \n n$3=_fun_fun_default(1:int,5:int) [line 20, column 3]\n " shape="box"] +"fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_3" [label="3: Return Stmt \n n$0=*&a:int [line 14, column 45]\n n$1=*&b:int [line 14, column 49]\n *&return:int=(n$0 + n$1) [line 14, column 38]\n " shape="box"] - "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_6" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_5" ; -"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_7" [label="7: Call _fun_fun_default \n n$4=_fun_fun_default(1:int,2:int) [line 19, column 3]\n " shape="box"] + "fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_3" -> "fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_2" ; +"fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_1" [label="1: Start fun_ignore_param\nFormals: a:int __param_1:int __param_2:int\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 1]\n " color=yellow style=filled] - "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_7" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_6" ; -"test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_1" [label="1: Start test2\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] + "fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_1" -> "fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_3" ; +"fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_2" [label="2: Exit fun_ignore_param \n " color=yellow style=filled] - "test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_1" -> "test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_3" ; -"test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_2" [label="2: Exit test2 \n " color=yellow style=filled] +"fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_3" [label="3: Return Stmt \n n$0=*&a:int [line 16, column 48]\n *&return:int=n$0 [line 16, column 41]\n " shape="box"] -"test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_3" [label="3: Call _fun_fun_ignore_param \n n$0=_fun_fun_ignore_param(1:int,1:int,1:int) [line 27, column 16]\n " shape="box"] + "fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_3" -> "fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_2" ; +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" [label="1: Start test\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] - "test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_3" -> "test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_2" ; -"fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_1" [label="1: Start fun_ignore_param\nFormals: a:int __param_1:int __param_2:int\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 1]\n " color=yellow style=filled] + "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_1" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_7" ; +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" [label="2: Exit test \n " color=yellow style=filled] - "fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_1" -> "fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_3" ; -"fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_2" [label="2: Exit fun_ignore_param \n " color=yellow style=filled] +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" [label="3: Call _fun_fun_default_decl \n n$0=_fun_fun_default_decl(6:int,6:int) [line 24, column 3]\n " shape="box"] -"fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_3" [label="3: Return Stmt \n n$0=*&a:int [line 16, column 48]\n *&return:int=n$0 [line 16, column 41]\n " shape="box"] + "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_2" ; +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" [label="4: Call _fun_fun_default_decl \n n$1=_fun_fun_default_decl(6:int,5:int) [line 23, column 3]\n " shape="box"] - "fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_3" -> "fun_ignore_param#16945920541083530946.f4a6287781e779dff615587871d0273e_2" ; -"fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_1" [label="1: Start fun_default\nFormals: a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] + "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_3" ; +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_5" [label="5: Call _fun_fun_default \n n$2=_fun_fun_default(3:int,5:int) [line 21, column 3]\n " shape="box"] - "fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_1" -> "fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_3" ; -"fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_2" [label="2: Exit fun_default \n " color=yellow style=filled] + "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_5" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_4" ; +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_6" [label="6: Call _fun_fun_default \n n$3=_fun_fun_default(1:int,5:int) [line 20, column 3]\n " shape="box"] -"fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_3" [label="3: Return Stmt \n n$0=*&a:int [line 10, column 48]\n n$1=*&b:int [line 10, column 52]\n *&return:int=(n$0 + n$1) [line 10, column 41]\n " shape="box"] + "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_6" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_5" ; +"test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_7" [label="7: Call _fun_fun_default \n n$4=_fun_fun_default(1:int,2:int) [line 19, column 3]\n " shape="box"] - "fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_3" -> "fun_default#3756902107033500271.2ec7d2bd4212c5f505ea908a5f86109a_2" ; -"fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_1" [label="1: Start fun_default_decl\nFormals: a:int b:int\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 1]\n " color=yellow style=filled] + "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_7" -> "test#18241244337164948030.afc14f193ad97442f67ac7183be789bc_6" ; +"test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_1" [label="1: Start test2\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] - "fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_1" -> "fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_3" ; -"fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_2" [label="2: Exit fun_default_decl \n " color=yellow style=filled] + "test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_1" -> "test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_3" ; +"test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_2" [label="2: Exit test2 \n " color=yellow style=filled] -"fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_3" [label="3: Return Stmt \n n$0=*&a:int [line 14, column 45]\n n$1=*&b:int [line 14, column 49]\n *&return:int=(n$0 + n$1) [line 14, column 38]\n " shape="box"] +"test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_3" [label="3: Call _fun_fun_ignore_param \n n$0=_fun_fun_ignore_param(1:int,1:int,1:int) [line 27, column 16]\n " shape="box"] - "fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_3" -> "fun_default_decl#2242811051034255145.cfa4c1bed9f6b81332cbfea2722a24d0_2" ; + "test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_3" -> "test2#3587805488049044947.69e45cfdc4e36a6f741ce3985858724b_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/types/inheritance.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/inheritance.cpp.dot index e5717fcd5..2fb10c6da 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/inheritance.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/inheritance.cpp.dot @@ -43,6 +43,24 @@ digraph cfg { "call_static_methods#2229162425019005814.6b8ed680875ca5e183f8fa3b51ea6718_11" -> "call_static_methods#2229162425019005814.6b8ed680875ca5e183f8fa3b51ea6718_10" ; +"Base#Base#{1639731840162335252|constexpr}.1cedec9037fb5c6b979582f8fd045cfb_1" [label="1: Start Base_Base\nFormals: this:Base*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 7]\n " color=yellow style=filled] + + + "Base#Base#{1639731840162335252|constexpr}.1cedec9037fb5c6b979582f8fd045cfb_1" -> "Base#Base#{1639731840162335252|constexpr}.1cedec9037fb5c6b979582f8fd045cfb_2" ; +"Base#Base#{1639731840162335252|constexpr}.1cedec9037fb5c6b979582f8fd045cfb_2" [label="2: Exit Base_Base \n " color=yellow style=filled] + + +"Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_1" [label="1: Start Sub_Sub\nFormals: this:Sub*\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 7]\n " color=yellow style=filled] + + + "Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_1" -> "Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_3" ; +"Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_2" [label="2: Exit Sub_Sub \n " color=yellow style=filled] + + +"Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_3" [label="3: Constructor Init \n n$0=*&this:Sub* [line 16, column 7]\n _fun_Base_Base(n$0:Sub*) [line 16, column 7]\n " shape="box"] + + + "Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_3" -> "Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_2" ; "fun#Base#(4745240833868289958).678df3fd06599dafd933a3bb8b9491bc_1" [label="1: Start Base_fun\nFormals: this:Base*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] @@ -65,13 +83,6 @@ digraph cfg { "fun_redefine#Base#(2650804992698061987).67136e8e6ad0793f86461827c32086fc_3" -> "fun_redefine#Base#(2650804992698061987).67136e8e6ad0793f86461827c32086fc_2" ; -"Base#Base#{1639731840162335252|constexpr}.1cedec9037fb5c6b979582f8fd045cfb_1" [label="1: Start Base_Base\nFormals: this:Base*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 7]\n " color=yellow style=filled] - - - "Base#Base#{1639731840162335252|constexpr}.1cedec9037fb5c6b979582f8fd045cfb_1" -> "Base#Base#{1639731840162335252|constexpr}.1cedec9037fb5c6b979582f8fd045cfb_2" ; -"Base#Base#{1639731840162335252|constexpr}.1cedec9037fb5c6b979582f8fd045cfb_2" [label="2: Exit Base_Base \n " color=yellow style=filled] - - "fun_redefine#Sub#(17129416942188381963).92112cf746626b3b7cdf24f41680fdb8_1" [label="1: Start Sub_fun_redefine\nFormals: this:Sub*\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 3]\n " color=yellow style=filled] @@ -83,15 +94,4 @@ digraph cfg { "fun_redefine#Sub#(17129416942188381963).92112cf746626b3b7cdf24f41680fdb8_3" -> "fun_redefine#Sub#(17129416942188381963).92112cf746626b3b7cdf24f41680fdb8_2" ; -"Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_1" [label="1: Start Sub_Sub\nFormals: this:Sub*\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 7]\n " color=yellow style=filled] - - - "Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_1" -> "Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_3" ; -"Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_2" [label="2: Exit Sub_Sub \n " color=yellow style=filled] - - -"Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_3" [label="3: Constructor Init \n n$0=*&this:Sub* [line 16, column 7]\n _fun_Base_Base(n$0:Sub*) [line 16, column 7]\n " shape="box"] - - - "Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_3" -> "Sub#Sub#{11878357359117042972|constexpr}.886e3a99a94b49e456c4d39277ccc93b_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/types/inheritance_casts.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/inheritance_casts.cpp.dot index 2ec8b5ff3..1407ffb7a 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/inheritance_casts.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/inheritance_casts.cpp.dot @@ -1,27 +1,27 @@ /* @generated */ digraph cfg { -"div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_1" [label="1: Start inheritance_casts::div0_A\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 28, column 1]\n " color=yellow style=filled] +"div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_1" [label="1: Start inheritance_casts::div\nFormals: x:inheritance_casts::A const &\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] - "div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_1" -> "div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_3" ; -"div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_2" [label="2: Exit inheritance_casts::div0_A \n " color=yellow style=filled] + "div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_1" -> "div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_3" ; +"div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_2" [label="2: Exit inheritance_casts::div \n " color=yellow style=filled] -"div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_3" [label="3: Return Stmt \n _fun_inheritance_casts::getA(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A*) [line 28, column 27]\n n$2=_fun_inheritance_casts::div(&0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A&) [line 28, column 23]\n *&return:int=n$2 [line 28, column 16]\n " shape="box"] +"div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_3" [label="3: Return Stmt \n n$0=*&x:inheritance_casts::A const & [line 26, column 34]\n n$1=*n$0.f:int [line 26, column 34]\n *&return:int=(1 / n$1) [line 26, column 23]\n " shape="box"] - "div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_3" -> "div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_2" ; -"div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_1" [label="1: Start inheritance_casts::div1_A\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 30, column 1]\n " color=yellow style=filled] + "div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_3" -> "div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_2" ; +"div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_1" [label="1: Start inheritance_casts::div0_A\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 28, column 1]\n " color=yellow style=filled] - "div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_1" -> "div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_3" ; -"div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_2" [label="2: Exit inheritance_casts::div1_A \n " color=yellow style=filled] + "div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_1" -> "div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_3" ; +"div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_2" [label="2: Exit inheritance_casts::div0_A \n " color=yellow style=filled] -"div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_3" [label="3: Return Stmt \n _fun_inheritance_casts::getA(1:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A*) [line 30, column 27]\n n$2=_fun_inheritance_casts::div(&0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A&) [line 30, column 23]\n *&return:int=n$2 [line 30, column 16]\n " shape="box"] +"div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_3" [label="3: Return Stmt \n _fun_inheritance_casts::getA(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A*) [line 28, column 27]\n n$2=_fun_inheritance_casts::div(&0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A&) [line 28, column 23]\n *&return:int=n$2 [line 28, column 16]\n " shape="box"] - "div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_3" -> "div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_2" ; + "div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_3" -> "div0_A#inheritance_casts#7658516495554603699.e5c3e3413f6eac12dda7dd76db597c34_2" ; "div0_B#inheritance_casts#9651791439006644302.4d2c177357a796fa9b436df4f92f3de8_1" [label="1: Start inheritance_casts::div0_B\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::B \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 32, column 1]\n " color=yellow style=filled] @@ -33,6 +33,17 @@ digraph cfg { "div0_B#inheritance_casts#9651791439006644302.4d2c177357a796fa9b436df4f92f3de8_3" -> "div0_B#inheritance_casts#9651791439006644302.4d2c177357a796fa9b436df4f92f3de8_2" ; +"div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_1" [label="1: Start inheritance_casts::div1_A\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 30, column 1]\n " color=yellow style=filled] + + + "div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_1" -> "div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_3" ; +"div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_2" [label="2: Exit inheritance_casts::div1_A \n " color=yellow style=filled] + + +"div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_3" [label="3: Return Stmt \n _fun_inheritance_casts::getA(1:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A*) [line 30, column 27]\n n$2=_fun_inheritance_casts::div(&0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::A&) [line 30, column 23]\n *&return:int=n$2 [line 30, column 16]\n " shape="box"] + + + "div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_3" -> "div1_A#inheritance_casts#14706027417800210732.96d94ec773e2890c763d57de8a52982b_2" ; "div1_B#inheritance_casts#15202051198007397773.6fa30ed113dcaca42095f52f33fb0c86_1" [label="1: Start inheritance_casts::div1_B\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:inheritance_casts::B \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 34, column 1]\n " color=yellow style=filled] @@ -82,17 +93,17 @@ digraph cfg { "getB#inheritance_casts#7572693428029732371.2a52889292973e0a59e81bc3aa93b9cd_5" -> "getB#inheritance_casts#7572693428029732371.2a52889292973e0a59e81bc3aa93b9cd_4" ; -"div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_1" [label="1: Start inheritance_casts::div\nFormals: x:inheritance_casts::A const &\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] +"A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_1" [label="1: Start inheritance_casts::A_A\nFormals: this:inheritance_casts::A* __param_0:inheritance_casts::A&\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] - "div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_1" -> "div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_3" ; -"div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_2" [label="2: Exit inheritance_casts::div \n " color=yellow style=filled] + "A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_1" -> "A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_3" ; +"A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_2" [label="2: Exit inheritance_casts::A_A \n " color=yellow style=filled] -"div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_3" [label="3: Return Stmt \n n$0=*&x:inheritance_casts::A const & [line 26, column 34]\n n$1=*n$0.f:int [line 26, column 34]\n *&return:int=(1 / n$1) [line 26, column 23]\n " shape="box"] +"A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_3" [label="3: Constructor Init \n n$0=*&this:inheritance_casts::A* [line 10, column 8]\n n$1=*&__param_0:inheritance_casts::A& [line 10, column 8]\n n$2=*n$1.f:int [line 10, column 8]\n *n$0.f:int=n$2 [line 10, column 8]\n " shape="box"] - "div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_3" -> "div#inheritance_casts#6922777222181710886.49c2c177ef4708a5a378ab243af3c697_2" ; + "A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_3" -> "A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_2" ; "A#A#inheritance_casts#{6737151014147281904}.09f433918891d7b3e607a370cf5bfca4_1" [label="1: Start inheritance_casts::A_A\nFormals: this:inheritance_casts::A*\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] @@ -100,17 +111,17 @@ digraph cfg { "A#A#inheritance_casts#{6737151014147281904}.09f433918891d7b3e607a370cf5bfca4_2" [label="2: Exit inheritance_casts::A_A \n " color=yellow style=filled] -"A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_1" [label="1: Start inheritance_casts::A_A\nFormals: this:inheritance_casts::A* __param_0:inheritance_casts::A&\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 8]\n " color=yellow style=filled] +"B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_1" [label="1: Start inheritance_casts::B_B\nFormals: this:inheritance_casts::B* __param_0:inheritance_casts::B&\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 8]\n " color=yellow style=filled] - "A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_1" -> "A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_3" ; -"A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_2" [label="2: Exit inheritance_casts::A_A \n " color=yellow style=filled] + "B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_1" -> "B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_3" ; +"B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_2" [label="2: Exit inheritance_casts::B_B \n " color=yellow style=filled] -"A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_3" [label="3: Constructor Init \n n$0=*&this:inheritance_casts::A* [line 10, column 8]\n n$1=*&__param_0:inheritance_casts::A& [line 10, column 8]\n n$2=*n$1.f:int [line 10, column 8]\n *n$0.f:int=n$2 [line 10, column 8]\n " shape="box"] +"B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_3" [label="3: Constructor Init \n n$0=*&this:inheritance_casts::B* [line 13, column 8]\n n$1=*&__param_0:inheritance_casts::B& [line 13, column 8]\n _fun_inheritance_casts::A_A(n$0:inheritance_casts::B*,n$1:inheritance_casts::B&) [line 13, column 8]\n " shape="box"] - "A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_3" -> "A#A#inheritance_casts#{10902709585585133973|constexpr}.68880ef701101d56bd12eca3d63ad60a_2" ; + "B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_3" -> "B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_2" ; "B#B#inheritance_casts#{9678838365339542453}.8b569e08272bb08f8843c357c8546f65_1" [label="1: Start inheritance_casts::B_B\nFormals: this:inheritance_casts::B*\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 8]\n " color=yellow style=filled] @@ -122,15 +133,4 @@ digraph cfg { "B#B#inheritance_casts#{9678838365339542453}.8b569e08272bb08f8843c357c8546f65_3" -> "B#B#inheritance_casts#{9678838365339542453}.8b569e08272bb08f8843c357c8546f65_2" ; -"B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_1" [label="1: Start inheritance_casts::B_B\nFormals: this:inheritance_casts::B* __param_0:inheritance_casts::B&\nLocals: \n DECLARE_LOCALS(&return); [line 13, column 8]\n " color=yellow style=filled] - - - "B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_1" -> "B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_3" ; -"B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_2" [label="2: Exit inheritance_casts::B_B \n " color=yellow style=filled] - - -"B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_3" [label="3: Constructor Init \n n$0=*&this:inheritance_casts::B* [line 13, column 8]\n n$1=*&__param_0:inheritance_casts::B& [line 13, column 8]\n _fun_inheritance_casts::A_A(n$0:inheritance_casts::B*,n$1:inheritance_casts::B&) [line 13, column 8]\n " shape="box"] - - - "B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_3" -> "B#B#inheritance_casts#{757591507791864682|constexpr}.5bcf15d1bf21f1370c2f899ddef4b1c9_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/types/inheritance_field.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/inheritance_field.cpp.dot index d11cbdca8..91f84f14c 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/inheritance_field.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/inheritance_field.cpp.dot @@ -1,24 +1,20 @@ /* @generated */ digraph cfg { -"div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_1" [label="1: Start div0_cast\nFormals: s:Sub*\nLocals: b:Base1* \n DECLARE_LOCALS(&return,&b); [line 37, column 1]\n " color=yellow style=filled] - - - "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_1" -> "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_5" ; -"div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_2" [label="2: Exit div0_cast \n " color=yellow style=filled] +"div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_1" [label="1: Start div0_b1\nFormals: s:Sub&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] -"div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_3" [label="3: Return Stmt \n n$0=*&b:Base1* [line 40, column 14]\n n$1=*n$0.b1:int [line 40, column 14]\n *&return:int=(1 / n$1) [line 40, column 3]\n " shape="box"] + "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_1" -> "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_4" ; +"div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_2" [label="2: Exit div0_b1 \n " color=yellow style=filled] - "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_3" -> "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_2" ; -"div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_4" [label="4: DeclStmt \n n$2=*&s:Sub* [line 39, column 14]\n *&b:Sub*=n$2 [line 39, column 3]\n " shape="box"] +"div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_3" [label="3: Return Stmt \n n$0=*&s:Sub& [line 24, column 14]\n n$1=*n$0.b1:int [line 24, column 14]\n *&return:int=(1 / n$1) [line 24, column 3]\n " shape="box"] - "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_4" -> "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_3" ; -"div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_5" [label="5: BinaryOperatorStmt: Assign \n n$3=*&s:Sub* [line 38, column 3]\n *n$3.b1:int=0 [line 38, column 3]\n " shape="box"] + "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_3" -> "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_2" ; +"div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&s:Sub& [line 23, column 3]\n *n$2.b1:int=0 [line 23, column 3]\n " shape="box"] - "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_5" -> "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_4" ; + "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_4" -> "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_3" ; "div0_b1_s#4574535260514480977.c132b3496cd22a9bc4817c577b65da9e_1" [label="1: Start div0_b1_s\nFormals: s:Sub*\nLocals: \n DECLARE_LOCALS(&return); [line 49, column 1]\n " color=yellow style=filled] @@ -38,74 +34,59 @@ digraph cfg { "div0_b1_s#4574535260514480977.c132b3496cd22a9bc4817c577b65da9e_5" -> "div0_b1_s#4574535260514480977.c132b3496cd22a9bc4817c577b65da9e_4" ; -"div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_1" [label="1: Start div0_s_b1\nFormals: s:Sub*\nLocals: \n DECLARE_LOCALS(&return); [line 55, column 1]\n " color=yellow style=filled] - - - "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_1" -> "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_5" ; -"div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_2" [label="2: Exit div0_s_b1 \n " color=yellow style=filled] - - -"div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_3" [label="3: Return Stmt \n n$0=*&s:Sub* [line 58, column 15]\n n$1=*n$0.b1:int [line 58, column 15]\n n$2=*&s:Sub* [line 58, column 23]\n n$3=*n$2.s:int [line 58, column 23]\n *&return:int=(1 / (n$1 - n$3)) [line 58, column 3]\n " shape="box"] - - - "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_3" -> "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_2" ; -"div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_4" [label="4: BinaryOperatorStmt: Assign \n n$4=*&s:Sub* [line 57, column 3]\n *n$4.s:int=1 [line 57, column 3]\n " shape="box"] - - - "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_4" -> "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_3" ; -"div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_5" [label="5: BinaryOperatorStmt: Assign \n n$5=*&s:Sub* [line 56, column 3]\n *n$5.b1:int=1 [line 56, column 3]\n " shape="box"] +"div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_1" [label="1: Start div0_b2\nFormals: s:Sub&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] - "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_5" -> "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_4" ; -"div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_1" [label="1: Start div1_cast\nFormals: s:Sub*\nLocals: b:Base1* \n DECLARE_LOCALS(&return,&b); [line 66, column 1]\n " color=yellow style=filled] + "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_1" -> "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_4" ; +"div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_2" [label="2: Exit div0_b2 \n " color=yellow style=filled] - "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_1" -> "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_5" ; -"div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_2" [label="2: Exit div1_cast \n " color=yellow style=filled] +"div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_3" [label="3: Return Stmt \n n$0=*&s:Sub& [line 29, column 14]\n n$1=*n$0.b2:int [line 29, column 14]\n *&return:int=(1 / n$1) [line 29, column 3]\n " shape="box"] -"div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_3" [label="3: Return Stmt \n n$0=*&b:Base1* [line 69, column 14]\n n$1=*n$0.b1:int [line 69, column 14]\n *&return:int=(1 / n$1) [line 69, column 3]\n " shape="box"] + "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_3" -> "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_2" ; +"div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&s:Sub& [line 28, column 3]\n *n$2.b2:int=0 [line 28, column 3]\n " shape="box"] - "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_3" -> "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_2" ; -"div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_4" [label="4: DeclStmt \n n$2=*&s:Sub* [line 68, column 14]\n *&b:Sub*=n$2 [line 68, column 3]\n " shape="box"] + "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_4" -> "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_3" ; +"div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_1" [label="1: Start div0_cast\nFormals: s:Sub*\nLocals: b:Base1* \n DECLARE_LOCALS(&return,&b); [line 37, column 1]\n " color=yellow style=filled] - "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_4" -> "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_3" ; -"div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_5" [label="5: BinaryOperatorStmt: Assign \n n$3=*&s:Sub* [line 67, column 3]\n *n$3.b1:int=1 [line 67, column 3]\n " shape="box"] + "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_1" -> "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_5" ; +"div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_2" [label="2: Exit div0_cast \n " color=yellow style=filled] - "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_5" -> "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_4" ; -"div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_1" [label="1: Start div0_b1\nFormals: s:Sub&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] +"div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_3" [label="3: Return Stmt \n n$0=*&b:Base1* [line 40, column 14]\n n$1=*n$0.b1:int [line 40, column 14]\n *&return:int=(1 / n$1) [line 40, column 3]\n " shape="box"] - "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_1" -> "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_4" ; -"div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_2" [label="2: Exit div0_b1 \n " color=yellow style=filled] + "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_3" -> "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_2" ; +"div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_4" [label="4: DeclStmt \n n$2=*&s:Sub* [line 39, column 14]\n *&b:Sub*=n$2 [line 39, column 3]\n " shape="box"] -"div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_3" [label="3: Return Stmt \n n$0=*&s:Sub& [line 24, column 14]\n n$1=*n$0.b1:int [line 24, column 14]\n *&return:int=(1 / n$1) [line 24, column 3]\n " shape="box"] + "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_4" -> "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_3" ; +"div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_5" [label="5: BinaryOperatorStmt: Assign \n n$3=*&s:Sub* [line 38, column 3]\n *n$3.b1:int=0 [line 38, column 3]\n " shape="box"] - "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_3" -> "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_2" ; -"div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&s:Sub& [line 23, column 3]\n *n$2.b1:int=0 [line 23, column 3]\n " shape="box"] + "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_5" -> "div0_cast#5945090778893539301.687c05d84c9555932644bbb5c32ec8a3_4" ; +"div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_1" [label="1: Start div0_cast_ref\nFormals: s:Sub&(byval)\nLocals: b:Base1& \n DECLARE_LOCALS(&return,&b); [line 43, column 1]\n " color=yellow style=filled] - "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_4" -> "div0_b1#17650173920024552929.38acfc238efbf35c1ac5da7290b49422_3" ; -"div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_1" [label="1: Start div0_b2\nFormals: s:Sub&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] + "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_1" -> "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_5" ; +"div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_2" [label="2: Exit div0_cast_ref \n " color=yellow style=filled] - "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_1" -> "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_4" ; -"div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_2" [label="2: Exit div0_b2 \n " color=yellow style=filled] +"div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_3" [label="3: Return Stmt \n n$0=*&b:Base1& [line 46, column 14]\n n$1=*n$0.b1:int [line 46, column 14]\n *&return:int=(1 / n$1) [line 46, column 3]\n " shape="box"] -"div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_3" [label="3: Return Stmt \n n$0=*&s:Sub& [line 29, column 14]\n n$1=*n$0.b2:int [line 29, column 14]\n *&return:int=(1 / n$1) [line 29, column 3]\n " shape="box"] + "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_3" -> "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_2" ; +"div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_4" [label="4: DeclStmt \n n$2=*&s:Sub& [line 45, column 14]\n *&b:Sub&=n$2 [line 45, column 3]\n " shape="box"] - "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_3" -> "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_2" ; -"div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&s:Sub& [line 28, column 3]\n *n$2.b2:int=0 [line 28, column 3]\n " shape="box"] + "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_4" -> "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_3" ; +"div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_5" [label="5: BinaryOperatorStmt: Assign \n n$3=*&s:Sub& [line 44, column 3]\n *n$3.b1:int=0 [line 44, column 3]\n " shape="box"] - "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_4" -> "div0_b2#6935029956526426132.ef88e6d1eac891cdde3f345b9b55439c_3" ; + "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_5" -> "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_4" ; "div0_s#16566672704220882536.127f1e4fb94cf0b77844a4e153e0f991_1" [label="1: Start div0_s\nFormals: s:Sub&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 1]\n " color=yellow style=filled] @@ -121,25 +102,25 @@ digraph cfg { "div0_s#16566672704220882536.127f1e4fb94cf0b77844a4e153e0f991_4" -> "div0_s#16566672704220882536.127f1e4fb94cf0b77844a4e153e0f991_3" ; -"div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_1" [label="1: Start div0_cast_ref\nFormals: s:Sub&(byval)\nLocals: b:Base1& \n DECLARE_LOCALS(&return,&b); [line 43, column 1]\n " color=yellow style=filled] +"div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_1" [label="1: Start div0_s_b1\nFormals: s:Sub*\nLocals: \n DECLARE_LOCALS(&return); [line 55, column 1]\n " color=yellow style=filled] - "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_1" -> "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_5" ; -"div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_2" [label="2: Exit div0_cast_ref \n " color=yellow style=filled] + "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_1" -> "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_5" ; +"div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_2" [label="2: Exit div0_s_b1 \n " color=yellow style=filled] -"div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_3" [label="3: Return Stmt \n n$0=*&b:Base1& [line 46, column 14]\n n$1=*n$0.b1:int [line 46, column 14]\n *&return:int=(1 / n$1) [line 46, column 3]\n " shape="box"] +"div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_3" [label="3: Return Stmt \n n$0=*&s:Sub* [line 58, column 15]\n n$1=*n$0.b1:int [line 58, column 15]\n n$2=*&s:Sub* [line 58, column 23]\n n$3=*n$2.s:int [line 58, column 23]\n *&return:int=(1 / (n$1 - n$3)) [line 58, column 3]\n " shape="box"] - "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_3" -> "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_2" ; -"div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_4" [label="4: DeclStmt \n n$2=*&s:Sub& [line 45, column 14]\n *&b:Sub&=n$2 [line 45, column 3]\n " shape="box"] + "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_3" -> "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_2" ; +"div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_4" [label="4: BinaryOperatorStmt: Assign \n n$4=*&s:Sub* [line 57, column 3]\n *n$4.s:int=1 [line 57, column 3]\n " shape="box"] - "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_4" -> "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_3" ; -"div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_5" [label="5: BinaryOperatorStmt: Assign \n n$3=*&s:Sub& [line 44, column 3]\n *n$3.b1:int=0 [line 44, column 3]\n " shape="box"] + "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_4" -> "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_3" ; +"div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_5" [label="5: BinaryOperatorStmt: Assign \n n$5=*&s:Sub* [line 56, column 3]\n *n$5.b1:int=1 [line 56, column 3]\n " shape="box"] - "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_5" -> "div0_cast_ref#11427648331886451822.4f535c7752ac1b6e5f35ab1a83dc2bd8_4" ; + "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_5" -> "div0_s_b1#6365361903134380141.385a354053ffb314ee7bfcec6dee0475_4" ; "div1_b1#14974413951234929464.2d37fbc87faf449081172c1e2711163f_1" [label="1: Start div1_b1\nFormals: s:Sub&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 61, column 1]\n " color=yellow style=filled] @@ -155,4 +136,23 @@ digraph cfg { "div1_b1#14974413951234929464.2d37fbc87faf449081172c1e2711163f_4" -> "div1_b1#14974413951234929464.2d37fbc87faf449081172c1e2711163f_3" ; +"div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_1" [label="1: Start div1_cast\nFormals: s:Sub*\nLocals: b:Base1* \n DECLARE_LOCALS(&return,&b); [line 66, column 1]\n " color=yellow style=filled] + + + "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_1" -> "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_5" ; +"div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_2" [label="2: Exit div1_cast \n " color=yellow style=filled] + + +"div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_3" [label="3: Return Stmt \n n$0=*&b:Base1* [line 69, column 14]\n n$1=*n$0.b1:int [line 69, column 14]\n *&return:int=(1 / n$1) [line 69, column 3]\n " shape="box"] + + + "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_3" -> "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_2" ; +"div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_4" [label="4: DeclStmt \n n$2=*&s:Sub* [line 68, column 14]\n *&b:Sub*=n$2 [line 68, column 3]\n " shape="box"] + + + "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_4" -> "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_3" ; +"div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_5" [label="5: BinaryOperatorStmt: Assign \n n$3=*&s:Sub* [line 67, column 3]\n *n$3.b1:int=1 [line 67, column 3]\n " shape="box"] + + + "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_5" -> "div1_cast#4700794712628779370.bf330282d3921dae44676e58f54575fe_4" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/types/operator_overload.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/operator_overload.cpp.dot index bc9ead8ec..3ffd24689 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/operator_overload.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/operator_overload.cpp.dot @@ -1,31 +1,5 @@ /* @generated */ digraph cfg { -"div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_1" [label="1: Start div0_method_op_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] - - - "div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_1" -> "div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_3" ; -"div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_2" [label="2: Exit div0_method_op_ptr \n " color=yellow style=filled] - - -"div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_3" [label="3: Return Stmt \n n$0=*&x:X* [line 26, column 45]\n n$1=_fun_X_operator[](n$0:X&,0:int) [line 26, column 43]\n *&return:int=(1 / n$1) [line 26, column 32]\n " shape="box"] - - - "div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_3" -> "div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_2" ; -"div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_1" [label="1: Start div0_method_op\nFormals: x:X&\nLocals: v:int \n DECLARE_LOCALS(&return,&v); [line 20, column 1]\n " color=yellow style=filled] - - - "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_1" -> "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_4" ; -"div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_2" [label="2: Exit div0_method_op \n " color=yellow style=filled] - - -"div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_3" [label="3: Return Stmt \n n$0=*&v:int [line 23, column 14]\n *&return:int=(1 / n$0) [line 23, column 3]\n " shape="box"] - - - "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_3" -> "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_2" ; -"div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_4" [label="4: DeclStmt \n n$1=*&x:X& [line 22, column 11]\n n$2=_fun_X_operator[](n$1:X&,0:int) [line 22, column 11]\n *&v:int=n$2 [line 22, column 3]\n " shape="box"] - - - "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_4" -> "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_3" ; "div0_function_op#6873855268879531342.84fad54736dded19eef101141599a76d_1" [label="1: Start div0_function_op\nFormals: x:X&\nLocals: v:int \n DECLARE_LOCALS(&return,&v); [line 28, column 1]\n " color=yellow style=filled] @@ -41,6 +15,17 @@ digraph cfg { "div0_function_op#6873855268879531342.84fad54736dded19eef101141599a76d_4" -> "div0_function_op#6873855268879531342.84fad54736dded19eef101141599a76d_3" ; +"div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_1" [label="1: Start div0_inheritted_op\nFormals: y:Y&\nLocals: \n DECLARE_LOCALS(&return); [line 40, column 1]\n " color=yellow style=filled] + + + "div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_1" -> "div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_3" ; +"div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_2" [label="2: Exit div0_inheritted_op \n " color=yellow style=filled] + + +"div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_3" [label="3: Return Stmt \n n$0=*&y:Y& [line 42, column 14]\n n$1=_fun_X_operator[](n$0:Y&,0:int) [line 42, column 14]\n *&return:int=(1 / n$1) [line 42, column 3]\n " shape="box"] + + + "div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_3" -> "div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_2" ; "div0_method#3394285867487200768.d62d68147390fdf119b5094668c7a05c_1" [label="1: Start div0_method\nFormals: x:X&\nLocals: v:int \n DECLARE_LOCALS(&return,&v); [line 34, column 1]\n " color=yellow style=filled] @@ -56,6 +41,32 @@ digraph cfg { "div0_method#3394285867487200768.d62d68147390fdf119b5094668c7a05c_4" -> "div0_method#3394285867487200768.d62d68147390fdf119b5094668c7a05c_3" ; +"div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_1" [label="1: Start div0_method_op\nFormals: x:X&\nLocals: v:int \n DECLARE_LOCALS(&return,&v); [line 20, column 1]\n " color=yellow style=filled] + + + "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_1" -> "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_4" ; +"div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_2" [label="2: Exit div0_method_op \n " color=yellow style=filled] + + +"div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_3" [label="3: Return Stmt \n n$0=*&v:int [line 23, column 14]\n *&return:int=(1 / n$0) [line 23, column 3]\n " shape="box"] + + + "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_3" -> "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_2" ; +"div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_4" [label="4: DeclStmt \n n$1=*&x:X& [line 22, column 11]\n n$2=_fun_X_operator[](n$1:X&,0:int) [line 22, column 11]\n *&v:int=n$2 [line 22, column 3]\n " shape="box"] + + + "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_4" -> "div0_method_op#16458634010327501325.9f8c8af0fef3459b668ce9bd6f32558b_3" ; +"div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_1" [label="1: Start div0_method_op_ptr\nFormals: x:X*\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] + + + "div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_1" -> "div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_3" ; +"div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_2" [label="2: Exit div0_method_op_ptr \n " color=yellow style=filled] + + +"div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_3" [label="3: Return Stmt \n n$0=*&x:X* [line 26, column 45]\n n$1=_fun_X_operator[](n$0:X&,0:int) [line 26, column 43]\n *&return:int=(1 / n$1) [line 26, column 32]\n " shape="box"] + + + "div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_3" -> "div0_method_op_ptr#10912550985860444792.096d01aa199facb5a8d76aa262f16057_2" ; "div1_method_op#5439663249593761892.a2cc6fb171f5c009c72f5f33927b41f0_1" [label="1: Start div1_method_op\nFormals: x:X&\nLocals: \n DECLARE_LOCALS(&return); [line 45, column 1]\n " color=yellow style=filled] @@ -78,17 +89,6 @@ digraph cfg { "operator*#4316404986835462590.093a55f98689434d1f9613fa50369af8_3" -> "operator*#4316404986835462590.093a55f98689434d1f9613fa50369af8_2" ; -"div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_1" [label="1: Start div0_inheritted_op\nFormals: y:Y&\nLocals: \n DECLARE_LOCALS(&return); [line 40, column 1]\n " color=yellow style=filled] - - - "div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_1" -> "div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_3" ; -"div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_2" [label="2: Exit div0_inheritted_op \n " color=yellow style=filled] - - -"div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_3" [label="3: Return Stmt \n n$0=*&y:Y& [line 42, column 14]\n n$1=_fun_X_operator[](n$0:Y&,0:int) [line 42, column 14]\n *&return:int=(1 / n$1) [line 42, column 3]\n " shape="box"] - - - "div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_3" -> "div0_inheritted_op#3897716987010755035.349c69d7e8317217b8bcc1ac60f4e8bb_2" ; "operator[]#X#(3980843005732688320).87f471ecf13fcbe94f2fb145dcf9a072_1" [label="1: Start X_operator[]\nFormals: this:X* x:int\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 3]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/types/return_struct.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/return_struct.cpp.dot index 697058184..fe2caef59 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/return_struct.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/return_struct.cpp.dot @@ -1,46 +1,39 @@ /* @generated */ digraph cfg { -"get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_1" [label="1: Start return_struct::get_div0\nFormals: \nLocals: x:return_struct::X 0$?%__sil_tmpSIL_materialize_temp__n$2:return_struct::X \n DECLARE_LOCALS(&return,&x,&0$?%__sil_tmpSIL_materialize_temp__n$2); [line 27, column 1]\n " color=yellow style=filled] - - - "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_1" -> "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_4" ; -"get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_2" [label="2: Exit return_struct::get_div0 \n " color=yellow style=filled] - - -"get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_3" [label="3: Return Stmt \n n$0=*&x.f:int [line 29, column 14]\n *&return:int=(1 / n$0) [line 29, column 3]\n _=*&x:return_struct::X [line 29, column 16]\n _fun_return_struct::X_~X(&x:return_struct::X*) [line 29, column 16]\n " shape="box"] +"get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_1" [label="1: Start return_struct::get\nFormals: a:int __return_param:return_struct::X*\nLocals: x:return_struct::X \n DECLARE_LOCALS(&return,&x); [line 21, column 1]\n " color=yellow style=filled] - "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_3" -> "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_2" ; -"get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_4" [label="4: DeclStmt \n _fun_return_struct::get(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$2:return_struct::X*) [line 28, column 9]\n _fun_return_struct::X_X(&x:return_struct::X*,&0$?%__sil_tmpSIL_materialize_temp__n$2:return_struct::X&) [line 28, column 9]\n " shape="box"] + "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_1" -> "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_5" ; +"get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_2" [label="2: Exit return_struct::get \n " color=yellow style=filled] - "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_4" -> "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_3" ; -"get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_1" [label="1: Start return_struct::get_field_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X 0$?%__sil_tmpSIL_materialize_temp__n$3:return_struct::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0,&0$?%__sil_tmpSIL_materialize_temp__n$3); [line 32, column 1]\n " color=yellow style=filled] +"get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_3" [label="3: Return Stmt \n n$0=*&__return_param:return_struct::X* [line 24, column 3]\n _fun_return_struct::X_X(n$0:return_struct::X*,&x:return_struct::X&) [line 24, column 10]\n _=*&x:return_struct::X [line 24, column 10]\n _fun_return_struct::X_~X(&x:return_struct::X*) [line 24, column 10]\n " shape="box"] - "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_1" -> "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_4" ; -"get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_2" [label="2: Exit return_struct::get_field_div0 \n " color=yellow style=filled] + "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_3" -> "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_2" ; +"get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&a:int [line 23, column 9]\n *&x.f:int=n$2 [line 23, column 3]\n " shape="box"] -"get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_3" [label="3: Return Stmt \n _fun_return_struct::get(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X*) [line 34, column 14]\n n$2=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 34, column 14]\n *&return:int=(1 / n$2) [line 34, column 3]\n " shape="box"] + "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_4" -> "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_3" ; +"get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_5" [label="5: DeclStmt \n _fun_return_struct::X_X(&x:return_struct::X*) [line 22, column 5]\n " shape="box"] - "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_3" -> "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_2" ; -"get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_4" [label="4: Call _fun_return_struct::X_skip \n _fun_return_struct::get(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$3:return_struct::X*) [line 33, column 3]\n _=*&0$?%__sil_tmpSIL_materialize_temp__n$3:return_struct::X [line 33, column 3]\n n$6=_fun_return_struct::X_skip(&0$?%__sil_tmpSIL_materialize_temp__n$3:return_struct::X&) [line 33, column 3]\n " shape="box"] + "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_5" -> "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_4" ; +"get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_1" [label="1: Start return_struct::get_div0\nFormals: \nLocals: x:return_struct::X 0$?%__sil_tmpSIL_materialize_temp__n$2:return_struct::X \n DECLARE_LOCALS(&return,&x,&0$?%__sil_tmpSIL_materialize_temp__n$2); [line 27, column 1]\n " color=yellow style=filled] - "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_4" -> "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_3" ; -"get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_1" [label="1: Start return_struct::get_method_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 37, column 1]\n " color=yellow style=filled] + "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_1" -> "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_4" ; +"get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_2" [label="2: Exit return_struct::get_div0 \n " color=yellow style=filled] - "get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_1" -> "get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_3" ; -"get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_2" [label="2: Exit return_struct::get_method_div0 \n " color=yellow style=filled] +"get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_3" [label="3: Return Stmt \n n$0=*&x.f:int [line 29, column 14]\n *&return:int=(1 / n$0) [line 29, column 3]\n _=*&x:return_struct::X [line 29, column 16]\n _fun_return_struct::X_~X(&x:return_struct::X*) [line 29, column 16]\n " shape="box"] -"get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_3" [label="3: Return Stmt \n _fun_return_struct::get(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X*) [line 37, column 32]\n _=*&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X [line 37, column 32]\n n$3=_fun_return_struct::X_div(&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X&) [line 37, column 32]\n *&return:int=n$3 [line 37, column 25]\n " shape="box"] + "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_3" -> "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_2" ; +"get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_4" [label="4: DeclStmt \n _fun_return_struct::get(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$2:return_struct::X*) [line 28, column 9]\n _fun_return_struct::X_X(&x:return_struct::X*,&0$?%__sil_tmpSIL_materialize_temp__n$2:return_struct::X&) [line 28, column 9]\n " shape="box"] - "get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_3" -> "get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_2" ; + "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_4" -> "get_div0#return_struct#3543093399648500387.0c3db3a444952aefeee44e54da50327a_3" ; "get_div1#return_struct#4287655186293816212.dabfacf04a7d838f8bdc3ef21786303d_1" [label="1: Start return_struct::get_div1\nFormals: \nLocals: x:return_struct::X 0$?%__sil_tmpSIL_materialize_temp__n$2:return_struct::X \n DECLARE_LOCALS(&return,&x,&0$?%__sil_tmpSIL_materialize_temp__n$2); [line 39, column 1]\n " color=yellow style=filled] @@ -56,6 +49,21 @@ digraph cfg { "get_div1#return_struct#4287655186293816212.dabfacf04a7d838f8bdc3ef21786303d_4" -> "get_div1#return_struct#4287655186293816212.dabfacf04a7d838f8bdc3ef21786303d_3" ; +"get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_1" [label="1: Start return_struct::get_field_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X 0$?%__sil_tmpSIL_materialize_temp__n$3:return_struct::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0,&0$?%__sil_tmpSIL_materialize_temp__n$3); [line 32, column 1]\n " color=yellow style=filled] + + + "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_1" -> "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_4" ; +"get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_2" [label="2: Exit return_struct::get_field_div0 \n " color=yellow style=filled] + + +"get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_3" [label="3: Return Stmt \n _fun_return_struct::get(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X*) [line 34, column 14]\n n$2=*&0$?%__sil_tmpSIL_materialize_temp__n$0.f:int [line 34, column 14]\n *&return:int=(1 / n$2) [line 34, column 3]\n " shape="box"] + + + "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_3" -> "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_2" ; +"get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_4" [label="4: Call _fun_return_struct::X_skip \n _fun_return_struct::get(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$3:return_struct::X*) [line 33, column 3]\n _=*&0$?%__sil_tmpSIL_materialize_temp__n$3:return_struct::X [line 33, column 3]\n n$6=_fun_return_struct::X_skip(&0$?%__sil_tmpSIL_materialize_temp__n$3:return_struct::X&) [line 33, column 3]\n " shape="box"] + + + "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_4" -> "get_field_div0#return_struct#5765383981880135147.23dc82d8c29aaec22d9b9a68808820c3_3" ; "get_field_div1#return_struct#6265027354366635900.8e009a5c61cd6a7375811ae0019c838c_1" [label="1: Start return_struct::get_field_div1\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 44, column 1]\n " color=yellow style=filled] @@ -67,36 +75,28 @@ digraph cfg { "get_field_div1#return_struct#6265027354366635900.8e009a5c61cd6a7375811ae0019c838c_3" -> "get_field_div1#return_struct#6265027354366635900.8e009a5c61cd6a7375811ae0019c838c_2" ; -"get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_1" [label="1: Start return_struct::get_method_div1\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 46, column 1]\n " color=yellow style=filled] - - - "get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_1" -> "get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_3" ; -"get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_2" [label="2: Exit return_struct::get_method_div1 \n " color=yellow style=filled] - - -"get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_3" [label="3: Return Stmt \n _fun_return_struct::get(1:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X*) [line 46, column 32]\n _=*&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X [line 46, column 32]\n n$3=_fun_return_struct::X_div(&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X&) [line 46, column 32]\n *&return:int=n$3 [line 46, column 25]\n " shape="box"] +"get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_1" [label="1: Start return_struct::get_method_div0\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 37, column 1]\n " color=yellow style=filled] - "get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_3" -> "get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_2" ; -"get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_1" [label="1: Start return_struct::get\nFormals: a:int __return_param:return_struct::X*\nLocals: x:return_struct::X \n DECLARE_LOCALS(&return,&x); [line 21, column 1]\n " color=yellow style=filled] + "get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_1" -> "get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_3" ; +"get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_2" [label="2: Exit return_struct::get_method_div0 \n " color=yellow style=filled] - "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_1" -> "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_5" ; -"get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_2" [label="2: Exit return_struct::get \n " color=yellow style=filled] +"get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_3" [label="3: Return Stmt \n _fun_return_struct::get(0:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X*) [line 37, column 32]\n _=*&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X [line 37, column 32]\n n$3=_fun_return_struct::X_div(&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X&) [line 37, column 32]\n *&return:int=n$3 [line 37, column 25]\n " shape="box"] -"get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_3" [label="3: Return Stmt \n n$0=*&__return_param:return_struct::X* [line 24, column 3]\n _fun_return_struct::X_X(n$0:return_struct::X*,&x:return_struct::X&) [line 24, column 10]\n _=*&x:return_struct::X [line 24, column 10]\n _fun_return_struct::X_~X(&x:return_struct::X*) [line 24, column 10]\n " shape="box"] + "get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_3" -> "get_method_div0#return_struct#1033779568239724265.1e897486d64ba4a977e56cdd041d6ba7_2" ; +"get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_1" [label="1: Start return_struct::get_method_div1\nFormals: \nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_materialize_temp__n$0); [line 46, column 1]\n " color=yellow style=filled] - "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_3" -> "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_2" ; -"get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_4" [label="4: BinaryOperatorStmt: Assign \n n$2=*&a:int [line 23, column 9]\n *&x.f:int=n$2 [line 23, column 3]\n " shape="box"] + "get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_1" -> "get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_3" ; +"get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_2" [label="2: Exit return_struct::get_method_div1 \n " color=yellow style=filled] - "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_4" -> "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_3" ; -"get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_5" [label="5: DeclStmt \n _fun_return_struct::X_X(&x:return_struct::X*) [line 22, column 5]\n " shape="box"] +"get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_3" [label="3: Return Stmt \n _fun_return_struct::get(1:int,&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X*) [line 46, column 32]\n _=*&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X [line 46, column 32]\n n$3=_fun_return_struct::X_div(&0$?%__sil_tmpSIL_materialize_temp__n$0:return_struct::X&) [line 46, column 32]\n *&return:int=n$3 [line 46, column 25]\n " shape="box"] - "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_5" -> "get#return_struct#15206943163581446197.ccfaa809d6b1c936572851236a9ccb10_4" ; + "get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_3" -> "get_method_div1#return_struct#1525840708539595762.816387a0cceab2d825a8393a6ca5d5a1_2" ; "X#X#return_struct#{16980707005325791470}.5cc7c757bfe221e617030d485a90aa08_1" [label="1: Start return_struct::X_X\nFormals: this:return_struct::X*\nLocals: \n DECLARE_LOCALS(&return); [line 16, column 3]\n " color=yellow style=filled] @@ -108,26 +108,26 @@ digraph cfg { "X#X#return_struct#{16980707005325791470}.5cc7c757bfe221e617030d485a90aa08_3" -> "X#X#return_struct#{16980707005325791470}.5cc7c757bfe221e617030d485a90aa08_2" ; -"div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_1" [label="1: Start return_struct::X_div\nFormals: this:return_struct::X*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] +"X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_1" [label="1: Start return_struct::X_X\nFormals: this:return_struct::X* x:return_struct::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 3]\n " color=yellow style=filled] - "div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_1" -> "div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_3" ; -"div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_2" [label="2: Exit return_struct::X_div \n " color=yellow style=filled] + "X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_1" -> "X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_3" ; +"X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_2" [label="2: Exit return_struct::X_X \n " color=yellow style=filled] -"div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_3" [label="3: Return Stmt \n n$0=*&this:return_struct::X* [line 17, column 26]\n n$1=*n$0.f:int [line 17, column 26]\n *&return:int=(1 / n$1) [line 17, column 15]\n " shape="box"] +"X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:return_struct::X* [line 15, column 19]\n n$1=*&x:return_struct::X const & [line 15, column 23]\n n$2=*n$1.f:int [line 15, column 23]\n *n$0.f:int=n$2 [line 15, column 19]\n " shape="box"] - "div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_3" -> "div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_2" ; -"X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_1" [label="1: Start return_struct::X_X\nFormals: this:return_struct::X* x:return_struct::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 3]\n " color=yellow style=filled] + "X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_3" -> "X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_2" ; +"div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_1" [label="1: Start return_struct::X_div\nFormals: this:return_struct::X*\nLocals: \n DECLARE_LOCALS(&return); [line 17, column 3]\n " color=yellow style=filled] - "X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_1" -> "X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_3" ; -"X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_2" [label="2: Exit return_struct::X_X \n " color=yellow style=filled] + "div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_1" -> "div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_3" ; +"div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_2" [label="2: Exit return_struct::X_div \n " color=yellow style=filled] -"X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&this:return_struct::X* [line 15, column 19]\n n$1=*&x:return_struct::X const & [line 15, column 23]\n n$2=*n$1.f:int [line 15, column 23]\n *n$0.f:int=n$2 [line 15, column 19]\n " shape="box"] +"div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_3" [label="3: Return Stmt \n n$0=*&this:return_struct::X* [line 17, column 26]\n n$1=*n$0.f:int [line 17, column 26]\n *&return:int=(1 / n$1) [line 17, column 15]\n " shape="box"] - "X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_3" -> "X#X#return_struct#{2874542973664462157}.c7820661c77babcd49c610d7742e613f_2" ; + "div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_3" -> "div#X#return_struct#(9073902918758280554).5ec34a4946de2226a51954167b2298aa_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/types/struct_forward_declare.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/struct_forward_declare.cpp.dot index 304384287..0534b514b 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/struct_forward_declare.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/struct_forward_declare.cpp.dot @@ -1,24 +1,5 @@ /* @generated */ digraph cfg { -"X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_1" [label="1: Start struct_forward_declare::X_div0\nFormals: \nLocals: x:struct_forward_declare::X \n DECLARE_LOCALS(&return,&x); [line 36, column 1]\n " color=yellow style=filled] - - - "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_1" -> "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_5" ; -"X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_2" [label="2: Exit struct_forward_declare::X_div0 \n " color=yellow style=filled] - - -"X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_3" [label="3: Return Stmt \n _=*&x:struct_forward_declare::X [line 39, column 14]\n n$1=_fun_struct_forward_declare::X_getF(&x:struct_forward_declare::X&) [line 39, column 14]\n *&return:int=(1 / n$1) [line 39, column 3]\n " shape="box"] - - - "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_3" -> "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_2" ; -"X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 38, column 3]\n " shape="box"] - - - "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_4" -> "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_3" ; -"X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_5" [label="5: DeclStmt \n _fun_struct_forward_declare::X_X(&x:struct_forward_declare::X*) [line 37, column 5]\n " shape="box"] - - - "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_5" -> "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_4" ; "X_Y_div0#struct_forward_declare#18042232259689408087.5a34dbeba09cf8550874dbfc508af917_1" [label="1: Start struct_forward_declare::X_Y_div0\nFormals: \nLocals: x:struct_forward_declare::X \n DECLARE_LOCALS(&return,&x); [line 47, column 1]\n " color=yellow style=filled] @@ -59,25 +40,25 @@ digraph cfg { "X_Y_div0#struct_forward_declare#18042232259689408087.5a34dbeba09cf8550874dbfc508af917_10" -> "X_Y_div0#struct_forward_declare#18042232259689408087.5a34dbeba09cf8550874dbfc508af917_9" ; -"Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_1" [label="1: Start struct_forward_declare::Z_div0\nFormals: \nLocals: z:struct_forward_declare::Z \n DECLARE_LOCALS(&return,&z); [line 57, column 1]\n " color=yellow style=filled] +"X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_1" [label="1: Start struct_forward_declare::X_div0\nFormals: \nLocals: x:struct_forward_declare::X \n DECLARE_LOCALS(&return,&x); [line 36, column 1]\n " color=yellow style=filled] - "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_1" -> "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_5" ; -"Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_2" [label="2: Exit struct_forward_declare::Z_div0 \n " color=yellow style=filled] + "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_1" -> "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_5" ; +"X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_2" [label="2: Exit struct_forward_declare::X_div0 \n " color=yellow style=filled] -"Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_3" [label="3: Return Stmt \n _=*&z:struct_forward_declare::Z [line 60, column 14]\n n$1=_fun_struct_forward_declare::Z_getF(&z:struct_forward_declare::Z&) [line 60, column 14]\n *&return:int=(1 / n$1) [line 60, column 3]\n " shape="box"] +"X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_3" [label="3: Return Stmt \n _=*&x:struct_forward_declare::X [line 39, column 14]\n n$1=_fun_struct_forward_declare::X_getF(&x:struct_forward_declare::X&) [line 39, column 14]\n *&return:int=(1 / n$1) [line 39, column 3]\n " shape="box"] - "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_3" -> "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_2" ; -"Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_4" [label="4: BinaryOperatorStmt: Assign \n *&z.f:int=0 [line 59, column 3]\n " shape="box"] + "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_3" -> "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_2" ; +"X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_4" [label="4: BinaryOperatorStmt: Assign \n *&x.f:int=0 [line 38, column 3]\n " shape="box"] - "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_4" -> "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_3" ; -"Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_5" [label="5: DeclStmt \n _fun_struct_forward_declare::Z_Z(&z:struct_forward_declare::Z*) [line 58, column 5]\n " shape="box"] + "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_4" -> "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_3" ; +"X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_5" [label="5: DeclStmt \n _fun_struct_forward_declare::X_X(&x:struct_forward_declare::X*) [line 37, column 5]\n " shape="box"] - "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_5" -> "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_4" ; + "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_5" -> "X_div0#struct_forward_declare#14943490796844086809.e860fd7462df24ba7720802867a02ac2_4" ; "X_ptr_div0#struct_forward_declare#16748991602723853091.556e298a3b72ac8fb2b17fe94b42ea70_1" [label="1: Start struct_forward_declare::X_ptr_div0\nFormals: x:struct_forward_declare::X*\nLocals: \n DECLARE_LOCALS(&return); [line 42, column 1]\n " color=yellow style=filled] @@ -93,6 +74,25 @@ digraph cfg { "X_ptr_div0#struct_forward_declare#16748991602723853091.556e298a3b72ac8fb2b17fe94b42ea70_4" -> "X_ptr_div0#struct_forward_declare#16748991602723853091.556e298a3b72ac8fb2b17fe94b42ea70_3" ; +"Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_1" [label="1: Start struct_forward_declare::Z_div0\nFormals: \nLocals: z:struct_forward_declare::Z \n DECLARE_LOCALS(&return,&z); [line 57, column 1]\n " color=yellow style=filled] + + + "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_1" -> "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_5" ; +"Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_2" [label="2: Exit struct_forward_declare::Z_div0 \n " color=yellow style=filled] + + +"Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_3" [label="3: Return Stmt \n _=*&z:struct_forward_declare::Z [line 60, column 14]\n n$1=_fun_struct_forward_declare::Z_getF(&z:struct_forward_declare::Z&) [line 60, column 14]\n *&return:int=(1 / n$1) [line 60, column 3]\n " shape="box"] + + + "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_3" -> "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_2" ; +"Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_4" [label="4: BinaryOperatorStmt: Assign \n *&z.f:int=0 [line 59, column 3]\n " shape="box"] + + + "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_4" -> "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_3" ; +"Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_5" [label="5: DeclStmt \n _fun_struct_forward_declare::Z_Z(&z:struct_forward_declare::Z*) [line 58, column 5]\n " shape="box"] + + + "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_5" -> "Z_div0#struct_forward_declare#1627203008264837059.744970cb2a0863ceafbc26504cb09faf_4" ; "Z_ptr_div0#struct_forward_declare#18058661690516691263.44cb0d131c1ef6157feb3014da966171_1" [label="1: Start struct_forward_declare::Z_ptr_div0\nFormals: z:struct_forward_declare::Z*\nLocals: \n DECLARE_LOCALS(&return); [line 63, column 1]\n " color=yellow style=filled] @@ -119,6 +119,20 @@ digraph cfg { "fun_with_Z#struct_forward_declare#10740368644462176169.5b35208973ee3067771f8ce79f1cde31_3" -> "fun_with_Z#struct_forward_declare#10740368644462176169.5b35208973ee3067771f8ce79f1cde31_2" ; +"X#X#struct_forward_declare#{12172734746422509138}.f95806aaac40e962cb02caab9f49a493_1" [label="1: Start struct_forward_declare::X_X\nFormals: this:struct_forward_declare::X*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 8]\n " color=yellow style=filled] + + + "X#X#struct_forward_declare#{12172734746422509138}.f95806aaac40e962cb02caab9f49a493_1" -> "X#X#struct_forward_declare#{12172734746422509138}.f95806aaac40e962cb02caab9f49a493_2" ; +"X#X#struct_forward_declare#{12172734746422509138}.f95806aaac40e962cb02caab9f49a493_2" [label="2: Exit struct_forward_declare::X_X \n " color=yellow style=filled] + + +"Z#Z#struct_forward_declare#{16651271592300819332}.ef9c70a1786f586f582ba5bab79ecd77_1" [label="1: Start struct_forward_declare::Z_Z\nFormals: this:struct_forward_declare::Z*\nLocals: \n DECLARE_LOCALS(&return); [line 28, column 8]\n " color=yellow style=filled] + + + "Z#Z#struct_forward_declare#{16651271592300819332}.ef9c70a1786f586f582ba5bab79ecd77_1" -> "Z#Z#struct_forward_declare#{16651271592300819332}.ef9c70a1786f586f582ba5bab79ecd77_2" ; +"Z#Z#struct_forward_declare#{16651271592300819332}.ef9c70a1786f586f582ba5bab79ecd77_2" [label="2: Exit struct_forward_declare::Z_Z \n " color=yellow style=filled] + + "getF#X#struct_forward_declare#(234869530037436282).15dd2207cd05d172845e5598032cd97a_1" [label="1: Start struct_forward_declare::X_getF\nFormals: this:struct_forward_declare::X*\nLocals: \n DECLARE_LOCALS(&return); [line 21, column 3]\n " color=yellow style=filled] @@ -130,13 +144,6 @@ digraph cfg { "getF#X#struct_forward_declare#(234869530037436282).15dd2207cd05d172845e5598032cd97a_3" -> "getF#X#struct_forward_declare#(234869530037436282).15dd2207cd05d172845e5598032cd97a_2" ; -"X#X#struct_forward_declare#{12172734746422509138}.f95806aaac40e962cb02caab9f49a493_1" [label="1: Start struct_forward_declare::X_X\nFormals: this:struct_forward_declare::X*\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 8]\n " color=yellow style=filled] - - - "X#X#struct_forward_declare#{12172734746422509138}.f95806aaac40e962cb02caab9f49a493_1" -> "X#X#struct_forward_declare#{12172734746422509138}.f95806aaac40e962cb02caab9f49a493_2" ; -"X#X#struct_forward_declare#{12172734746422509138}.f95806aaac40e962cb02caab9f49a493_2" [label="2: Exit struct_forward_declare::X_X \n " color=yellow style=filled] - - "getF#Z#struct_forward_declare#(5569044973946019300).d77d2dfdba7ae36577dff1573b1c79e7_1" [label="1: Start struct_forward_declare::Z_getF\nFormals: this:struct_forward_declare::Z*\nLocals: \n DECLARE_LOCALS(&return); [line 30, column 3]\n " color=yellow style=filled] @@ -148,11 +155,4 @@ digraph cfg { "getF#Z#struct_forward_declare#(5569044973946019300).d77d2dfdba7ae36577dff1573b1c79e7_3" -> "getF#Z#struct_forward_declare#(5569044973946019300).d77d2dfdba7ae36577dff1573b1c79e7_2" ; -"Z#Z#struct_forward_declare#{16651271592300819332}.ef9c70a1786f586f582ba5bab79ecd77_1" [label="1: Start struct_forward_declare::Z_Z\nFormals: this:struct_forward_declare::Z*\nLocals: \n DECLARE_LOCALS(&return); [line 28, column 8]\n " color=yellow style=filled] - - - "Z#Z#struct_forward_declare#{16651271592300819332}.ef9c70a1786f586f582ba5bab79ecd77_1" -> "Z#Z#struct_forward_declare#{16651271592300819332}.ef9c70a1786f586f582ba5bab79ecd77_2" ; -"Z#Z#struct_forward_declare#{16651271592300819332}.ef9c70a1786f586f582ba5bab79ecd77_2" [label="2: Exit struct_forward_declare::Z_Z \n " color=yellow style=filled] - - } diff --git a/infer/tests/codetoanalyze/cpp/shared/types/struct_pass_by_value.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/struct_pass_by_value.cpp.dot index eb2830ffc..7e0f18890 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/struct_pass_by_value.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/struct_pass_by_value.cpp.dot @@ -1,57 +1,5 @@ /* @generated */ digraph cfg { -"var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_1" [label="1: Start struct_pass_by_value::var_div0\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X x:struct_pass_by_value::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$0,&x); [line 27, column 1]\n " color=yellow style=filled] - - - "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_1" -> "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_4" ; -"var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_2" [label="2: Exit struct_pass_by_value::var_div0 \n " color=yellow style=filled] - - -"var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_3" [label="3: Return Stmt \n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X*,&x:struct_pass_by_value::X&) [line 29, column 20]\n n$1=_fun_struct_pass_by_value::get_f(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X) [line 29, column 14]\n *&return:int=(1 / n$1) [line 29, column 3]\n _=*&x:struct_pass_by_value::X [line 29, column 21]\n _fun_struct_pass_by_value::X_~X(&x:struct_pass_by_value::X*) [line 29, column 21]\n " shape="box"] - - - "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_3" -> "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_2" ; -"var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_4" [label="4: DeclStmt \n _fun_struct_pass_by_value::X_X(&x:struct_pass_by_value::X*,0:int) [line 28, column 5]\n " shape="box"] - - - "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_4" -> "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_3" ; -"var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_1" [label="1: Start struct_pass_by_value::var_div1\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X x:struct_pass_by_value::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$0,&x); [line 32, column 1]\n " color=yellow style=filled] - - - "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_1" -> "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_4" ; -"var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_2" [label="2: Exit struct_pass_by_value::var_div1 \n " color=yellow style=filled] - - -"var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_3" [label="3: Return Stmt \n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X*,&x:struct_pass_by_value::X&) [line 34, column 20]\n n$1=_fun_struct_pass_by_value::get_f(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X) [line 34, column 14]\n *&return:int=(1 / n$1) [line 34, column 3]\n _=*&x:struct_pass_by_value::X [line 34, column 21]\n _fun_struct_pass_by_value::X_~X(&x:struct_pass_by_value::X*) [line 34, column 21]\n " shape="box"] - - - "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_3" -> "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_2" ; -"var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_4" [label="4: DeclStmt \n _fun_struct_pass_by_value::X_X(&x:struct_pass_by_value::X*,1:int) [line 33, column 5]\n " shape="box"] - - - "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_4" -> "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_3" ; -"temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_1" [label="1: Start struct_pass_by_value::temp_div0\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X 0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$0,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 37, column 1]\n " color=yellow style=filled] - - - "temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_1" -> "temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_3" ; -"temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_2" [label="2: Exit struct_pass_by_value::temp_div0 \n " color=yellow style=filled] - - -"temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_3" [label="3: Return Stmt \n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X*,0:int) [line 37, column 36]\n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X&) [line 37, column 36]\n n$2=_fun_struct_pass_by_value::get_f(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X) [line 37, column 30]\n *&return:int=(1 / n$2) [line 37, column 19]\n " shape="box"] - - - "temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_3" -> "temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_2" ; -"temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_1" [label="1: Start struct_pass_by_value::temp_div1\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X 0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$0,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 39, column 1]\n " color=yellow style=filled] - - - "temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_1" -> "temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_3" ; -"temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_2" [label="2: Exit struct_pass_by_value::temp_div1 \n " color=yellow style=filled] - - -"temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_3" [label="3: Return Stmt \n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X*,1:int) [line 39, column 36]\n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X&) [line 39, column 36]\n n$2=_fun_struct_pass_by_value::get_f(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X) [line 39, column 30]\n *&return:int=(1 / n$2) [line 39, column 19]\n " shape="box"] - - - "temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_3" -> "temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_2" ; "field_div0#struct_pass_by_value#10739265731582012189.309f906a63458fd1d3c6651d011f1020_1" [label="1: Start struct_pass_by_value::field_div0\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X y:struct_pass_by_value::Y x:struct_pass_by_value::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$0,&y,&x); [line 41, column 1]\n " color=yellow style=filled] @@ -71,6 +19,17 @@ digraph cfg { "field_div0#struct_pass_by_value#10739265731582012189.309f906a63458fd1d3c6651d011f1020_5" -> "field_div0#struct_pass_by_value#10739265731582012189.309f906a63458fd1d3c6651d011f1020_4" ; +"get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_1" [label="1: Start struct_pass_by_value::get_f\nFormals: val:struct_pass_by_value::X&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] + + + "get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_1" -> "get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_3" ; +"get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_2" [label="2: Exit struct_pass_by_value::get_f \n " color=yellow style=filled] + + +"get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_3" [label="3: Return Stmt \n n$0=*&val:struct_pass_by_value::X& [line 22, column 27]\n n$1=*n$0.f:int [line 22, column 27]\n *&return:int=n$1 [line 22, column 20]\n " shape="box"] + + + "get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_3" -> "get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_2" ; "param_get_copied_div0#struct_pass_by_value#5422600122206315156.a9ecc5bcf15beb35ee10b7d5c038ad8e_1" [label="1: Start struct_pass_by_value::param_get_copied_div0\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$2:struct_pass_by_value::X x:struct_pass_by_value::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$2,&x); [line 47, column 1]\n " color=yellow style=filled] @@ -109,50 +68,69 @@ digraph cfg { "param_get_copied_div1#struct_pass_by_value#4678038335560999331.58ffd03114defd7dfa2ce1d8e7c84b46_5" -> "param_get_copied_div1#struct_pass_by_value#4678038335560999331.58ffd03114defd7dfa2ce1d8e7c84b46_4" ; -"get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_1" [label="1: Start struct_pass_by_value::get_f\nFormals: val:struct_pass_by_value::X&(byval)\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] +"set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_1" [label="1: Start struct_pass_by_value::set_f\nFormals: val:struct_pass_by_value::X&(byval) f:int\nLocals: \n DECLARE_LOCALS(&return); [line 25, column 1]\n " color=yellow style=filled] - "get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_1" -> "get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_3" ; -"get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_2" [label="2: Exit struct_pass_by_value::get_f \n " color=yellow style=filled] + "set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_1" -> "set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_3" ; +"set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_2" [label="2: Exit struct_pass_by_value::set_f \n " color=yellow style=filled] -"get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_3" [label="3: Return Stmt \n n$0=*&val:struct_pass_by_value::X& [line 22, column 27]\n n$1=*n$0.f:int [line 22, column 27]\n *&return:int=n$1 [line 22, column 20]\n " shape="box"] +"set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&val:struct_pass_by_value::X& [line 25, column 28]\n n$1=*&f:int [line 25, column 36]\n *n$0.f:int=n$1 [line 25, column 28]\n " shape="box"] - "get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_3" -> "get_f#struct_pass_by_value#16901161791851138670.e181cdd22ed5b9b12bfb0f726d36256b_2" ; -"set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_1" [label="1: Start struct_pass_by_value::set_f\nFormals: val:struct_pass_by_value::X&(byval) f:int\nLocals: \n DECLARE_LOCALS(&return); [line 25, column 1]\n " color=yellow style=filled] + "set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_3" -> "set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_2" ; +"temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_1" [label="1: Start struct_pass_by_value::temp_div0\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X 0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$0,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 37, column 1]\n " color=yellow style=filled] - "set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_1" -> "set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_3" ; -"set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_2" [label="2: Exit struct_pass_by_value::set_f \n " color=yellow style=filled] + "temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_1" -> "temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_3" ; +"temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_2" [label="2: Exit struct_pass_by_value::temp_div0 \n " color=yellow style=filled] -"set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_3" [label="3: BinaryOperatorStmt: Assign \n n$0=*&val:struct_pass_by_value::X& [line 25, column 28]\n n$1=*&f:int [line 25, column 36]\n *n$0.f:int=n$1 [line 25, column 28]\n " shape="box"] +"temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_3" [label="3: Return Stmt \n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X*,0:int) [line 37, column 36]\n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X&) [line 37, column 36]\n n$2=_fun_struct_pass_by_value::get_f(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X) [line 37, column 30]\n *&return:int=(1 / n$2) [line 37, column 19]\n " shape="box"] - "set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_3" -> "set_f#struct_pass_by_value#449985082730240817.3244dc0de9a72d4ec2d03e236d94d06e_2" ; -"X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_1" [label="1: Start struct_pass_by_value::X_X\nFormals: this:struct_pass_by_value::X* __param_0:struct_pass_by_value::X&\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] + "temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_3" -> "temp_div0#struct_pass_by_value#12428807554484697371.c8fca64e841f1b138c802c96104d913c_2" ; +"temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_1" [label="1: Start struct_pass_by_value::temp_div1\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X 0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$0,&0$?%__sil_tmpSIL_materialize_temp__n$1); [line 39, column 1]\n " color=yellow style=filled] - "X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_1" -> "X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_3" ; -"X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_2" [label="2: Exit struct_pass_by_value::X_X \n " color=yellow style=filled] + "temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_1" -> "temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_3" ; +"temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_2" [label="2: Exit struct_pass_by_value::temp_div1 \n " color=yellow style=filled] -"X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_3" [label="3: Constructor Init \n n$0=*&this:struct_pass_by_value::X* [line 12, column 8]\n n$1=*&__param_0:struct_pass_by_value::X& [line 12, column 8]\n n$2=*n$1.f:int [line 12, column 8]\n *n$0.f:int=n$2 [line 12, column 8]\n " shape="box"] +"temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_3" [label="3: Return Stmt \n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X*,1:int) [line 39, column 36]\n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X*,&0$?%__sil_tmpSIL_materialize_temp__n$1:struct_pass_by_value::X&) [line 39, column 36]\n n$2=_fun_struct_pass_by_value::get_f(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X) [line 39, column 30]\n *&return:int=(1 / n$2) [line 39, column 19]\n " shape="box"] - "X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_3" -> "X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_2" ; -"X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_1" [label="1: Start struct_pass_by_value::X_X\nFormals: this:struct_pass_by_value::X* __param_0:struct_pass_by_value::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] + "temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_3" -> "temp_div1#struct_pass_by_value#13173334156757910444.11618e43948d09c7324724af84bc0d5b_2" ; +"var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_1" [label="1: Start struct_pass_by_value::var_div0\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X x:struct_pass_by_value::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$0,&x); [line 27, column 1]\n " color=yellow style=filled] - "X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_1" -> "X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_3" ; -"X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_2" [label="2: Exit struct_pass_by_value::X_X \n " color=yellow style=filled] + "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_1" -> "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_4" ; +"var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_2" [label="2: Exit struct_pass_by_value::var_div0 \n " color=yellow style=filled] -"X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_3" [label="3: Constructor Init \n n$0=*&this:struct_pass_by_value::X* [line 12, column 8]\n n$1=*&__param_0:struct_pass_by_value::X const & [line 12, column 8]\n n$2=*n$1.f:int [line 12, column 8]\n *n$0.f:int=n$2 [line 12, column 8]\n " shape="box"] +"var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_3" [label="3: Return Stmt \n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X*,&x:struct_pass_by_value::X&) [line 29, column 20]\n n$1=_fun_struct_pass_by_value::get_f(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X) [line 29, column 14]\n *&return:int=(1 / n$1) [line 29, column 3]\n _=*&x:struct_pass_by_value::X [line 29, column 21]\n _fun_struct_pass_by_value::X_~X(&x:struct_pass_by_value::X*) [line 29, column 21]\n " shape="box"] - "X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_3" -> "X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_2" ; + "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_3" -> "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_2" ; +"var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_4" [label="4: DeclStmt \n _fun_struct_pass_by_value::X_X(&x:struct_pass_by_value::X*,0:int) [line 28, column 5]\n " shape="box"] + + + "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_4" -> "var_div0#struct_pass_by_value#10764880494979445665.44da929aedf0cdc1afaea064cb399051_3" ; +"var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_1" [label="1: Start struct_pass_by_value::var_div1\nFormals: \nLocals: 0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X x:struct_pass_by_value::X \n DECLARE_LOCALS(&return,&0$?%__sil_tmp__temp_construct_n$0,&x); [line 32, column 1]\n " color=yellow style=filled] + + + "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_1" -> "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_4" ; +"var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_2" [label="2: Exit struct_pass_by_value::var_div1 \n " color=yellow style=filled] + + +"var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_3" [label="3: Return Stmt \n _fun_struct_pass_by_value::X_X(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X*,&x:struct_pass_by_value::X&) [line 34, column 20]\n n$1=_fun_struct_pass_by_value::get_f(&0$?%__sil_tmp__temp_construct_n$0:struct_pass_by_value::X) [line 34, column 14]\n *&return:int=(1 / n$1) [line 34, column 3]\n _=*&x:struct_pass_by_value::X [line 34, column 21]\n _fun_struct_pass_by_value::X_~X(&x:struct_pass_by_value::X*) [line 34, column 21]\n " shape="box"] + + + "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_3" -> "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_2" ; +"var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_4" [label="4: DeclStmt \n _fun_struct_pass_by_value::X_X(&x:struct_pass_by_value::X*,1:int) [line 33, column 5]\n " shape="box"] + + + "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_4" -> "var_div1#struct_pass_by_value#11501824865066029482.b667f3a6d8153cf4e571282bd064fc22_3" ; "X#X#struct_pass_by_value#{11203369373673859396}.cf8c3ea98f014a538f7f90e4593e75eb_1" [label="1: Start struct_pass_by_value::X_X\nFormals: this:struct_pass_by_value::X* f:int\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 3]\n " color=yellow style=filled] @@ -164,6 +142,28 @@ digraph cfg { "X#X#struct_pass_by_value#{11203369373673859396}.cf8c3ea98f014a538f7f90e4593e75eb_3" -> "X#X#struct_pass_by_value#{11203369373673859396}.cf8c3ea98f014a538f7f90e4593e75eb_2" ; +"X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_1" [label="1: Start struct_pass_by_value::X_X\nFormals: this:struct_pass_by_value::X* __param_0:struct_pass_by_value::X&\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] + + + "X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_1" -> "X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_3" ; +"X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_2" [label="2: Exit struct_pass_by_value::X_X \n " color=yellow style=filled] + + +"X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_3" [label="3: Constructor Init \n n$0=*&this:struct_pass_by_value::X* [line 12, column 8]\n n$1=*&__param_0:struct_pass_by_value::X& [line 12, column 8]\n n$2=*n$1.f:int [line 12, column 8]\n *n$0.f:int=n$2 [line 12, column 8]\n " shape="box"] + + + "X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_3" -> "X#X#struct_pass_by_value#{8495470270182220238|constexpr}.ea3fe0be489de1d7a9283f9ea7d8899f_2" ; +"X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_1" [label="1: Start struct_pass_by_value::X_X\nFormals: this:struct_pass_by_value::X* __param_0:struct_pass_by_value::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 8]\n " color=yellow style=filled] + + + "X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_1" -> "X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_3" ; +"X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_2" [label="2: Exit struct_pass_by_value::X_X \n " color=yellow style=filled] + + +"X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_3" [label="3: Constructor Init \n n$0=*&this:struct_pass_by_value::X* [line 12, column 8]\n n$1=*&__param_0:struct_pass_by_value::X const & [line 12, column 8]\n n$2=*n$1.f:int [line 12, column 8]\n *n$0.f:int=n$2 [line 12, column 8]\n " shape="box"] + + + "X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_3" -> "X#X#struct_pass_by_value#{9755652315089766298|constexpr}.81acc1c263466d84e0cc912cd1d47b28_2" ; "Y#Y#struct_pass_by_value#{2591422873810003675}.4cc6400ed3a8bedc19c95b6ea1876631_1" [label="1: Start struct_pass_by_value::Y_Y\nFormals: this:struct_pass_by_value::Y* x:struct_pass_by_value::X const &\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 3]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/types/type_trait_expr.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/type_trait_expr.cpp.dot index 0a0dcc420..55cdde1e5 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/type_trait_expr.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/type_trait_expr.cpp.dot @@ -1,25 +1,25 @@ /* @generated */ digraph cfg { -"is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_1" [label="1: Start is_trivial_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] +"is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_1" [label="1: Start is_pointer_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - "is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_1" -> "is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_3" ; -"is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_2" [label="2: Exit is_trivial_example \n " color=yellow style=filled] + "is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_1" -> "is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_3" ; +"is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_2" [label="2: Exit is_pointer_example \n " color=yellow style=filled] -"is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_3" [label="3: Return Stmt \n *&return:int=1 [line 10, column 28]\n " shape="box"] +"is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_3" [label="3: Return Stmt \n *&return:int=0 [line 12, column 28]\n " shape="box"] - "is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_3" -> "is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_2" ; -"is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_1" [label="1: Start is_pointer_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] + "is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_3" -> "is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_2" ; +"is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_1" [label="1: Start is_trivial_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 10, column 1]\n " color=yellow style=filled] - "is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_1" -> "is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_3" ; -"is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_2" [label="2: Exit is_pointer_example \n " color=yellow style=filled] + "is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_1" -> "is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_3" ; +"is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_2" [label="2: Exit is_trivial_example \n " color=yellow style=filled] -"is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_3" [label="3: Return Stmt \n *&return:int=0 [line 12, column 28]\n " shape="box"] +"is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_3" [label="3: Return Stmt \n *&return:int=1 [line 10, column 28]\n " shape="box"] - "is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_3" -> "is_pointer_example#993450452211025736.0084d63d3d455165560d25605d8a30c1_2" ; + "is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_3" -> "is_trivial_example#10742835098923825644.8d15716e7ef1310064fb1fe16e18181f_2" ; } diff --git a/infer/tests/codetoanalyze/objc/frontend/block/retain_cycle.m.dot b/infer/tests/codetoanalyze/objc/frontend/block/retain_cycle.m.dot index 863ae5339..f46396983 100644 --- a/infer/tests/codetoanalyze/objc/frontend/block/retain_cycle.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/block/retain_cycle.m.dot @@ -34,6 +34,17 @@ digraph cfg { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; +"objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_1" [label="1: Start objc_blockA_capture_1\nFormals: self:A* d:D*\nLocals: \nCaptured: self:A* \n DECLARE_LOCALS(&return); [line 47, column 16]\n " color=yellow style=filled] + + + "objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_1" -> "objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_3" ; +"objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_2" [label="2: Exit objc_blockA_capture_1 \n " color=yellow style=filled] + + +"objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_3" [label="3: BinaryOperatorStmt: Assign \n n$3=*&self:A* [line 48, column 5]\n n$4=*&d:D* [line 48, column 13]\n *n$3._data:D*=n$4 [line 48, column 5]\n " shape="box"] + + + "objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_3" -> "objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_2" ; "capture#A#instance.d411336575e4bf632a1828f5f5979726_1" [label="1: Start A_capture\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 45, column 1]\n " color=yellow style=filled] @@ -60,15 +71,4 @@ digraph cfg { "sHandler:#B#instance.590685250eb38eaab242405cd45c572b_3" -> "sHandler:#B#instance.590685250eb38eaab242405cd45c572b_2" ; -"objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_1" [label="1: Start objc_blockA_capture_1\nFormals: self:A* d:D*\nLocals: \nCaptured: self:A* \n DECLARE_LOCALS(&return); [line 47, column 16]\n " color=yellow style=filled] - - - "objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_1" -> "objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_3" ; -"objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_2" [label="2: Exit objc_blockA_capture_1 \n " color=yellow style=filled] - - -"objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_3" [label="3: BinaryOperatorStmt: Assign \n n$3=*&self:A* [line 48, column 5]\n n$4=*&d:D* [line 48, column 13]\n *n$3._data:D*=n$4 [line 48, column 5]\n " shape="box"] - - - "objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_3" -> "objc_blockA_capture_1.6fdcfe58244de8603cec62dad07f2ae4_2" ; } diff --git a/infer/tests/codetoanalyze/objc/frontend/block/static.m.dot b/infer/tests/codetoanalyze/objc/frontend/block/static.m.dot index 3c30a73f1..f423b52e0 100644 --- a/infer/tests/codetoanalyze/objc/frontend/block/static.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/block/static.m.dot @@ -1,118 +1,118 @@ /* @generated */ digraph cfg { -"test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_1" [label="1: Start A_test\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] +"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: argc:int argv:char const **\nLocals: \n DECLARE_LOCALS(&return); [line 60, column 1]\n " color=yellow style=filled] - "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_1" -> "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_4" ; -"test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_2" [label="2: Exit A_test \n " color=yellow style=filled] + "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; +"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] -"test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_3" [label="3: Return Stmt \n n$0=*&#GB$A_test.sharedInstance:objc_object* [line 25, column 10]\n *&return:objc_object*=n$0 [line 25, column 3]\n " shape="box"] +"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Return Stmt \n *&return:int=0 [line 60, column 42]\n " shape="box"] - "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_3" -> "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_2" ; -"test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_4" [label="4: Call (_fun_objc_blockA_test_1) \n (_fun_objc_blockA_test_1)() [line 20, column 3]\n " shape="box"] + "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; +"objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_1" [label="1: Start objc_blockA_test2_3\nFormals: \nLocals: p:objc_object* \n DECLARE_LOCALS(&return,&p); [line 39, column 3]\n " color=yellow style=filled] - "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_4" -> "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_3" ; -"test_leak#A#class.8240788aa53244827857be0e92d27671_1" [label="1: Start A_test_leak\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 28, column 1]\n " color=yellow style=filled] + "objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_1" -> "objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_3" ; +"objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_2" [label="2: Exit objc_blockA_test2_3 \n " color=yellow style=filled] - "test_leak#A#class.8240788aa53244827857be0e92d27671_1" -> "test_leak#A#class.8240788aa53244827857be0e92d27671_3" ; -"test_leak#A#class.8240788aa53244827857be0e92d27671_2" [label="2: Exit A_test_leak \n " color=yellow style=filled] +"objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_3" [label="3: DeclStmt \n n$6=*&#GB$A_test2.sharedInstance:objc_object* [line 41, column 12]\n *&p:objc_object*=n$6 [line 41, column 5]\n " shape="box"] -"test_leak#A#class.8240788aa53244827857be0e92d27671_3" [label="3: Call (_fun_objc_blockA_test_leak_2) \n (_fun_objc_blockA_test_leak_2)() [line 30, column 3]\n " shape="box"] + "objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_3" -> "objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_2" ; +"objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_1" [label="1: Start objc_blockA_test3_4\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 50, column 3]\n " color=yellow style=filled] - "test_leak#A#class.8240788aa53244827857be0e92d27671_3" -> "test_leak#A#class.8240788aa53244827857be0e92d27671_2" ; -"test2#A#class.ce50cb13c3345decc567dd4eb6124604_1" [label="1: Start A_test2\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 36, column 1]\n " color=yellow style=filled] + "objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_1" -> "objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_3" ; +"objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_2" [label="2: Exit objc_blockA_test3_4 \n " color=yellow style=filled] - "test2#A#class.ce50cb13c3345decc567dd4eb6124604_1" -> "test2#A#class.ce50cb13c3345decc567dd4eb6124604_5" ; -"test2#A#class.ce50cb13c3345decc567dd4eb6124604_2" [label="2: Exit A_test2 \n " color=yellow style=filled] +"objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_3" [label="3: UnaryOperator \n n$10=*&#GB$A_test3.i:int [line 52, column 5]\n *&#GB$A_test3.i:int=(n$10 + 1) [line 52, column 5]\n " shape="box"] -"test2#A#class.ce50cb13c3345decc567dd4eb6124604_3" [label="3: Return Stmt \n n$5=*&#GB$A_test2.sharedInstance:objc_object* [line 44, column 10]\n *&return:objc_object*=n$5 [line 44, column 3]\n " shape="box"] + "objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_3" -> "objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_2" ; +"objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_1" [label="1: Start objc_blockA_test_1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 20, column 3]\n " color=yellow style=filled] - "test2#A#class.ce50cb13c3345decc567dd4eb6124604_3" -> "test2#A#class.ce50cb13c3345decc567dd4eb6124604_2" ; -"test2#A#class.ce50cb13c3345decc567dd4eb6124604_4" [label="4: Call (_fun_objc_blockA_test2_3) \n (_fun_objc_blockA_test2_3)() [line 39, column 3]\n " shape="box"] + "objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_1" -> "objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_3" ; +"objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_2" [label="2: Exit objc_blockA_test_1 \n " color=yellow style=filled] - "test2#A#class.ce50cb13c3345decc567dd4eb6124604_4" -> "test2#A#class.ce50cb13c3345decc567dd4eb6124604_3" ; -"test2#A#class.ce50cb13c3345decc567dd4eb6124604_5" [label="5: BinaryOperatorStmt: Assign \n n$7=_fun___objc_alloc_no_fail(sizeof(t=A):unsigned long) [line 38, column 21]\n n$8=_fun_NSBundleResourceRequest_init(n$7:A*) virtual [line 38, column 20]\n *&#GB$A_test2.sharedInstance:objc_object*=n$8 [line 38, column 3]\n " shape="box"] +"objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_3" [label="3: BinaryOperatorStmt: Assign \n n$1=_fun___objc_alloc_no_fail(sizeof(t=A):unsigned long) [line 21, column 23]\n n$2=_fun_NSBundleResourceRequest_init(n$1:A*) virtual [line 21, column 22]\n *&#GB$A_test.sharedInstance:objc_object*=n$2 [line 21, column 5]\n " shape="box"] - "test2#A#class.ce50cb13c3345decc567dd4eb6124604_5" -> "test2#A#class.ce50cb13c3345decc567dd4eb6124604_4" ; -"test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_1" [label="1: Start A_test3\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 47, column 1]\n " color=yellow style=filled] + "objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_3" -> "objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_2" ; +"objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_1" [label="1: Start objc_blockA_test_leak_2\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 30, column 3]\n " color=yellow style=filled] - "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_1" -> "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_4" ; -"test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_2" [label="2: Exit A_test3 \n " color=yellow style=filled] + "objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_1" -> "objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_3" ; +"objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_2" [label="2: Exit objc_blockA_test_leak_2 \n " color=yellow style=filled] -"test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_3" [label="3: Return Stmt \n n$9=*&#GB$A_test3.i:int [line 55, column 10]\n *&return:int=n$9 [line 55, column 3]\n " shape="box"] +"objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_3" [label="3: BinaryOperatorStmt: Assign \n n$3=_fun___objc_alloc_no_fail(sizeof(t=A):unsigned long) [line 31, column 23]\n n$4=_fun_NSBundleResourceRequest_init(n$3:A*) virtual [line 31, column 22]\n *&#GB$A_test_leak.sharedInstance:objc_object*=n$4 [line 31, column 5]\n " shape="box"] - "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_3" -> "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_2" ; -"test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_4" [label="4: Call (_fun_objc_blockA_test3_4) \n (_fun_objc_blockA_test3_4)() [line 50, column 3]\n " shape="box"] + "objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_3" -> "objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_2" ; +"test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_1" [label="1: Start A_test\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] - "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_4" -> "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_3" ; -"objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_1" [label="1: Start objc_blockA_test_1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 20, column 3]\n " color=yellow style=filled] + "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_1" -> "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_4" ; +"test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_2" [label="2: Exit A_test \n " color=yellow style=filled] - "objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_1" -> "objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_3" ; -"objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_2" [label="2: Exit objc_blockA_test_1 \n " color=yellow style=filled] +"test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_3" [label="3: Return Stmt \n n$0=*&#GB$A_test.sharedInstance:objc_object* [line 25, column 10]\n *&return:objc_object*=n$0 [line 25, column 3]\n " shape="box"] -"objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_3" [label="3: BinaryOperatorStmt: Assign \n n$1=_fun___objc_alloc_no_fail(sizeof(t=A):unsigned long) [line 21, column 23]\n n$2=_fun_NSBundleResourceRequest_init(n$1:A*) virtual [line 21, column 22]\n *&#GB$A_test.sharedInstance:objc_object*=n$2 [line 21, column 5]\n " shape="box"] + "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_3" -> "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_2" ; +"test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_4" [label="4: Call (_fun_objc_blockA_test_1) \n (_fun_objc_blockA_test_1)() [line 20, column 3]\n " shape="box"] - "objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_3" -> "objc_blockA_test_1.91b00d7c265c98d7bfda34cc42ad73ed_2" ; -"objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_1" [label="1: Start objc_blockA_test_leak_2\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 30, column 3]\n " color=yellow style=filled] + "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_4" -> "test#A#class.c69ae9e6be36a2eeb5dcbaa1187c354d_3" ; +"test2#A#class.ce50cb13c3345decc567dd4eb6124604_1" [label="1: Start A_test2\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 36, column 1]\n " color=yellow style=filled] - "objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_1" -> "objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_3" ; -"objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_2" [label="2: Exit objc_blockA_test_leak_2 \n " color=yellow style=filled] + "test2#A#class.ce50cb13c3345decc567dd4eb6124604_1" -> "test2#A#class.ce50cb13c3345decc567dd4eb6124604_5" ; +"test2#A#class.ce50cb13c3345decc567dd4eb6124604_2" [label="2: Exit A_test2 \n " color=yellow style=filled] -"objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_3" [label="3: BinaryOperatorStmt: Assign \n n$3=_fun___objc_alloc_no_fail(sizeof(t=A):unsigned long) [line 31, column 23]\n n$4=_fun_NSBundleResourceRequest_init(n$3:A*) virtual [line 31, column 22]\n *&#GB$A_test_leak.sharedInstance:objc_object*=n$4 [line 31, column 5]\n " shape="box"] +"test2#A#class.ce50cb13c3345decc567dd4eb6124604_3" [label="3: Return Stmt \n n$5=*&#GB$A_test2.sharedInstance:objc_object* [line 44, column 10]\n *&return:objc_object*=n$5 [line 44, column 3]\n " shape="box"] - "objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_3" -> "objc_blockA_test_leak_2.5b3de3f9ef0695311853bace3ed320b8_2" ; -"objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_1" [label="1: Start objc_blockA_test2_3\nFormals: \nLocals: p:objc_object* \n DECLARE_LOCALS(&return,&p); [line 39, column 3]\n " color=yellow style=filled] + "test2#A#class.ce50cb13c3345decc567dd4eb6124604_3" -> "test2#A#class.ce50cb13c3345decc567dd4eb6124604_2" ; +"test2#A#class.ce50cb13c3345decc567dd4eb6124604_4" [label="4: Call (_fun_objc_blockA_test2_3) \n (_fun_objc_blockA_test2_3)() [line 39, column 3]\n " shape="box"] - "objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_1" -> "objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_3" ; -"objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_2" [label="2: Exit objc_blockA_test2_3 \n " color=yellow style=filled] + "test2#A#class.ce50cb13c3345decc567dd4eb6124604_4" -> "test2#A#class.ce50cb13c3345decc567dd4eb6124604_3" ; +"test2#A#class.ce50cb13c3345decc567dd4eb6124604_5" [label="5: BinaryOperatorStmt: Assign \n n$7=_fun___objc_alloc_no_fail(sizeof(t=A):unsigned long) [line 38, column 21]\n n$8=_fun_NSBundleResourceRequest_init(n$7:A*) virtual [line 38, column 20]\n *&#GB$A_test2.sharedInstance:objc_object*=n$8 [line 38, column 3]\n " shape="box"] -"objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_3" [label="3: DeclStmt \n n$6=*&#GB$A_test2.sharedInstance:objc_object* [line 41, column 12]\n *&p:objc_object*=n$6 [line 41, column 5]\n " shape="box"] + "test2#A#class.ce50cb13c3345decc567dd4eb6124604_5" -> "test2#A#class.ce50cb13c3345decc567dd4eb6124604_4" ; +"test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_1" [label="1: Start A_test3\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 47, column 1]\n " color=yellow style=filled] - "objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_3" -> "objc_blockA_test2_3.d73da2e84cb701fb03b2fbe656a01a1b_2" ; -"objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_1" [label="1: Start objc_blockA_test3_4\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 50, column 3]\n " color=yellow style=filled] + "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_1" -> "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_4" ; +"test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_2" [label="2: Exit A_test3 \n " color=yellow style=filled] - "objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_1" -> "objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_3" ; -"objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_2" [label="2: Exit objc_blockA_test3_4 \n " color=yellow style=filled] +"test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_3" [label="3: Return Stmt \n n$9=*&#GB$A_test3.i:int [line 55, column 10]\n *&return:int=n$9 [line 55, column 3]\n " shape="box"] -"objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_3" [label="3: UnaryOperator \n n$10=*&#GB$A_test3.i:int [line 52, column 5]\n *&#GB$A_test3.i:int=(n$10 + 1) [line 52, column 5]\n " shape="box"] + "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_3" -> "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_2" ; +"test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_4" [label="4: Call (_fun_objc_blockA_test3_4) \n (_fun_objc_blockA_test3_4)() [line 50, column 3]\n " shape="box"] - "objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_3" -> "objc_blockA_test3_4.645dc6f18a9ea7bd77a195ea083890a4_2" ; -"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: argc:int argv:char const **\nLocals: \n DECLARE_LOCALS(&return); [line 60, column 1]\n " color=yellow style=filled] + "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_4" -> "test3#A#class.041e0eaf033ae8cfa2af48253dfb07ee_3" ; +"test_leak#A#class.8240788aa53244827857be0e92d27671_1" [label="1: Start A_test_leak\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 28, column 1]\n " color=yellow style=filled] - "main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; -"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled] + "test_leak#A#class.8240788aa53244827857be0e92d27671_1" -> "test_leak#A#class.8240788aa53244827857be0e92d27671_3" ; +"test_leak#A#class.8240788aa53244827857be0e92d27671_2" [label="2: Exit A_test_leak \n " color=yellow style=filled] -"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Return Stmt \n *&return:int=0 [line 60, column 42]\n " shape="box"] +"test_leak#A#class.8240788aa53244827857be0e92d27671_3" [label="3: Call (_fun_objc_blockA_test_leak_2) \n (_fun_objc_blockA_test_leak_2)() [line 30, column 3]\n " shape="box"] - "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; + "test_leak#A#class.8240788aa53244827857be0e92d27671_3" -> "test_leak#A#class.8240788aa53244827857be0e92d27671_2" ; } diff --git a/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.m.dot b/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.m.dot index d18e0d5d8..8dbc7de2a 100644 --- a/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.m.dot @@ -1,43 +1,35 @@ /* @generated */ digraph cfg { -"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_1" [label="1: Start Boxing_getIntExp\nFormals: self:Boxing*\nLocals: n:NSNumber* y:int x:int \n DECLARE_LOCALS(&return,&n,&y,&x); [line 14, column 1]\n " color=yellow style=filled] - - - "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_1" -> "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_6" ; -"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_2" [label="2: Exit Boxing_getIntExp \n " color=yellow style=filled] - - -"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_3" [label="3: Return Stmt \n n$0=*&x:int [line 18, column 12]\n n$1=*&y:int [line 18, column 16]\n n$2=_fun_NSNumber_numberWithInt:((n$0 + n$1):int) [line 18, column 10]\n *&return:NSNumber*=n$2 [line 18, column 3]\n " shape="box"] +"getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_1" [label="1: Start Boxing_getBool\nFormals: self:Boxing*\nLocals: n:NSNumber* \n DECLARE_LOCALS(&return,&n); [line 36, column 1]\n " color=yellow style=filled] - "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_3" -> "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_2" ; -"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_4" [label="4: DeclStmt \n n$3=*&x:int [line 17, column 41]\n n$4=*&y:int [line 17, column 45]\n n$5=_fun_NSNumber_numberWithInt:((n$3 + n$4):int) [line 17, column 17]\n *&n:NSNumber*=n$5 [line 17, column 3]\n " shape="box"] + "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_1" -> "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_4" ; +"getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_2" [label="2: Exit Boxing_getBool \n " color=yellow style=filled] - "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_4" -> "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_3" ; -"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_5" [label="5: DeclStmt \n *&y:int=5 [line 16, column 3]\n " shape="box"] +"getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_3" [label="3: Return Stmt \n n$12=_fun_NSNumber_numberWithBool:(1:_Bool) [line 38, column 10]\n *&return:NSNumber*=n$12 [line 38, column 3]\n " shape="box"] - "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_5" -> "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_4" ; -"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_6" [label="6: DeclStmt \n *&x:int=4 [line 15, column 3]\n " shape="box"] + "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_3" -> "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_2" ; +"getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_4" [label="4: DeclStmt \n n$13=_fun_NSNumber_numberWithBool:(1:_Bool) [line 37, column 17]\n *&n:NSNumber*=n$13 [line 37, column 3]\n " shape="box"] - "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_6" -> "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_5" ; -"getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_1" [label="1: Start Boxing_getInt\nFormals: self:Boxing*\nLocals: n:NSNumber* \n DECLARE_LOCALS(&return,&n); [line 21, column 1]\n " color=yellow style=filled] + "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_4" -> "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_3" ; +"getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_1" [label="1: Start Boxing_getDouble\nFormals: self:Boxing*\nLocals: n:NSNumber* \n DECLARE_LOCALS(&return,&n); [line 31, column 1]\n " color=yellow style=filled] - "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_1" -> "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_4" ; -"getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_2" [label="2: Exit Boxing_getInt \n " color=yellow style=filled] + "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_1" -> "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_4" ; +"getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_2" [label="2: Exit Boxing_getDouble \n " color=yellow style=filled] -"getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_3" [label="3: Return Stmt \n n$6=_fun_NSNumber_numberWithInt:(5:int) [line 23, column 10]\n *&return:NSNumber*=n$6 [line 23, column 3]\n " shape="box"] +"getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_3" [label="3: Return Stmt \n n$10=_fun_NSNumber_numberWithDouble:(1.500000:double) [line 33, column 10]\n *&return:NSNumber*=n$10 [line 33, column 3]\n " shape="box"] - "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_3" -> "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_2" ; -"getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_4" [label="4: DeclStmt \n n$7=_fun_NSNumber_numberWithInt:(5:int) [line 22, column 17]\n *&n:NSNumber*=n$7 [line 22, column 3]\n " shape="box"] + "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_3" -> "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_2" ; +"getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_4" [label="4: DeclStmt \n n$11=_fun_NSNumber_numberWithDouble:(1.500000:double) [line 32, column 17]\n *&n:NSNumber*=n$11 [line 32, column 3]\n " shape="box"] - "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_4" -> "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_3" ; + "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_4" -> "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_3" ; "getFloat#Boxing#instance.3de027274316c0cdfd230c6dbd0333a0_1" [label="1: Start Boxing_getFloat\nFormals: self:Boxing*\nLocals: n:NSNumber* \n DECLARE_LOCALS(&return,&n); [line 26, column 1]\n " color=yellow style=filled] @@ -53,36 +45,44 @@ digraph cfg { "getFloat#Boxing#instance.3de027274316c0cdfd230c6dbd0333a0_4" -> "getFloat#Boxing#instance.3de027274316c0cdfd230c6dbd0333a0_3" ; -"getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_1" [label="1: Start Boxing_getDouble\nFormals: self:Boxing*\nLocals: n:NSNumber* \n DECLARE_LOCALS(&return,&n); [line 31, column 1]\n " color=yellow style=filled] +"getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_1" [label="1: Start Boxing_getInt\nFormals: self:Boxing*\nLocals: n:NSNumber* \n DECLARE_LOCALS(&return,&n); [line 21, column 1]\n " color=yellow style=filled] - "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_1" -> "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_4" ; -"getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_2" [label="2: Exit Boxing_getDouble \n " color=yellow style=filled] + "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_1" -> "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_4" ; +"getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_2" [label="2: Exit Boxing_getInt \n " color=yellow style=filled] -"getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_3" [label="3: Return Stmt \n n$10=_fun_NSNumber_numberWithDouble:(1.500000:double) [line 33, column 10]\n *&return:NSNumber*=n$10 [line 33, column 3]\n " shape="box"] +"getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_3" [label="3: Return Stmt \n n$6=_fun_NSNumber_numberWithInt:(5:int) [line 23, column 10]\n *&return:NSNumber*=n$6 [line 23, column 3]\n " shape="box"] - "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_3" -> "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_2" ; -"getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_4" [label="4: DeclStmt \n n$11=_fun_NSNumber_numberWithDouble:(1.500000:double) [line 32, column 17]\n *&n:NSNumber*=n$11 [line 32, column 3]\n " shape="box"] + "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_3" -> "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_2" ; +"getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_4" [label="4: DeclStmt \n n$7=_fun_NSNumber_numberWithInt:(5:int) [line 22, column 17]\n *&n:NSNumber*=n$7 [line 22, column 3]\n " shape="box"] - "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_4" -> "getDouble#Boxing#instance.d2ccf367cc9eb4c0b5e345694f262070_3" ; -"getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_1" [label="1: Start Boxing_getBool\nFormals: self:Boxing*\nLocals: n:NSNumber* \n DECLARE_LOCALS(&return,&n); [line 36, column 1]\n " color=yellow style=filled] + "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_4" -> "getInt#Boxing#instance.6b1205ea87bb285944ca74c0597dcf85_3" ; +"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_1" [label="1: Start Boxing_getIntExp\nFormals: self:Boxing*\nLocals: n:NSNumber* y:int x:int \n DECLARE_LOCALS(&return,&n,&y,&x); [line 14, column 1]\n " color=yellow style=filled] - "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_1" -> "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_4" ; -"getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_2" [label="2: Exit Boxing_getBool \n " color=yellow style=filled] + "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_1" -> "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_6" ; +"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_2" [label="2: Exit Boxing_getIntExp \n " color=yellow style=filled] -"getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_3" [label="3: Return Stmt \n n$12=_fun_NSNumber_numberWithBool:(1:_Bool) [line 38, column 10]\n *&return:NSNumber*=n$12 [line 38, column 3]\n " shape="box"] +"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_3" [label="3: Return Stmt \n n$0=*&x:int [line 18, column 12]\n n$1=*&y:int [line 18, column 16]\n n$2=_fun_NSNumber_numberWithInt:((n$0 + n$1):int) [line 18, column 10]\n *&return:NSNumber*=n$2 [line 18, column 3]\n " shape="box"] - "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_3" -> "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_2" ; -"getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_4" [label="4: DeclStmt \n n$13=_fun_NSNumber_numberWithBool:(1:_Bool) [line 37, column 17]\n *&n:NSNumber*=n$13 [line 37, column 3]\n " shape="box"] + "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_3" -> "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_2" ; +"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_4" [label="4: DeclStmt \n n$3=*&x:int [line 17, column 41]\n n$4=*&y:int [line 17, column 45]\n n$5=_fun_NSNumber_numberWithInt:((n$3 + n$4):int) [line 17, column 17]\n *&n:NSNumber*=n$5 [line 17, column 3]\n " shape="box"] - "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_4" -> "getBool#Boxing#instance.3315ec58788820860ec4adc889dd7197_3" ; + "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_4" -> "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_3" ; +"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_5" [label="5: DeclStmt \n *&y:int=5 [line 16, column 3]\n " shape="box"] + + + "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_5" -> "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_4" ; +"getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_6" [label="6: DeclStmt \n *&x:int=4 [line 15, column 3]\n " shape="box"] + + + "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_6" -> "getIntExp#Boxing#instance.1230c4f8d594629f186c72bd450c75b1_5" ; "getS#Boxing#instance.97ccd331527b54376eb9b2b822cb25a3_1" [label="1: Start Boxing_getS\nFormals: self:Boxing*\nLocals: s:NSString* \n DECLARE_LOCALS(&return,&s); [line 41, column 1]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m.dot b/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m.dot index 4c3adfbfb..b72eac153 100644 --- a/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m.dot @@ -1,5 +1,16 @@ /* @generated */ digraph cfg { +"test4:#A#instance.718a300d6fa63609a70f22221a548ee5_1" [label="1: Start A_test4:\nFormals: self:A* x:int\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] + + + "test4:#A#instance.718a300d6fa63609a70f22221a548ee5_1" -> "test4:#A#instance.718a300d6fa63609a70f22221a548ee5_3" ; +"test4:#A#instance.718a300d6fa63609a70f22221a548ee5_2" [label="2: Exit A_test4: \n " color=yellow style=filled] + + +"test4:#A#instance.718a300d6fa63609a70f22221a548ee5_3" [label="3: Return Stmt \n n$0=*&x:int [line 20, column 10]\n *&return:int=n$0 [line 20, column 3]\n " shape="box"] + + + "test4:#A#instance.718a300d6fa63609a70f22221a548ee5_3" -> "test4:#A#instance.718a300d6fa63609a70f22221a548ee5_2" ; "test5:#A#instance.4d6ac42705853160b533ab46b444624a_1" [label="1: Start A_test5:\nFormals: self:A* b:_Bool\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$2:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$2); [line 23, column 1]\n " color=yellow style=filled] @@ -32,15 +43,4 @@ digraph cfg { "test5:#A#instance.4d6ac42705853160b533ab46b444624a_8" -> "test5:#A#instance.4d6ac42705853160b533ab46b444624a_2" ; -"test4:#A#instance.718a300d6fa63609a70f22221a548ee5_1" [label="1: Start A_test4:\nFormals: self:A* x:int\nLocals: \n DECLARE_LOCALS(&return); [line 19, column 1]\n " color=yellow style=filled] - - - "test4:#A#instance.718a300d6fa63609a70f22221a548ee5_1" -> "test4:#A#instance.718a300d6fa63609a70f22221a548ee5_3" ; -"test4:#A#instance.718a300d6fa63609a70f22221a548ee5_2" [label="2: Exit A_test4: \n " color=yellow style=filled] - - -"test4:#A#instance.718a300d6fa63609a70f22221a548ee5_3" [label="3: Return Stmt \n n$0=*&x:int [line 20, column 10]\n *&return:int=n$0 [line 20, column 3]\n " shape="box"] - - - "test4:#A#instance.718a300d6fa63609a70f22221a548ee5_3" -> "test4:#A#instance.718a300d6fa63609a70f22221a548ee5_2" ; } diff --git a/infer/tests/codetoanalyze/objc/frontend/predefined_expr/PredefinedExprExample.m.dot b/infer/tests/codetoanalyze/objc/frontend/predefined_expr/PredefinedExprExample.m.dot index d5918ebfb..0879ee403 100644 --- a/infer/tests/codetoanalyze/objc/frontend/predefined_expr/PredefinedExprExample.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/predefined_expr/PredefinedExprExample.m.dot @@ -1,16 +1,16 @@ /* @generated */ digraph cfg { -"testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_1" [label="1: Start A_testPrettyFunction\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] +"testFunct#A#instance.b6c9dae744220d93a4466679814728c1_1" [label="1: Start A_testFunct\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] - "testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_1" -> "testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_3" ; -"testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_2" [label="2: Exit A_testPrettyFunction \n " color=yellow style=filled] + "testFunct#A#instance.b6c9dae744220d93a4466679814728c1_1" -> "testFunct#A#instance.b6c9dae744220d93a4466679814728c1_3" ; +"testFunct#A#instance.b6c9dae744220d93a4466679814728c1_2" [label="2: Exit A_testFunct \n " color=yellow style=filled] -"testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_3" [label="3: Call _fun_NSLog \n n$0=_fun_NSString_stringWithUTF8String:(\"%s\":char* const ) [line 19, column 9]\n _fun_NSLog(n$0:objc_object*,\"\":char const *) [line 19, column 3]\n " shape="box"] +"testFunct#A#instance.b6c9dae744220d93a4466679814728c1_3" [label="3: Call _fun_NSLog \n n$2=_fun_NSString_stringWithUTF8String:(\"%s\":char* const ) [line 27, column 9]\n _fun_NSLog(n$2:objc_object*,\"\":char const *) [line 27, column 3]\n " shape="box"] - "testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_3" -> "testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_2" ; + "testFunct#A#instance.b6c9dae744220d93a4466679814728c1_3" -> "testFunct#A#instance.b6c9dae744220d93a4466679814728c1_2" ; "testFunction#A#instance.871d68aca55491a71407a8a7ce232a40_1" [label="1: Start A_testFunction\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] @@ -22,15 +22,15 @@ digraph cfg { "testFunction#A#instance.871d68aca55491a71407a8a7ce232a40_3" -> "testFunction#A#instance.871d68aca55491a71407a8a7ce232a40_2" ; -"testFunct#A#instance.b6c9dae744220d93a4466679814728c1_1" [label="1: Start A_testFunct\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] +"testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_1" [label="1: Start A_testPrettyFunction\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] - "testFunct#A#instance.b6c9dae744220d93a4466679814728c1_1" -> "testFunct#A#instance.b6c9dae744220d93a4466679814728c1_3" ; -"testFunct#A#instance.b6c9dae744220d93a4466679814728c1_2" [label="2: Exit A_testFunct \n " color=yellow style=filled] + "testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_1" -> "testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_3" ; +"testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_2" [label="2: Exit A_testPrettyFunction \n " color=yellow style=filled] -"testFunct#A#instance.b6c9dae744220d93a4466679814728c1_3" [label="3: Call _fun_NSLog \n n$2=_fun_NSString_stringWithUTF8String:(\"%s\":char* const ) [line 27, column 9]\n _fun_NSLog(n$2:objc_object*,\"\":char const *) [line 27, column 3]\n " shape="box"] +"testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_3" [label="3: Call _fun_NSLog \n n$0=_fun_NSString_stringWithUTF8String:(\"%s\":char* const ) [line 19, column 9]\n _fun_NSLog(n$0:objc_object*,\"\":char const *) [line 19, column 3]\n " shape="box"] - "testFunct#A#instance.b6c9dae744220d93a4466679814728c1_3" -> "testFunct#A#instance.b6c9dae744220d93a4466679814728c1_2" ; + "testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_3" -> "testPrettyFunction#A#instance.bc1e07c1ab96ad96f484a179734bc12e_2" ; } diff --git a/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m.dot b/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m.dot index a028e345c..09194681b 100644 --- a/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m.dot @@ -7,24 +7,6 @@ digraph cfg { "b_m#B#class.82af96ad418803b2f96fc1bfa1572c10_2" [label="2: Exit B_b_m \n " color=yellow style=filled] -"test_class#A#class.97324b18f626e66a3c32cec03286eb8d_1" [label="1: Start A_test_class\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 50, column 1]\n " color=yellow style=filled] - - - "test_class#A#class.97324b18f626e66a3c32cec03286eb8d_1" -> "test_class#A#class.97324b18f626e66a3c32cec03286eb8d_2" ; -"test_class#A#class.97324b18f626e66a3c32cec03286eb8d_2" [label="2: Exit A_test_class \n " color=yellow style=filled] - - -"call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_1" [label="1: Start A_call_test_class\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 53, column 1]\n " color=yellow style=filled] - - - "call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_1" -> "call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_3" ; -"call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_2" [label="2: Exit A_call_test_class \n " color=yellow style=filled] - - -"call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_3" [label="3: Message Call: test_class \n _fun_C_test_class() [line 54, column 3]\n " shape="box"] - - - "call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_3" -> "call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_2" ; "call_alloc_class#A#class.0cef99601cab56333305f5f96f227079_1" [label="1: Start A_call_alloc_class\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 57, column 1]\n " color=yellow style=filled] @@ -36,104 +18,105 @@ digraph cfg { "call_alloc_class#A#class.0cef99601cab56333305f5f96f227079_3" -> "call_alloc_class#A#class.0cef99601cab56333305f5f96f227079_2" ; -"calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_1" [label="1: Start A_calling_super\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 82, column 1]\n " color=yellow style=filled] +"call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_1" [label="1: Start A_call_alloc_instance\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 61, column 1]\n " color=yellow style=filled] - "calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_1" -> "calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_3" ; -"calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_2" [label="2: Exit A_calling_super \n " color=yellow style=filled] + "call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_1" -> "call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_3" ; +"call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_2" [label="2: Exit A_call_alloc_instance \n " color=yellow style=filled] -"calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_3" [label="3: Message Call: test_class \n _fun_C_test_class() [line 83, column 3]\n " shape="box"] +"call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_3" [label="3: Call alloc \n n$3=_fun___objc_alloc_no_fail(sizeof(t=A):unsigned long) [line 62, column 3]\n " shape="box"] - "calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_3" -> "calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_2" ; -"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_1" [label="1: Start A_used_in_binary_op:\nFormals: c:objc_class*\nLocals: \n DECLARE_LOCALS(&return); [line 94, column 1]\n " color=yellow style=filled] + "call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_3" -> "call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_2" ; +"call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_1" [label="1: Start A_call_class_instance\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 65, column 1]\n " color=yellow style=filled] - "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_1" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_5" ; -"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_2" [label="2: Exit A_used_in_binary_op: \n " color=yellow style=filled] + "call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_1" -> "call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_3" ; +"call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_2" [label="2: Exit A_call_class_instance \n " color=yellow style=filled] -"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_3" [label="3: + \n " ] +"call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_3" [label="3: Message Call: test_class \n _fun_C_test_class() [line 66, column 3]\n " shape="box"] - "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_3" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_4" ; -"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_4" [label="4: between_join_and_exit \n " shape="box"] + "call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_3" -> "call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_2" ; +"call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_1" [label="1: Start A_call_class_instance_with_class_name\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 69, column 1]\n " color=yellow style=filled] - "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_4" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_2" ; -"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_5" [label="5: BinaryOperatorStmt: NE \n n$15=*&c:objc_class* [line 95, column 15]\n " shape="box"] + "call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_1" -> "call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_3" ; +"call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_2" [label="2: Exit A_call_class_instance_with_class_name \n " color=yellow style=filled] - "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_5" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_6" ; - "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_5" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_7" ; -"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_6" [label="6: Prune (true branch, if) \n PRUNE((sizeof(t=A) != n$15), true); [line 95, column 7]\n " shape="invhouse"] +"call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_3" [label="3: Message Call: test_class \n _fun_A_test_class() [line 70, column 3]\n " shape="box"] - "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_6" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_8" ; -"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_7" [label="7: Prune (false branch, if) \n PRUNE(!(sizeof(t=A) != n$15), false); [line 95, column 7]\n " shape="invhouse"] + "call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_3" -> "call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_2" ; +"call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_1" [label="1: Start A_call_test\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 46, column 1]\n " color=yellow style=filled] - "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_7" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_9" ; -"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_8" [label="8: Return Stmt \n *&return:int=1 [line 96, column 5]\n " shape="box"] + "call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_1" -> "call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_3" ; +"call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_2" [label="2: Exit A_call_test \n " color=yellow style=filled] - "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_8" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_2" ; -"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_9" [label="9: Return Stmt \n *&return:int=0 [line 98, column 5]\n " shape="box"] +"call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_3" [label="3: Message Call: test \n n$0=*&self:A* [line 47, column 4]\n _fun_A_test(n$0:A*) virtual [line 47, column 3]\n " shape="box"] - "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_9" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_2" ; -"test#A#instance.561395dd5ffb844cbbb6c52cf21ce047_1" [label="1: Start A_test\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 43, column 1]\n " color=yellow style=filled] + "call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_3" -> "call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_2" ; +"call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_1" [label="1: Start A_call_test_class\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 53, column 1]\n " color=yellow style=filled] - "test#A#instance.561395dd5ffb844cbbb6c52cf21ce047_1" -> "test#A#instance.561395dd5ffb844cbbb6c52cf21ce047_2" ; -"test#A#instance.561395dd5ffb844cbbb6c52cf21ce047_2" [label="2: Exit A_test \n " color=yellow style=filled] + "call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_1" -> "call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_3" ; +"call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_2" [label="2: Exit A_call_test_class \n " color=yellow style=filled] -"call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_1" [label="1: Start A_call_test\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 46, column 1]\n " color=yellow style=filled] +"call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_3" [label="3: Message Call: test_class \n _fun_C_test_class() [line 54, column 3]\n " shape="box"] - "call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_1" -> "call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_3" ; -"call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_2" [label="2: Exit A_call_test \n " color=yellow style=filled] + "call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_3" -> "call_test_class#A#class.cc4e8c6ada1c4f85dad976d179e36c9a_2" ; +"calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_1" [label="1: Start A_calling_super\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 82, column 1]\n " color=yellow style=filled] -"call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_3" [label="3: Message Call: test \n n$0=*&self:A* [line 47, column 4]\n _fun_A_test(n$0:A*) virtual [line 47, column 3]\n " shape="box"] + "calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_1" -> "calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_3" ; +"calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_2" [label="2: Exit A_calling_super \n " color=yellow style=filled] - "call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_3" -> "call_test#A#instance.41031d78ab8c6914ebc9851c442cbd4e_2" ; -"call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_1" [label="1: Start A_call_alloc_instance\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 61, column 1]\n " color=yellow style=filled] +"calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_3" [label="3: Message Call: test_class \n _fun_C_test_class() [line 83, column 3]\n " shape="box"] - "call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_1" -> "call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_3" ; -"call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_2" [label="2: Exit A_call_alloc_instance \n " color=yellow style=filled] + "calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_3" -> "calling_super#A#class.0edc1d1d1c4ade7cd9adaa77e7322ad1_2" ; +"init#A#instance.eee79aaaddd644404e17691a7e7d809a_1" [label="1: Start A_init\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 86, column 1]\n " color=yellow style=filled] -"call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_3" [label="3: Call alloc \n n$3=_fun___objc_alloc_no_fail(sizeof(t=A):unsigned long) [line 62, column 3]\n " shape="box"] + "init#A#instance.eee79aaaddd644404e17691a7e7d809a_1" -> "init#A#instance.eee79aaaddd644404e17691a7e7d809a_3" ; +"init#A#instance.eee79aaaddd644404e17691a7e7d809a_2" [label="2: Exit A_init \n " color=yellow style=filled] - "call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_3" -> "call_alloc_instance#A#instance.70a20314d55f22fb46408deb70d9aabb_2" ; -"call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_1" [label="1: Start A_call_class_instance\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 65, column 1]\n " color=yellow style=filled] +"init#A#instance.eee79aaaddd644404e17691a7e7d809a_3" [label="3: Message Call: init \n n$11=*&self:A* [line 87, column 3]\n n$12=_fun_NSObject_init(n$11:A*) [line 87, column 3]\n " shape="box"] - "call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_1" -> "call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_3" ; -"call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_2" [label="2: Exit A_call_class_instance \n " color=yellow style=filled] + "init#A#instance.eee79aaaddd644404e17691a7e7d809a_3" -> "init#A#instance.eee79aaaddd644404e17691a7e7d809a_2" ; +"isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_1" [label="1: Start B_isC:\nFormals: self:B* aClass:objc_class*\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 1]\n " color=yellow style=filled] -"call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_3" [label="3: Message Call: test_class \n _fun_C_test_class() [line 66, column 3]\n " shape="box"] + "isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_1" -> "isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_3" ; +"isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_2" [label="2: Exit B_isC: \n " color=yellow style=filled] - "call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_3" -> "call_class_instance#A#instance.eb1ae02cd94582eb1fc7cb426794f9f0_2" ; -"call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_1" [label="1: Start A_call_class_instance_with_class_name\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 69, column 1]\n " color=yellow style=filled] +"isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_3" [label="3: Return Stmt \n *&return:_Bool=1 [line 24, column 3]\n " shape="box"] - "call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_1" -> "call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_3" ; -"call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_2" [label="2: Exit A_call_class_instance_with_class_name \n " color=yellow style=filled] + "isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_3" -> "isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_2" ; +"loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_1" [label="1: Start A_loggerName\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 90, column 1]\n " color=yellow style=filled] -"call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_3" [label="3: Message Call: test_class \n _fun_A_test_class() [line 70, column 3]\n " shape="box"] + "loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_1" -> "loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_3" ; +"loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_2" [label="2: Exit A_loggerName \n " color=yellow style=filled] - "call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_3" -> "call_class_instance_with_class_name#A#instance.1baf88c0fb5549c04909fab0bed63c39_2" ; +"loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_3" [label="3: Return Stmt \n n$14=_fun_NSStringFromClass(sizeof(t=A):unsigned long) [line 91, column 10]\n *&return:NSString*=n$14 [line 91, column 3]\n " shape="box"] + + + "loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_3" -> "loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_2" ; "t#A#instance.e31b9a7bced712626784e2860af1a31b_1" [label="1: Start A_t\nFormals: self:A*\nLocals: b:B* \n DECLARE_LOCALS(&return,&b); [line 73, column 1]\n " color=yellow style=filled] @@ -149,28 +132,20 @@ digraph cfg { "t#A#instance.e31b9a7bced712626784e2860af1a31b_4" -> "t#A#instance.e31b9a7bced712626784e2860af1a31b_3" ; -"init#A#instance.eee79aaaddd644404e17691a7e7d809a_1" [label="1: Start A_init\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 86, column 1]\n " color=yellow style=filled] - - - "init#A#instance.eee79aaaddd644404e17691a7e7d809a_1" -> "init#A#instance.eee79aaaddd644404e17691a7e7d809a_3" ; -"init#A#instance.eee79aaaddd644404e17691a7e7d809a_2" [label="2: Exit A_init \n " color=yellow style=filled] - - -"init#A#instance.eee79aaaddd644404e17691a7e7d809a_3" [label="3: Message Call: init \n n$11=*&self:A* [line 87, column 3]\n n$12=_fun_NSObject_init(n$11:A*) [line 87, column 3]\n " shape="box"] +"test#A#instance.561395dd5ffb844cbbb6c52cf21ce047_1" [label="1: Start A_test\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 43, column 1]\n " color=yellow style=filled] - "init#A#instance.eee79aaaddd644404e17691a7e7d809a_3" -> "init#A#instance.eee79aaaddd644404e17691a7e7d809a_2" ; -"loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_1" [label="1: Start A_loggerName\nFormals: self:A*\nLocals: \n DECLARE_LOCALS(&return); [line 90, column 1]\n " color=yellow style=filled] + "test#A#instance.561395dd5ffb844cbbb6c52cf21ce047_1" -> "test#A#instance.561395dd5ffb844cbbb6c52cf21ce047_2" ; +"test#A#instance.561395dd5ffb844cbbb6c52cf21ce047_2" [label="2: Exit A_test \n " color=yellow style=filled] - "loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_1" -> "loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_3" ; -"loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_2" [label="2: Exit A_loggerName \n " color=yellow style=filled] +"test_class#A#class.97324b18f626e66a3c32cec03286eb8d_1" [label="1: Start A_test_class\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 50, column 1]\n " color=yellow style=filled] -"loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_3" [label="3: Return Stmt \n n$14=_fun_NSStringFromClass(sizeof(t=A):unsigned long) [line 91, column 10]\n *&return:NSString*=n$14 [line 91, column 3]\n " shape="box"] + "test_class#A#class.97324b18f626e66a3c32cec03286eb8d_1" -> "test_class#A#class.97324b18f626e66a3c32cec03286eb8d_2" ; +"test_class#A#class.97324b18f626e66a3c32cec03286eb8d_2" [label="2: Exit A_test_class \n " color=yellow style=filled] - "loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_3" -> "loggerName#A#instance.36b9a42412bcf7d8d3f8397eb2bcb555_2" ; "use_class_in_other_ways:#A#instance.cbf4e00d3f8c81248ee881a47ed7e84f_1" [label="1: Start A_use_class_in_other_ways:\nFormals: self:A* object:B*\nLocals: \n DECLARE_LOCALS(&return); [line 78, column 1]\n " color=yellow style=filled] @@ -182,15 +157,40 @@ digraph cfg { "use_class_in_other_ways:#A#instance.cbf4e00d3f8c81248ee881a47ed7e84f_3" -> "use_class_in_other_ways:#A#instance.cbf4e00d3f8c81248ee881a47ed7e84f_2" ; -"isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_1" [label="1: Start B_isC:\nFormals: self:B* aClass:objc_class*\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 1]\n " color=yellow style=filled] +"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_1" [label="1: Start A_used_in_binary_op:\nFormals: c:objc_class*\nLocals: \n DECLARE_LOCALS(&return); [line 94, column 1]\n " color=yellow style=filled] - "isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_1" -> "isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_3" ; -"isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_2" [label="2: Exit B_isC: \n " color=yellow style=filled] + "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_1" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_5" ; +"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_2" [label="2: Exit A_used_in_binary_op: \n " color=yellow style=filled] -"isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_3" [label="3: Return Stmt \n *&return:_Bool=1 [line 24, column 3]\n " shape="box"] +"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_3" [label="3: + \n " ] - "isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_3" -> "isC:#B#instance.d3c47b42de9626ee49d20d57a1f26839_2" ; + "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_3" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_4" ; +"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_4" [label="4: between_join_and_exit \n " shape="box"] + + + "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_4" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_2" ; +"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_5" [label="5: BinaryOperatorStmt: NE \n n$15=*&c:objc_class* [line 95, column 15]\n " shape="box"] + + + "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_5" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_6" ; + "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_5" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_7" ; +"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_6" [label="6: Prune (true branch, if) \n PRUNE((sizeof(t=A) != n$15), true); [line 95, column 7]\n " shape="invhouse"] + + + "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_6" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_8" ; +"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_7" [label="7: Prune (false branch, if) \n PRUNE(!(sizeof(t=A) != n$15), false); [line 95, column 7]\n " shape="invhouse"] + + + "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_7" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_9" ; +"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_8" [label="8: Return Stmt \n *&return:int=1 [line 96, column 5]\n " shape="box"] + + + "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_8" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_2" ; +"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_9" [label="9: Return Stmt \n *&return:int=0 [line 98, column 5]\n " shape="box"] + + + "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_9" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_2" ; } diff --git a/infer/tests/codetoanalyze/objc/frontend/self_static/static.m.dot b/infer/tests/codetoanalyze/objc/frontend/self_static/static.m.dot index 49faafe06..ccda60520 100644 --- a/infer/tests/codetoanalyze/objc/frontend/self_static/static.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/self_static/static.m.dot @@ -33,26 +33,26 @@ digraph cfg { "anInstanceMethod#MyClass#instance.7c18faea6ff486bf30aa019b169dffc3_3" -> "anInstanceMethod#MyClass#instance.7c18faea6ff486bf30aa019b169dffc3_2" ; -"getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_1" [label="1: Start MyClass_getX\nFormals: self:MyClass*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 1]\n " color=yellow style=filled] +"anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_1" [label="1: Start MyClass_anInstanceMethod2\nFormals: self:MyClass*\nLocals: \n DECLARE_LOCALS(&return); [line 36, column 1]\n " color=yellow style=filled] - "getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_1" -> "getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_3" ; -"getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_2" [label="2: Exit MyClass_getX \n " color=yellow style=filled] + "anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_1" -> "anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_3" ; +"anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_2" [label="2: Exit MyClass_anInstanceMethod2 \n " color=yellow style=filled] -"getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_3" [label="3: Return Stmt \n *&return:int=0 [line 33, column 3]\n " shape="box"] +"anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_3" [label="3: Message Call: getX \n n$1=*&self:MyClass* [line 37, column 4]\n n$2=_fun_MyClass_getX(n$1:MyClass*) virtual [line 37, column 3]\n " shape="box"] - "getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_3" -> "getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_2" ; -"anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_1" [label="1: Start MyClass_anInstanceMethod2\nFormals: self:MyClass*\nLocals: \n DECLARE_LOCALS(&return); [line 36, column 1]\n " color=yellow style=filled] + "anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_3" -> "anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_2" ; +"getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_1" [label="1: Start MyClass_getX\nFormals: self:MyClass*\nLocals: \n DECLARE_LOCALS(&return); [line 32, column 1]\n " color=yellow style=filled] - "anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_1" -> "anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_3" ; -"anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_2" [label="2: Exit MyClass_anInstanceMethod2 \n " color=yellow style=filled] + "getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_1" -> "getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_3" ; +"getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_2" [label="2: Exit MyClass_getX \n " color=yellow style=filled] -"anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_3" [label="3: Message Call: getX \n n$1=*&self:MyClass* [line 37, column 4]\n n$2=_fun_MyClass_getX(n$1:MyClass*) virtual [line 37, column 3]\n " shape="box"] +"getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_3" [label="3: Return Stmt \n *&return:int=0 [line 33, column 3]\n " shape="box"] - "anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_3" -> "anInstanceMethod2#MyClass#instance.d2b66ad8a2fe88927ba6f54fa43eabea_2" ; + "getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_3" -> "getX#MyClass#instance.ddf21e5eecd35d40e2b277a5d6933812_2" ; } diff --git a/infer/tests/codetoanalyze/objc/frontend/types/testloop.m.dot b/infer/tests/codetoanalyze/objc/frontend/types/testloop.m.dot index 6e7ecc928..b004d148d 100644 --- a/infer/tests/codetoanalyze/objc/frontend/types/testloop.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/types/testloop.m.dot @@ -1,16 +1,5 @@ /* @generated */ digraph cfg { -"layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_1" [label="1: Start FBScrollViewDelegateProxy_layoutToUse\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 44, column 1]\n " color=yellow style=filled] - - - "layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_1" -> "layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_3" ; -"layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_2" [label="2: Exit FBScrollViewDelegateProxy_layoutToUse \n " color=yellow style=filled] - - -"layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_3" [label="3: Return Stmt \n n$0=*&#GB$__iPhoneVideoAdLayout:FBVideoAdLayout [line 45, column 10]\n *&return:FBVideoAdLayout=n$0 [line 45, column 3]\n " shape="box"] - - - "layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_3" -> "layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_2" ; "__infer_globals_initializer___iPadVideoAdLayout#774934d200ab6ea201ea7444923ebf03.91a439a98050a5c80fe23fc56f573207_1" [label="1: Start __infer_globals_initializer___iPadVideoAdLayout\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] @@ -33,4 +22,15 @@ digraph cfg { "__infer_globals_initializer___iPhoneVideoAdLayout#774934d200ab6ea201ea7444923ebf03.1e6bd750ce4ce65119ad54cee8ee01a8_3" -> "__infer_globals_initializer___iPhoneVideoAdLayout#774934d200ab6ea201ea7444923ebf03.1e6bd750ce4ce65119ad54cee8ee01a8_2" ; +"layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_1" [label="1: Start FBScrollViewDelegateProxy_layoutToUse\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 44, column 1]\n " color=yellow style=filled] + + + "layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_1" -> "layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_3" ; +"layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_2" [label="2: Exit FBScrollViewDelegateProxy_layoutToUse \n " color=yellow style=filled] + + +"layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_3" [label="3: Return Stmt \n n$0=*&#GB$__iPhoneVideoAdLayout:FBVideoAdLayout [line 45, column 10]\n *&return:FBVideoAdLayout=n$0 [line 45, column 3]\n " shape="box"] + + + "layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_3" -> "layoutToUse#FBScrollViewDelegateProxy#class.0fb14252876875c85e9253ab00bfb755_2" ; } diff --git a/infer/tests/codetoanalyze/objc/frontend/types/void_call.m.dot b/infer/tests/codetoanalyze/objc/frontend/types/void_call.m.dot index 3937022ca..0d0bc1fe8 100644 --- a/infer/tests/codetoanalyze/objc/frontend/types/void_call.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/types/void_call.m.dot @@ -1,5 +1,27 @@ /* @generated */ digraph cfg { +"bar1.fa85cca91963d8f301e34247048fca39_1" [label="1: Start bar1\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 31, column 1]\n " color=yellow style=filled] + + + "bar1.fa85cca91963d8f301e34247048fca39_1" -> "bar1.fa85cca91963d8f301e34247048fca39_3" ; +"bar1.fa85cca91963d8f301e34247048fca39_2" [label="2: Exit bar1 \n " color=yellow style=filled] + + +"bar1.fa85cca91963d8f301e34247048fca39_3" [label="3: Return Stmt \n n$0=*&a:int [line 31, column 26]\n *&a:int=(n$0 + 1) [line 31, column 26]\n *&return:int=n$0 [line 31, column 19]\n " shape="box"] + + + "bar1.fa85cca91963d8f301e34247048fca39_3" -> "bar1.fa85cca91963d8f301e34247048fca39_2" ; +"foo1.299a0be4a5a79e6a59fdd251b19d78bb_1" [label="1: Start foo1\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 29, column 1]\n " color=yellow style=filled] + + + "foo1.299a0be4a5a79e6a59fdd251b19d78bb_1" -> "foo1.299a0be4a5a79e6a59fdd251b19d78bb_3" ; +"foo1.299a0be4a5a79e6a59fdd251b19d78bb_2" [label="2: Exit foo1 \n " color=yellow style=filled] + + +"foo1.299a0be4a5a79e6a59fdd251b19d78bb_3" [label="3: UnaryOperator \n n$0=*&a:int [line 29, column 20]\n *&a:int=(n$0 + 1) [line 29, column 20]\n " shape="box"] + + + "foo1.299a0be4a5a79e6a59fdd251b19d78bb_3" -> "foo1.299a0be4a5a79e6a59fdd251b19d78bb_2" ; "main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: o:AClass* x:int \n DECLARE_LOCALS(&return,&o,&x); [line 33, column 1]\n " color=yellow style=filled] @@ -48,28 +70,17 @@ digraph cfg { "main.fad58de7366495db4650cfefac2fcd61_12" -> "main.fad58de7366495db4650cfefac2fcd61_11" ; -"foo1.299a0be4a5a79e6a59fdd251b19d78bb_1" [label="1: Start foo1\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 29, column 1]\n " color=yellow style=filled] - - - "foo1.299a0be4a5a79e6a59fdd251b19d78bb_1" -> "foo1.299a0be4a5a79e6a59fdd251b19d78bb_3" ; -"foo1.299a0be4a5a79e6a59fdd251b19d78bb_2" [label="2: Exit foo1 \n " color=yellow style=filled] - - -"foo1.299a0be4a5a79e6a59fdd251b19d78bb_3" [label="3: UnaryOperator \n n$0=*&a:int [line 29, column 20]\n *&a:int=(n$0 + 1) [line 29, column 20]\n " shape="box"] - - - "foo1.299a0be4a5a79e6a59fdd251b19d78bb_3" -> "foo1.299a0be4a5a79e6a59fdd251b19d78bb_2" ; -"bar1.fa85cca91963d8f301e34247048fca39_1" [label="1: Start bar1\nFormals: a:int\nLocals: \n DECLARE_LOCALS(&return); [line 31, column 1]\n " color=yellow style=filled] +"bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_1" [label="1: Start AClass_bar:\nFormals: self:AClass* a:int\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 1]\n " color=yellow style=filled] - "bar1.fa85cca91963d8f301e34247048fca39_1" -> "bar1.fa85cca91963d8f301e34247048fca39_3" ; -"bar1.fa85cca91963d8f301e34247048fca39_2" [label="2: Exit bar1 \n " color=yellow style=filled] + "bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_1" -> "bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_3" ; +"bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_2" [label="2: Exit AClass_bar: \n " color=yellow style=filled] -"bar1.fa85cca91963d8f301e34247048fca39_3" [label="3: Return Stmt \n n$0=*&a:int [line 31, column 26]\n *&a:int=(n$0 + 1) [line 31, column 26]\n *&return:int=n$0 [line 31, column 19]\n " shape="box"] +"bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_3" [label="3: Return Stmt \n n$1=*&a:int [line 24, column 10]\n *&a:int=(n$1 + 1) [line 24, column 10]\n *&return:int=n$1 [line 24, column 3]\n " shape="box"] - "bar1.fa85cca91963d8f301e34247048fca39_3" -> "bar1.fa85cca91963d8f301e34247048fca39_2" ; + "bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_3" -> "bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_2" ; "foo:#AClass#instance.85442408d439a21334483f95effd3023_1" [label="1: Start AClass_foo:\nFormals: self:AClass* a:int\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 1]\n " color=yellow style=filled] @@ -81,15 +92,4 @@ digraph cfg { "foo:#AClass#instance.85442408d439a21334483f95effd3023_3" -> "foo:#AClass#instance.85442408d439a21334483f95effd3023_2" ; -"bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_1" [label="1: Start AClass_bar:\nFormals: self:AClass* a:int\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 1]\n " color=yellow style=filled] - - - "bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_1" -> "bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_3" ; -"bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_2" [label="2: Exit AClass_bar: \n " color=yellow style=filled] - - -"bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_3" [label="3: Return Stmt \n n$1=*&a:int [line 24, column 10]\n *&a:int=(n$1 + 1) [line 24, column 10]\n *&return:int=n$1 [line 24, column 3]\n " shape="box"] - - - "bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_3" -> "bar:#AClass#instance.c024d9849ec28286083491e7c46a4982_2" ; } diff --git a/infer/tests/codetoanalyze/objc/frontend/vardecl/initlist.m.dot b/infer/tests/codetoanalyze/objc/frontend/vardecl/initlist.m.dot index 277ae3c4c..102b6ce73 100644 --- a/infer/tests/codetoanalyze/objc/frontend/vardecl/initlist.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/vardecl/initlist.m.dot @@ -11,6 +11,17 @@ digraph cfg { "main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ; +"struct_init_test.b3909a459f16e15611cc425c52c74b0c_1" [label="1: Start struct_init_test\nFormals: __return_param:CGAffineTransform*\nLocals: \n DECLARE_LOCALS(&return); [line 28, column 1]\n " color=yellow style=filled] + + + "struct_init_test.b3909a459f16e15611cc425c52c74b0c_1" -> "struct_init_test.b3909a459f16e15611cc425c52c74b0c_3" ; +"struct_init_test.b3909a459f16e15611cc425c52c74b0c_2" [label="2: Exit struct_init_test \n " color=yellow style=filled] + + +"struct_init_test.b3909a459f16e15611cc425c52c74b0c_3" [label="3: Return Stmt \n n$0=*&__return_param:CGAffineTransform* [line 29, column 3]\n *n$0.a:double=-1 [line 29, column 29]\n *n$0.b:double=0 [line 29, column 29]\n *n$0.c:double=-0 [line 29, column 29]\n *n$0.d:double=-1 [line 29, column 29]\n *n$0.tx:double=0.000000 [line 29, column 62]\n *n$0.ty:double=0.000000 [line 29, column 62]\n n$1=*n$0:CGAffineTransform [line 29, column 10]\n " shape="box"] + + + "struct_init_test.b3909a459f16e15611cc425c52c74b0c_3" -> "struct_init_test.b3909a459f16e15611cc425c52c74b0c_2" ; "test.098f6bcd4621d373cade4e832627b4f6_1" [label="1: Start test\nFormals: \nLocals: a:C*[3*8] c2:C* c1:C* \n DECLARE_LOCALS(&return,&a,&c2,&c1); [line 22, column 1]\n " color=yellow style=filled] @@ -30,15 +41,4 @@ digraph cfg { "test.098f6bcd4621d373cade4e832627b4f6_5" -> "test.098f6bcd4621d373cade4e832627b4f6_4" ; -"struct_init_test.b3909a459f16e15611cc425c52c74b0c_1" [label="1: Start struct_init_test\nFormals: __return_param:CGAffineTransform*\nLocals: \n DECLARE_LOCALS(&return); [line 28, column 1]\n " color=yellow style=filled] - - - "struct_init_test.b3909a459f16e15611cc425c52c74b0c_1" -> "struct_init_test.b3909a459f16e15611cc425c52c74b0c_3" ; -"struct_init_test.b3909a459f16e15611cc425c52c74b0c_2" [label="2: Exit struct_init_test \n " color=yellow style=filled] - - -"struct_init_test.b3909a459f16e15611cc425c52c74b0c_3" [label="3: Return Stmt \n n$0=*&__return_param:CGAffineTransform* [line 29, column 3]\n *n$0.a:double=-1 [line 29, column 29]\n *n$0.b:double=0 [line 29, column 29]\n *n$0.c:double=-0 [line 29, column 29]\n *n$0.d:double=-1 [line 29, column 29]\n *n$0.tx:double=0.000000 [line 29, column 62]\n *n$0.ty:double=0.000000 [line 29, column 62]\n n$1=*n$0:CGAffineTransform [line 29, column 10]\n " shape="box"] - - - "struct_init_test.b3909a459f16e15611cc425c52c74b0c_3" -> "struct_init_test.b3909a459f16e15611cc425c52c74b0c_2" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/annotations/nullable_annotations.m.dot b/infer/tests/codetoanalyze/objc/shared/annotations/nullable_annotations.m.dot index 6fad41bbf..dd4987675 100644 --- a/infer/tests/codetoanalyze/objc/shared/annotations/nullable_annotations.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/annotations/nullable_annotations.m.dot @@ -19,28 +19,17 @@ digraph cfg { "npe_property_nullable.ba4461b16b55481ab8de5124734d2bf3_5" -> "npe_property_nullable.ba4461b16b55481ab8de5124734d2bf3_4" ; -"tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_1" [label="1: Start User_tellMeSomething\nFormals: self:User*\nLocals: \nAnnotation: <_Nullable> User_tellMeSomething(<>) \n DECLARE_LOCALS(&return); [line 35, column 1]\n " color=yellow style=filled] - - - "tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_1" -> "tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_3" ; -"tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_2" [label="2: Exit User_tellMeSomething \n " color=yellow style=filled] - - -"tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_3" [label="3: Return Stmt \n n$1=_fun_NSString_stringWithUTF8String:(\"Hi\":char* const ) [line 36, column 10]\n *&return:NSString*=n$1 [line 36, column 3]\n " shape="box"] - - - "tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_3" -> "tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_2" ; -"tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_1" [label="1: Start User_tellMeSomethingNotNullable\nFormals: self:User*\nLocals: \n DECLARE_LOCALS(&return); [line 39, column 1]\n " color=yellow style=filled] +"initWithName:#User#instance.e074182198c39906ef7606c27f655686_1" [label="1: Start User_initWithName:\nFormals: self:User* name:NSString*\nLocals: \nAnnotation: <_Nullable> User_initWithName:(<> <_Nullable>) \n DECLARE_LOCALS(&return); [line 31, column 1]\n " color=yellow style=filled] - "tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_1" -> "tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_3" ; -"tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_2" [label="2: Exit User_tellMeSomethingNotNullable \n " color=yellow style=filled] + "initWithName:#User#instance.e074182198c39906ef7606c27f655686_1" -> "initWithName:#User#instance.e074182198c39906ef7606c27f655686_3" ; +"initWithName:#User#instance.e074182198c39906ef7606c27f655686_2" [label="2: Exit User_initWithName: \n " color=yellow style=filled] -"tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_3" [label="3: Return Stmt \n n$2=_fun_NSString_stringWithUTF8String:(\"Hi\":char* const ) [line 40, column 10]\n *&return:NSString*=n$2 [line 40, column 3]\n " shape="box"] +"initWithName:#User#instance.e074182198c39906ef7606c27f655686_3" [label="3: Return Stmt \n n$0=*&self:User* [line 32, column 10]\n *&return:objc_object*=n$0 [line 32, column 3]\n " shape="box"] - "tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_3" -> "tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_2" ; + "initWithName:#User#instance.e074182198c39906ef7606c27f655686_3" -> "initWithName:#User#instance.e074182198c39906ef7606c27f655686_2" ; "otherUserName#User#instance.7b86b8d2191be71dec320c3203056cd7_1" [label="1: Start User_otherUserName\nFormals: self:User*\nLocals: ou:User* \n DECLARE_LOCALS(&return,&ou); [line 50, column 1]\n " color=yellow style=filled] @@ -56,17 +45,17 @@ digraph cfg { "otherUserName#User#instance.7b86b8d2191be71dec320c3203056cd7_4" -> "otherUserName#User#instance.7b86b8d2191be71dec320c3203056cd7_3" ; -"initWithName:#User#instance.e074182198c39906ef7606c27f655686_1" [label="1: Start User_initWithName:\nFormals: self:User* name:NSString*\nLocals: \nAnnotation: <_Nullable> User_initWithName:(<> <_Nullable>) \n DECLARE_LOCALS(&return); [line 31, column 1]\n " color=yellow style=filled] +"tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_1" [label="1: Start User_tellMeSomething\nFormals: self:User*\nLocals: \nAnnotation: <_Nullable> User_tellMeSomething(<>) \n DECLARE_LOCALS(&return); [line 35, column 1]\n " color=yellow style=filled] - "initWithName:#User#instance.e074182198c39906ef7606c27f655686_1" -> "initWithName:#User#instance.e074182198c39906ef7606c27f655686_3" ; -"initWithName:#User#instance.e074182198c39906ef7606c27f655686_2" [label="2: Exit User_initWithName: \n " color=yellow style=filled] + "tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_1" -> "tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_3" ; +"tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_2" [label="2: Exit User_tellMeSomething \n " color=yellow style=filled] -"initWithName:#User#instance.e074182198c39906ef7606c27f655686_3" [label="3: Return Stmt \n n$0=*&self:User* [line 32, column 10]\n *&return:objc_object*=n$0 [line 32, column 3]\n " shape="box"] +"tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_3" [label="3: Return Stmt \n n$1=_fun_NSString_stringWithUTF8String:(\"Hi\":char* const ) [line 36, column 10]\n *&return:NSString*=n$1 [line 36, column 3]\n " shape="box"] - "initWithName:#User#instance.e074182198c39906ef7606c27f655686_3" -> "initWithName:#User#instance.e074182198c39906ef7606c27f655686_2" ; + "tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_3" -> "tellMeSomething#User#instance.5ed632cdc46e048613dbc2d7030419cf_2" ; "tellMeSomething:and:and:and:#User#instance.eedc1cc1313630d342198a5528c9eaec_1" [label="1: Start User_tellMeSomething:and:and:and:\nFormals: self:User* s1:NSString* s2:NSString* s3:NSString* s4:NSString*\nLocals: \nAnnotation: <> User_tellMeSomething:and:and:and:(<> <> <> <_Nullable> <>) \n DECLARE_LOCALS(&return); [line 43, column 1]\n " color=yellow style=filled] @@ -78,4 +67,15 @@ digraph cfg { "tellMeSomething:and:and:and:#User#instance.eedc1cc1313630d342198a5528c9eaec_3" -> "tellMeSomething:and:and:and:#User#instance.eedc1cc1313630d342198a5528c9eaec_2" ; +"tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_1" [label="1: Start User_tellMeSomethingNotNullable\nFormals: self:User*\nLocals: \n DECLARE_LOCALS(&return); [line 39, column 1]\n " color=yellow style=filled] + + + "tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_1" -> "tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_3" ; +"tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_2" [label="2: Exit User_tellMeSomethingNotNullable \n " color=yellow style=filled] + + +"tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_3" [label="3: Return Stmt \n n$2=_fun_NSString_stringWithUTF8String:(\"Hi\":char* const ) [line 40, column 10]\n *&return:NSString*=n$2 [line 40, column 3]\n " shape="box"] + + + "tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_3" -> "tellMeSomethingNotNullable#User#instance.245a0cd3ebd907a23c846151021de342_2" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/block/BlockVar.m.dot b/infer/tests/codetoanalyze/objc/shared/block/BlockVar.m.dot index 867fedbb8..6f7be50af 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/BlockVar.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/BlockVar.m.dot @@ -1,64 +1,49 @@ /* @generated */ digraph cfg { -"test#BlockVar#class.79d88363beeb921609a605886abe817f_1" [label="1: Start BlockVar_test\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 14, column 1]\n " color=yellow style=filled] - - - "test#BlockVar#class.79d88363beeb921609a605886abe817f_1" -> "test#BlockVar#class.79d88363beeb921609a605886abe817f_3" ; -"test#BlockVar#class.79d88363beeb921609a605886abe817f_2" [label="2: Exit BlockVar_test \n " color=yellow style=filled] - - -"test#BlockVar#class.79d88363beeb921609a605886abe817f_3" [label="3: Return Stmt \n *&return:int=5 [line 15, column 3]\n " shape="box"] - - - "test#BlockVar#class.79d88363beeb921609a605886abe817f_3" -> "test#BlockVar#class.79d88363beeb921609a605886abe817f_2" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_1" [label="1: Start BlockVar_navigateToURLInBackground\nFormals: \nLocals: p:int* x:int addBlock:_fn_(*) \n DECLARE_LOCALS(&return,&p,&x,&addBlock); [line 18, column 1]\n " color=yellow style=filled] +"objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_1" [label="1: Start objc_blockBlockVar_blockPostBad_2\nFormals: x:int*\nLocals: \nCaptured: x:int* \n DECLARE_LOCALS(&return); [line 33, column 28]\n " color=yellow style=filled] - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_1" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_12" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_2" [label="2: Exit BlockVar_navigateToURLInBackground \n " color=yellow style=filled] + "objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_1" -> "objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_3" ; +"objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_2" [label="2: Exit objc_blockBlockVar_blockPostBad_2 \n " color=yellow style=filled] -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_3" [label="3: + \n " ] +"objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_3" [label="3: Return Stmt \n n$14=*&x:int* [line 34, column 12]\n *&return:int*=n$14 [line 34, column 5]\n " shape="box"] - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_3" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_4" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_4" [label="4: between_join_and_exit \n " shape="box"] + "objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_3" -> "objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_2" ; +"objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_1" [label="1: Start objc_blockBlockVar_blockPostOk_3\nFormals: x:int*\nLocals: \nCaptured: x:int* \n DECLARE_LOCALS(&return); [line 42, column 28]\n " color=yellow style=filled] - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_4" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_2" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_5" [label="5: BinaryOperatorStmt: EQ \n n$0=*&x:int [line 25, column 7]\n " shape="box"] + "objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_1" -> "objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_3" ; +"objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_2" [label="2: Exit objc_blockBlockVar_blockPostOk_3 \n " color=yellow style=filled] - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_5" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_6" ; - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_5" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_7" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_6" [label="6: Prune (true branch, if) \n PRUNE((n$0 == 8), true); [line 25, column 7]\n " shape="invhouse"] +"objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_3" [label="3: Return Stmt \n n$19=*&x:int* [line 43, column 12]\n *&return:int*=n$19 [line 43, column 5]\n " shape="box"] - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_6" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_8" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_7" [label="7: Prune (false branch, if) \n PRUNE(!(n$0 == 8), false); [line 25, column 7]\n " shape="invhouse"] + "objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_3" -> "objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_2" ; +"objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_1" [label="1: Start objc_blockBlockVar_capturedNoNullDeref_5\nFormals: x:int*\nLocals: \nCaptured: x:int* \n DECLARE_LOCALS(&return); [line 59, column 27]\n " color=yellow style=filled] - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_7" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_9" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_8" [label="8: Return Stmt \n n$1=*&p:int* [line 26, column 13]\n n$2=*n$1:int [line 26, column 12]\n *&return:int=n$2 [line 26, column 5]\n " shape="box"] + "objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_1" -> "objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_3" ; +"objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_2" [label="2: Exit objc_blockBlockVar_capturedNoNullDeref_5 \n " color=yellow style=filled] - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_8" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_2" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_9" [label="9: Return Stmt \n n$3=*&x:int [line 28, column 12]\n *&return:int=n$3 [line 28, column 5]\n " shape="box"] +"objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_3" [label="3: Return Stmt \n n$28=*&x:int* [line 60, column 13]\n n$29=*n$28:int [line 60, column 12]\n *&return:int=n$29 [line 60, column 5]\n " shape="box"] - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_9" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_2" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_10" [label="10: DeclStmt \n *&p:int*=null [line 24, column 3]\n " shape="box"] + "objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_3" -> "objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_2" ; +"objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_1" [label="1: Start objc_blockBlockVar_capturedNullDeref_4\nFormals: x:int*\nLocals: \nCaptured: x:int* \n DECLARE_LOCALS(&return); [line 50, column 27]\n " color=yellow style=filled] - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_10" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_5" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_11" [label="11: DeclStmt \n n$4=*&addBlock:_fn_(*) [line 23, column 11]\n n$5=n$4(1:int,2:int) [line 23, column 11]\n *&x:int=n$5 [line 23, column 3]\n " shape="box"] + "objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_1" -> "objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_3" ; +"objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_2" [label="2: Exit objc_blockBlockVar_capturedNullDeref_4 \n " color=yellow style=filled] - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_11" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_10" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_12" [label="12: DeclStmt \n *&addBlock:_fn_(*)=(_fun_objc_blockBlockVar_navigateToURLInBackground_1) [line 19, column 3]\n " shape="box"] +"objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_3" [label="3: Return Stmt \n n$23=*&x:int* [line 51, column 13]\n n$24=*n$23:int [line 51, column 12]\n *&return:int=n$24 [line 51, column 5]\n " shape="box"] - "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_12" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_11" ; + "objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_3" -> "objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_2" ; "objc_blockBlockVar_navigateToURLInBackground_1.3f33ba208d462b81a235e03653494b18_1" [label="1: Start objc_blockBlockVar_navigateToURLInBackground_1\nFormals: a:int b:int\nLocals: res:int \n DECLARE_LOCALS(&return,&res); [line 19, column 35]\n " color=yellow style=filled] @@ -116,25 +101,6 @@ digraph cfg { "blockPostOk#BlockVar#instance.1bb64a946f8b169b31996644931ed82d_6" -> "blockPostOk#BlockVar#instance.1bb64a946f8b169b31996644931ed82d_5" ; -"capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_1" [label="1: Start BlockVar_capturedNullDeref\nFormals: self:BlockVar*\nLocals: my_block:_fn_(*) x:int* \n DECLARE_LOCALS(&return,&my_block,&x); [line 48, column 1]\n " color=yellow style=filled] - - - "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_1" -> "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_5" ; -"capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_2" [label="2: Exit BlockVar_capturedNullDeref \n " color=yellow style=filled] - - -"capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_3" [label="3: Return Stmt \n n$20=*&my_block:_fn_(*) [line 53, column 10]\n n$21=n$20() [line 53, column 10]\n *&return:int=n$21 [line 53, column 3]\n " shape="box"] - - - "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_3" -> "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_2" ; -"capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_4" [label="4: DeclStmt \n n$22=*&x:int* [line 50, column 27]\n *&my_block:_fn_(*)=(_fun_objc_blockBlockVar_capturedNullDeref_4,(n$22 &x:int*)) [line 50, column 3]\n " shape="box"] - - - "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_4" -> "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_3" ; -"capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_5" [label="5: DeclStmt \n *&x:int*=null [line 49, column 3]\n " shape="box"] - - - "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_5" -> "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_4" ; "capturedNoNullDeref#BlockVar#instance.ebe646baaabdc58144a5916780ee8c76_1" [label="1: Start BlockVar_capturedNoNullDeref\nFormals: self:BlockVar*\nLocals: my_block:_fn_(*) x:int* i:int \n DECLARE_LOCALS(&return,&my_block,&x,&i); [line 56, column 1]\n " color=yellow style=filled] @@ -162,48 +128,82 @@ digraph cfg { "capturedNoNullDeref#BlockVar#instance.ebe646baaabdc58144a5916780ee8c76_7" -> "capturedNoNullDeref#BlockVar#instance.ebe646baaabdc58144a5916780ee8c76_6" ; -"objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_1" [label="1: Start objc_blockBlockVar_blockPostOk_3\nFormals: x:int*\nLocals: \nCaptured: x:int* \n DECLARE_LOCALS(&return); [line 42, column 28]\n " color=yellow style=filled] +"capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_1" [label="1: Start BlockVar_capturedNullDeref\nFormals: self:BlockVar*\nLocals: my_block:_fn_(*) x:int* \n DECLARE_LOCALS(&return,&my_block,&x); [line 48, column 1]\n " color=yellow style=filled] - "objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_1" -> "objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_3" ; -"objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_2" [label="2: Exit objc_blockBlockVar_blockPostOk_3 \n " color=yellow style=filled] + "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_1" -> "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_5" ; +"capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_2" [label="2: Exit BlockVar_capturedNullDeref \n " color=yellow style=filled] -"objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_3" [label="3: Return Stmt \n n$19=*&x:int* [line 43, column 12]\n *&return:int*=n$19 [line 43, column 5]\n " shape="box"] +"capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_3" [label="3: Return Stmt \n n$20=*&my_block:_fn_(*) [line 53, column 10]\n n$21=n$20() [line 53, column 10]\n *&return:int=n$21 [line 53, column 3]\n " shape="box"] - "objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_3" -> "objc_blockBlockVar_blockPostOk_3.3ab7fa6614f426747520e37cb5442862_2" ; -"objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_1" [label="1: Start objc_blockBlockVar_blockPostBad_2\nFormals: x:int*\nLocals: \nCaptured: x:int* \n DECLARE_LOCALS(&return); [line 33, column 28]\n " color=yellow style=filled] + "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_3" -> "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_2" ; +"capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_4" [label="4: DeclStmt \n n$22=*&x:int* [line 50, column 27]\n *&my_block:_fn_(*)=(_fun_objc_blockBlockVar_capturedNullDeref_4,(n$22 &x:int*)) [line 50, column 3]\n " shape="box"] - "objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_1" -> "objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_3" ; -"objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_2" [label="2: Exit objc_blockBlockVar_blockPostBad_2 \n " color=yellow style=filled] + "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_4" -> "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_3" ; +"capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_5" [label="5: DeclStmt \n *&x:int*=null [line 49, column 3]\n " shape="box"] -"objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_3" [label="3: Return Stmt \n n$14=*&x:int* [line 34, column 12]\n *&return:int*=n$14 [line 34, column 5]\n " shape="box"] + "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_5" -> "capturedNullDeref#BlockVar#instance.48c44f7ae26caf7a1ac522523ebac894_4" ; +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_1" [label="1: Start BlockVar_navigateToURLInBackground\nFormals: \nLocals: p:int* x:int addBlock:_fn_(*) \n DECLARE_LOCALS(&return,&p,&x,&addBlock); [line 18, column 1]\n " color=yellow style=filled] - "objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_3" -> "objc_blockBlockVar_blockPostBad_2.bc84c345da03940b9d1bd31f97111684_2" ; -"objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_1" [label="1: Start objc_blockBlockVar_capturedNoNullDeref_5\nFormals: x:int*\nLocals: \nCaptured: x:int* \n DECLARE_LOCALS(&return); [line 59, column 27]\n " color=yellow style=filled] + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_1" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_12" ; +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_2" [label="2: Exit BlockVar_navigateToURLInBackground \n " color=yellow style=filled] - "objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_1" -> "objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_3" ; -"objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_2" [label="2: Exit objc_blockBlockVar_capturedNoNullDeref_5 \n " color=yellow style=filled] +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_3" [label="3: + \n " ] -"objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_3" [label="3: Return Stmt \n n$28=*&x:int* [line 60, column 13]\n n$29=*n$28:int [line 60, column 12]\n *&return:int=n$29 [line 60, column 5]\n " shape="box"] + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_3" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_4" ; +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_4" [label="4: between_join_and_exit \n " shape="box"] - "objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_3" -> "objc_blockBlockVar_capturedNoNullDeref_5.9ca77a5edecb840a7e1b223eb6f09bab_2" ; -"objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_1" [label="1: Start objc_blockBlockVar_capturedNullDeref_4\nFormals: x:int*\nLocals: \nCaptured: x:int* \n DECLARE_LOCALS(&return); [line 50, column 27]\n " color=yellow style=filled] + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_4" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_2" ; +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_5" [label="5: BinaryOperatorStmt: EQ \n n$0=*&x:int [line 25, column 7]\n " shape="box"] - "objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_1" -> "objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_3" ; -"objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_2" [label="2: Exit objc_blockBlockVar_capturedNullDeref_4 \n " color=yellow style=filled] + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_5" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_6" ; + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_5" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_7" ; +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_6" [label="6: Prune (true branch, if) \n PRUNE((n$0 == 8), true); [line 25, column 7]\n " shape="invhouse"] -"objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_3" [label="3: Return Stmt \n n$23=*&x:int* [line 51, column 13]\n n$24=*n$23:int [line 51, column 12]\n *&return:int=n$24 [line 51, column 5]\n " shape="box"] + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_6" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_8" ; +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_7" [label="7: Prune (false branch, if) \n PRUNE(!(n$0 == 8), false); [line 25, column 7]\n " shape="invhouse"] - "objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_3" -> "objc_blockBlockVar_capturedNullDeref_4.1bdaeaa4f18868112cc189c7d6e42bf9_2" ; + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_7" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_9" ; +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_8" [label="8: Return Stmt \n n$1=*&p:int* [line 26, column 13]\n n$2=*n$1:int [line 26, column 12]\n *&return:int=n$2 [line 26, column 5]\n " shape="box"] + + + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_8" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_2" ; +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_9" [label="9: Return Stmt \n n$3=*&x:int [line 28, column 12]\n *&return:int=n$3 [line 28, column 5]\n " shape="box"] + + + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_9" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_2" ; +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_10" [label="10: DeclStmt \n *&p:int*=null [line 24, column 3]\n " shape="box"] + + + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_10" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_5" ; +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_11" [label="11: DeclStmt \n n$4=*&addBlock:_fn_(*) [line 23, column 11]\n n$5=n$4(1:int,2:int) [line 23, column 11]\n *&x:int=n$5 [line 23, column 3]\n " shape="box"] + + + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_11" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_10" ; +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_12" [label="12: DeclStmt \n *&addBlock:_fn_(*)=(_fun_objc_blockBlockVar_navigateToURLInBackground_1) [line 19, column 3]\n " shape="box"] + + + "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_12" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_11" ; +"test#BlockVar#class.79d88363beeb921609a605886abe817f_1" [label="1: Start BlockVar_test\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 14, column 1]\n " color=yellow style=filled] + + + "test#BlockVar#class.79d88363beeb921609a605886abe817f_1" -> "test#BlockVar#class.79d88363beeb921609a605886abe817f_3" ; +"test#BlockVar#class.79d88363beeb921609a605886abe817f_2" [label="2: Exit BlockVar_test \n " color=yellow style=filled] + + +"test#BlockVar#class.79d88363beeb921609a605886abe817f_3" [label="3: Return Stmt \n *&return:int=5 [line 15, column 3]\n " shape="box"] + + + "test#BlockVar#class.79d88363beeb921609a605886abe817f_3" -> "test#BlockVar#class.79d88363beeb921609a605886abe817f_2" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/block/Blocks_as_parameters.m.dot b/infer/tests/codetoanalyze/objc/shared/block/Blocks_as_parameters.m.dot index 3737082fe..4118248ef 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/Blocks_as_parameters.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/Blocks_as_parameters.m.dot @@ -1,5 +1,16 @@ /* @generated */ digraph cfg { +"objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_1" [label="1: Start objc_blockB_f_1\nFormals: self:B* const \nLocals: \nCaptured: self:B* const \n DECLARE_LOCALS(&return); [line 26, column 11]\n " color=yellow style=filled] + + + "objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_1" -> "objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_3" ; +"objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_2" [label="2: Exit objc_blockB_f_1 \n " color=yellow style=filled] + + +"objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_3" [label="3: BinaryOperatorStmt: Assign \n n$5=*&self:B* [line 27, column 9]\n *n$5.x:int=5 [line 27, column 9]\n " shape="box"] + + + "objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_3" -> "objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_2" ; "f#B#instance.f1371ff5e7f410d3df6a2e71ff0a814e_1" [label="1: Start B_f\nFormals: self:B*\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 1]\n " color=yellow style=filled] @@ -15,15 +26,4 @@ digraph cfg { "f#B#instance.f1371ff5e7f410d3df6a2e71ff0a814e_4" -> "f#B#instance.f1371ff5e7f410d3df6a2e71ff0a814e_3" ; -"objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_1" [label="1: Start objc_blockB_f_1\nFormals: self:B* const \nLocals: \nCaptured: self:B* const \n DECLARE_LOCALS(&return); [line 26, column 11]\n " color=yellow style=filled] - - - "objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_1" -> "objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_3" ; -"objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_2" [label="2: Exit objc_blockB_f_1 \n " color=yellow style=filled] - - -"objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_3" [label="3: BinaryOperatorStmt: Assign \n n$5=*&self:B* [line 27, column 9]\n *n$5.x:int=5 [line 27, column 9]\n " shape="box"] - - - "objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_3" -> "objc_blockB_f_1.9ca2cd9875647cc0e2a4803d22445f9c_2" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/block/block.m.dot b/infer/tests/codetoanalyze/objc/shared/block/block.m.dot index 69496b740..6a360fa32 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/block.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/block.m.dot @@ -11,17 +11,6 @@ digraph cfg { "BlockMain.116013dceff9629776ec833c9d43561d_3" -> "BlockMain.116013dceff9629776ec833c9d43561d_2" ; -"objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_1" [label="1: Start objc_blockmain1_1\nFormals: e:int f:int\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 14]\n " color=yellow style=filled] - - - "objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_1" -> "objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_3" ; -"objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_2" [label="2: Exit objc_blockmain1_1 \n " color=yellow style=filled] - - -"objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_3" [label="3: Return Stmt \n n$5=*&e:int [line 35, column 12]\n n$6=*&#GB$main1.s:int [line 35, column 16]\n *&return:int=(n$5 - n$6) [line 35, column 5]\n " shape="box"] - - - "objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_3" -> "objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_2" ; "main1.38f534a9576db7ec6ebcbca8c111f942_1" [label="1: Start main1\nFormals: y:int\nLocals: addblock:_fn_(*) add2:int add1:int x:int \n DECLARE_LOCALS(&return,&addblock,&add2,&add1,&x); [line 10, column 1]\n " color=yellow style=filled] @@ -61,6 +50,17 @@ digraph cfg { "main1.38f534a9576db7ec6ebcbca8c111f942_10" -> "main1.38f534a9576db7ec6ebcbca8c111f942_9" ; +"objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_1" [label="1: Start objc_blockmain1_1\nFormals: e:int f:int\nLocals: \n DECLARE_LOCALS(&return); [line 34, column 14]\n " color=yellow style=filled] + + + "objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_1" -> "objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_3" ; +"objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_2" [label="2: Exit objc_blockmain1_1 \n " color=yellow style=filled] + + +"objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_3" [label="3: Return Stmt \n n$5=*&e:int [line 35, column 12]\n n$6=*&#GB$main1.s:int [line 35, column 16]\n *&return:int=(n$5 - n$6) [line 35, column 5]\n " shape="box"] + + + "objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_3" -> "objc_blockmain1_1.74199543de3b6a9a736f23ef5e45586a_2" ; "objc_blockmain1_2.0d332204bbe33f46a9283d2c0df5700a_1" [label="1: Start objc_blockmain1_2\nFormals: x:int c:int d:int\nLocals: bla:int add2:int addblock2:_fn_(*)\nCaptured: x:int \n DECLARE_LOCALS(&return,&bla,&add2,&addblock2); [line 18, column 14]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/objc/shared/block/block_no_args.m.dot b/infer/tests/codetoanalyze/objc/shared/block/block_no_args.m.dot index d064512a9..006c64eb2 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/block_no_args.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/block_no_args.m.dot @@ -1,5 +1,16 @@ /* @generated */ digraph cfg { +"objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_1" [label="1: Start objc_blockMy_manager_m_1\nFormals: z:int\nLocals: \nCaptured: z:int \n DECLARE_LOCALS(&return); [line 25, column 7]\n " color=yellow style=filled] + + + "objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_1" -> "objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_3" ; +"objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_2" [label="2: Exit objc_blockMy_manager_m_1 \n " color=yellow style=filled] + + +"objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_3" [label="3: BinaryOperatorStmt: Assign \n n$6=*&z:int [line 26, column 9]\n *&#GB$g:int=(n$6 + 3) [line 26, column 5]\n " shape="box"] + + + "objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_3" -> "objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_2" ; "m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_1" [label="1: Start My_manager_m\nFormals: self:My_manager*\nLocals: p:int* z:int b:_fn_(*) \n DECLARE_LOCALS(&return,&p,&z,&b); [line 21, column 1]\n " color=yellow style=filled] @@ -56,15 +67,4 @@ digraph cfg { "m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_14" -> "m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_13" ; -"objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_1" [label="1: Start objc_blockMy_manager_m_1\nFormals: z:int\nLocals: \nCaptured: z:int \n DECLARE_LOCALS(&return); [line 25, column 7]\n " color=yellow style=filled] - - - "objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_1" -> "objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_3" ; -"objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_2" [label="2: Exit objc_blockMy_manager_m_1 \n " color=yellow style=filled] - - -"objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_3" [label="3: BinaryOperatorStmt: Assign \n n$6=*&z:int [line 26, column 9]\n *&#GB$g:int=(n$6 + 3) [line 26, column 5]\n " shape="box"] - - - "objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_3" -> "objc_blockMy_manager_m_1.b75c41325ae3c65dcf5321924a57fc38_2" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/block/block_release.m.dot b/infer/tests/codetoanalyze/objc/shared/block/block_release.m.dot index 545e984af..69803c310 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/block_release.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/block_release.m.dot @@ -1,5 +1,33 @@ /* @generated */ digraph cfg { +"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_1" [label="1: Start objc_blockMy_manager_blockReleaseNoLeak_1\nFormals: newImage:CGImage* a:int\nLocals: \nCaptured: newImage:CGImage* \n DECLARE_LOCALS(&return); [line 25, column 7]\n " color=yellow style=filled] + + + "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_1" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_5" ; + "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_1" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_6" ; +"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_2" [label="2: Exit objc_blockMy_manager_blockReleaseNoLeak_1 \n " color=yellow style=filled] + + +"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_3" [label="3: + \n " ] + + + "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_3" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_4" ; +"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_4" [label="4: between_join_and_exit \n " shape="box"] + + + "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_4" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_2" ; +"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_5" [label="5: Prune (true branch, if) \n n$6=*&newImage:CGImage* [line 26, column 9]\n PRUNE(n$6, true); [line 26, column 9]\n " shape="invhouse"] + + + "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_5" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_7" ; +"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_6" [label="6: Prune (false branch, if) \n n$6=*&newImage:CGImage* [line 26, column 9]\n PRUNE(!n$6, false); [line 26, column 9]\n " shape="invhouse"] + + + "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_6" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_3" ; +"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_7" [label="7: Call _fun_CGImageRelease \n n$7=*&newImage:CGImage* [line 27, column 22]\n _fun_CGImageRelease(n$7:CGImage*) [line 27, column 7]\n " shape="box"] + + + "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_7" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_3" ; "blockReleaseNoLeak#My_manager#instance.0c48f80f024250b18a529440f1313af6_1" [label="1: Start My_manager_blockReleaseNoLeak\nFormals: self:My_manager*\nLocals: newImage:CGImage* context:CGContext* z:int b:_fn_(*) \n DECLARE_LOCALS(&return,&newImage,&context,&z,&b); [line 20, column 1]\n " color=yellow style=filled] @@ -48,32 +76,4 @@ digraph cfg { "blockReleaseNoLeak#My_manager#instance.0c48f80f024250b18a529440f1313af6_12" -> "blockReleaseNoLeak#My_manager#instance.0c48f80f024250b18a529440f1313af6_11" ; -"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_1" [label="1: Start objc_blockMy_manager_blockReleaseNoLeak_1\nFormals: newImage:CGImage* a:int\nLocals: \nCaptured: newImage:CGImage* \n DECLARE_LOCALS(&return); [line 25, column 7]\n " color=yellow style=filled] - - - "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_1" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_5" ; - "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_1" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_6" ; -"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_2" [label="2: Exit objc_blockMy_manager_blockReleaseNoLeak_1 \n " color=yellow style=filled] - - -"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_3" [label="3: + \n " ] - - - "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_3" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_4" ; -"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_4" [label="4: between_join_and_exit \n " shape="box"] - - - "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_4" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_2" ; -"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_5" [label="5: Prune (true branch, if) \n n$6=*&newImage:CGImage* [line 26, column 9]\n PRUNE(n$6, true); [line 26, column 9]\n " shape="invhouse"] - - - "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_5" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_7" ; -"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_6" [label="6: Prune (false branch, if) \n n$6=*&newImage:CGImage* [line 26, column 9]\n PRUNE(!n$6, false); [line 26, column 9]\n " shape="invhouse"] - - - "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_6" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_3" ; -"objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_7" [label="7: Call _fun_CGImageRelease \n n$7=*&newImage:CGImage* [line 27, column 22]\n _fun_CGImageRelease(n$7:CGImage*) [line 27, column 7]\n " shape="box"] - - - "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_7" -> "objc_blockMy_manager_blockReleaseNoLeak_1.a1f2f2c370e78fee994cf9a9d53a7210_3" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/block/dispatch.m.dot b/infer/tests/codetoanalyze/objc/shared/block/dispatch.m.dot index 0e672e846..b44454e48 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/dispatch.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/dispatch.m.dot @@ -1,227 +1,227 @@ /* @generated */ digraph cfg { -"sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_1" [label="1: Start DispatchA_sharedInstance\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_1" [label="1: Start DispatchMain\nFormals: \nLocals: p:int* b:DispatchA* \n DECLARE_LOCALS(&return,&p,&b); [line 84, column 1]\n " color=yellow style=filled] - "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_1" -> "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_4" ; -"sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_2" [label="2: Exit DispatchA_sharedInstance \n " color=yellow style=filled] + "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_1" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_11" ; +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_2" [label="2: Exit DispatchMain \n " color=yellow style=filled] -"sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_3" [label="3: Return Stmt \n n$1=*&#GB$DispatchA_sharedInstance.sharedInstance:objc_object* [line 33, column 10]\n *&return:objc_object*=n$1 [line 33, column 3]\n " shape="box"] +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_3" [label="3: + \n " ] - "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_3" -> "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_2" ; -"sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_4" [label="4: Call _fun__dispatch_once \n _fun__dispatch_once(&#GB$DispatchA_sharedInstance.once:long*,(_fun_objc_blockDispatchA_sharedInstance_1):_fn_(*)) block_params [line 30, column 3]\n " shape="box"] + "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_3" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_4" ; +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_4" [label="4: between_join_and_exit \n " shape="box"] - "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_4" -> "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_3" ; -"block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_1" [label="1: Start DispatchA_block_attribute\nFormals: \nLocals: a:DispatchA*(__block) \n DECLARE_LOCALS(&return,&a); [line 36, column 1]\n " color=yellow style=filled] + "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_4" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_2" ; +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_5" [label="5: BinaryOperatorStmt: EQ \n n$0=*&b:DispatchA* [line 87, column 7]\n " shape="box"] - "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_1" -> "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_5" ; -"block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_2" [label="2: Exit DispatchA_block_attribute \n " color=yellow style=filled] + "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_5" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_6" ; + "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_5" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_7" ; +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_6" [label="6: Prune (true branch, if) \n PRUNE((n$0 == null), true); [line 87, column 7]\n " shape="invhouse"] -"block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_3" [label="3: Return Stmt \n n$4=*&a:DispatchA* [line 42, column 10]\n n$5=*n$4._x:int [line 42, column 10]\n *&return:int=n$5 [line 42, column 3]\n " shape="box"] + "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_6" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_8" ; +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_7" [label="7: Prune (false branch, if) \n PRUNE(!(n$0 == null), false); [line 87, column 7]\n " shape="invhouse"] - "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_3" -> "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_2" ; -"block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_4" [label="4: Call _fun__dispatch_once \n n$6=*&a:DispatchA* [line 39, column 24]\n _fun__dispatch_once(&#GB$DispatchA_block_attribute.once:long*,(_fun_objc_blockDispatchA_block_attribute_2,(n$6 &a:DispatchA*)):_fn_(*)) block_params [line 39, column 3]\n " shape="box"] + "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_7" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_9" ; +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_8" [label="8: Return Stmt \n n$1=*&p:int* [line 88, column 13]\n n$2=*n$1:int [line 88, column 12]\n *&return:int=n$2 [line 88, column 5]\n " shape="box"] - "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_4" -> "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_3" ; -"block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_5" [label="5: DeclStmt \n n$8=_fun___objc_alloc_no_fail(sizeof(t=DispatchA):unsigned long) [line 38, column 26]\n n$9=_fun_NSObject_init(n$8:DispatchA*) virtual [line 38, column 26]\n *&a:DispatchA*=n$9 [line 38, column 3]\n " shape="box"] + "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_8" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_2" ; +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_9" [label="9: Return Stmt \n *&return:int=0 [line 90, column 5]\n " shape="box"] - "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_5" -> "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_4" ; -"trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_1" [label="1: Start DispatchA_trans\nFormals: \nLocals: dummy_block:_fn_(*) \n DECLARE_LOCALS(&return,&dummy_block); [line 45, column 1]\n " color=yellow style=filled] + "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_9" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_2" ; +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_10" [label="10: DeclStmt \n *&p:int*=null [line 86, column 3]\n " shape="box"] - "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_1" -> "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_5" ; -"trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_2" [label="2: Exit DispatchA_trans \n " color=yellow style=filled] + "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_10" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_5" ; +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_11" [label="11: DeclStmt \n n$3=_fun_DispatchA_sharedInstance() [line 85, column 18]\n *&b:DispatchA*=n$3 [line 85, column 3]\n " shape="box"] -"trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_3" [label="3: Return Stmt \n n$10=*&#GB$DispatchA_trans.sharedInstance:objc_object* [line 51, column 10]\n *&return:objc_object*=n$10 [line 51, column 3]\n " shape="box"] + "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_11" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_10" ; +"objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_1" [label="1: Start objc_blockDispatchA_block_attribute_2\nFormals: a:DispatchA*\nLocals: \nCaptured: a:DispatchA* \n DECLARE_LOCALS(&return); [line 39, column 24]\n " color=yellow style=filled] - "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_3" -> "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_2" ; -"trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_4" [label="4: Call n$11 \n n$11=*&dummy_block:_fn_(*) [line 50, column 3]\n n$11() [line 50, column 3]\n " shape="box"] + "objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_1" -> "objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_3" ; +"objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_2" [label="2: Exit objc_blockDispatchA_block_attribute_2 \n " color=yellow style=filled] - "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_4" -> "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_3" ; -"trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_5" [label="5: DeclStmt \n *&dummy_block:_fn_(*)=(_fun_objc_blockDispatchA_trans_3) [line 47, column 3]\n " shape="box"] +"objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_3" [label="3: BinaryOperatorStmt: Assign \n n$7=*&a:DispatchA* [line 40, column 5]\n *n$7._x:int=10 [line 40, column 5]\n " shape="box"] - "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_5" -> "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_4" ; -"dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_1" [label="1: Start DispatchA_dispatch_a_block_variable\nFormals: \nLocals: initialization_block__:_fn_(*) \n DECLARE_LOCALS(&return,&initialization_block__); [line 54, column 1]\n " color=yellow style=filled] + "objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_3" -> "objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_2" ; +"objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_1" [label="1: Start objc_blockDispatchA_dispatch_a_block_variable_4\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 56, column 38]\n " color=yellow style=filled] - "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_1" -> "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_5" ; -"dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_2" [label="2: Exit DispatchA_dispatch_a_block_variable \n " color=yellow style=filled] + "objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_1" -> "objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_3" ; +"objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_2" [label="2: Exit objc_blockDispatchA_dispatch_a_block_variable_4 \n " color=yellow style=filled] -"dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_3" [label="3: Return Stmt \n n$14=*&#GB$DispatchA_dispatch_a_block_variable.static_storage__:objc_object* [line 61, column 10]\n *&return:objc_object*=n$14 [line 61, column 3]\n " shape="box"] +"objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_3" [label="3: BinaryOperatorStmt: Assign \n n$16=_fun___objc_alloc_no_fail(sizeof(t=DispatchA):unsigned long) [line 57, column 25]\n n$17=_fun_NSObject_init(n$16:DispatchA*) virtual [line 57, column 25]\n *&#GB$DispatchA_dispatch_a_block_variable.static_storage__:objc_object*=n$17 [line 57, column 5]\n " shape="box"] - "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_3" -> "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_2" ; -"dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_4" [label="4: Call _fun__dispatch_once \n n$15=*&initialization_block__:_fn_(*) [line 60, column 32]\n _fun__dispatch_once(&#GB$DispatchA_dispatch_a_block_variable.once_token__:long*,n$15:_fn_(*)) [line 60, column 3]\n " shape="box"] + "objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_3" -> "objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_2" ; +"objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_1" [label="1: Start objc_blockDispatchA_dispatch_a_block_variable_from_macro_5\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 67, column 40]\n " color=yellow style=filled] - "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_4" -> "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_3" ; -"dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_5" [label="5: DeclStmt \n *&initialization_block__:_fn_(*)=(_fun_objc_blockDispatchA_dispatch_a_block_variable_4) [line 56, column 3]\n " shape="box"] + "objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_1" -> "objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_3" ; +"objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_2" [label="2: Exit objc_blockDispatchA_dispatch_a_block_variable_from_macro_5 \n " color=yellow style=filled] - "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_5" -> "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_4" ; -"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_1" [label="1: Start DispatchA_dispatch_a_block_variable_from_macro\nFormals: \nLocals: initialization_block__:_fn_(*) \n DECLARE_LOCALS(&return,&initialization_block__); [line 64, column 1]\n " color=yellow style=filled] +"objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_3" [label="3: BinaryOperatorStmt: Assign \n n$20=_fun___objc_alloc_no_fail(sizeof(t=DispatchA):unsigned long) [line 68, column 27]\n n$21=_fun_NSObject_init(n$20:DispatchA*) virtual [line 68, column 27]\n *&#GB$DispatchA_dispatch_a_block_variable_from_macro.static_storage__:objc_object*=n$21 [line 68, column 7]\n " shape="box"] - "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_1" -> "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_5" ; -"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_2" [label="2: Exit DispatchA_dispatch_a_block_variable_from_macro \n " color=yellow style=filled] + "objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_3" -> "objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_2" ; +"objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_1" [label="1: Start objc_blockDispatchA_sharedInstance_1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 30, column 24]\n " color=yellow style=filled] -"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_3" [label="3: Fallback node \n n$18=*&#GB$DispatchA_dispatch_a_block_variable_from_macro.static_storage__:objc_object* [line 72, column 5]\n " shape="box"] + "objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_1" -> "objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_3" ; +"objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_2" [label="2: Exit objc_blockDispatchA_sharedInstance_1 \n " color=yellow style=filled] - "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_3" -> "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_6" ; -"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_4" [label="4: Call _fun__dispatch_once \n n$19=*&initialization_block__:_fn_(*) [line 71, column 34]\n _fun__dispatch_once(&#GB$DispatchA_dispatch_a_block_variable_from_macro.once_token__:long*,n$19:_fn_(*)) [line 71, column 5]\n " shape="box"] +"objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_3" [label="3: BinaryOperatorStmt: Assign \n n$2=_fun___objc_alloc_no_fail(sizeof(t=DispatchA):unsigned long) [line 31, column 23]\n n$3=_fun_NSBundleResourceRequest_init(n$2:DispatchA*) virtual [line 31, column 22]\n *&#GB$DispatchA_sharedInstance.sharedInstance:objc_object*=n$3 [line 31, column 5]\n " shape="box"] - "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_4" -> "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_3" ; -"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_5" [label="5: DeclStmt \n *&initialization_block__:_fn_(*)=(_fun_objc_blockDispatchA_dispatch_a_block_variable_from_macro_5) [line 67, column 5]\n " shape="box"] + "objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_3" -> "objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_2" ; +"objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_1" [label="1: Start objc_blockDispatchA_trans_3\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 47, column 27]\n " color=yellow style=filled] - "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_5" -> "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_4" ; -"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_6" [label="6: Return Stmt \n *&return:objc_object*=n$18 [line 65, column 3]\n " shape="box"] + "objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_1" -> "objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_3" ; +"objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_2" [label="2: Exit objc_blockDispatchA_trans_3 \n " color=yellow style=filled] - "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_6" -> "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_2" ; -"dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_1" [label="1: Start DispatchA_dispatch_a_block_variable_from_macro_delivers_initialised_object\nFormals: \nLocals: a:DispatchA* \n DECLARE_LOCALS(&return,&a); [line 76, column 1]\n " color=yellow style=filled] +"objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_3" [label="3: BinaryOperatorStmt: Assign \n n$12=_fun___objc_alloc_no_fail(sizeof(t=DispatchA):unsigned long) [line 48, column 23]\n n$13=_fun_NSBundleResourceRequest_init(n$12:DispatchA*) virtual [line 48, column 22]\n *&#GB$DispatchA_trans.sharedInstance:objc_object*=n$13 [line 48, column 5]\n " shape="box"] - "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_1" -> "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_5" ; -"dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_2" [label="2: Exit DispatchA_dispatch_a_block_variable_from_macro_delivers_initialised_object \n " color=yellow style=filled] + "objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_3" -> "objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_2" ; +"block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_1" [label="1: Start DispatchA_block_attribute\nFormals: \nLocals: a:DispatchA*(__block) \n DECLARE_LOCALS(&return,&a); [line 36, column 1]\n " color=yellow style=filled] -"dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_3" [label="3: Return Stmt \n n$22=*&a:DispatchA* [line 79, column 15]\n n$23=*n$22._x:int [line 79, column 15]\n *&return:int=(1 / (n$23 - 5)) [line 79, column 3]\n " shape="box"] + "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_1" -> "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_5" ; +"block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_2" [label="2: Exit DispatchA_block_attribute \n " color=yellow style=filled] - "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_3" -> "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_2" ; -"dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_4" [label="4: BinaryOperatorStmt: Assign \n n$24=*&a:DispatchA* [line 78, column 3]\n *n$24._x:int=5 [line 78, column 3]\n " shape="box"] +"block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_3" [label="3: Return Stmt \n n$4=*&a:DispatchA* [line 42, column 10]\n n$5=*n$4._x:int [line 42, column 10]\n *&return:int=n$5 [line 42, column 3]\n " shape="box"] - "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_4" -> "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_3" ; -"dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_5" [label="5: DeclStmt \n n$25=_fun_DispatchA_dispatch_a_block_variable_from_macro() [line 77, column 18]\n *&a:DispatchA*=n$25 [line 77, column 3]\n " shape="box"] + "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_3" -> "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_2" ; +"block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_4" [label="4: Call _fun__dispatch_once \n n$6=*&a:DispatchA* [line 39, column 24]\n _fun__dispatch_once(&#GB$DispatchA_block_attribute.once:long*,(_fun_objc_blockDispatchA_block_attribute_2,(n$6 &a:DispatchA*)):_fn_(*)) block_params [line 39, column 3]\n " shape="box"] - "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_5" -> "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_4" ; -"objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_1" [label="1: Start objc_blockDispatchA_sharedInstance_1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 30, column 24]\n " color=yellow style=filled] + "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_4" -> "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_3" ; +"block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_5" [label="5: DeclStmt \n n$8=_fun___objc_alloc_no_fail(sizeof(t=DispatchA):unsigned long) [line 38, column 26]\n n$9=_fun_NSObject_init(n$8:DispatchA*) virtual [line 38, column 26]\n *&a:DispatchA*=n$9 [line 38, column 3]\n " shape="box"] - "objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_1" -> "objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_3" ; -"objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_2" [label="2: Exit objc_blockDispatchA_sharedInstance_1 \n " color=yellow style=filled] + "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_5" -> "block_attribute#DispatchA#class.df997e345dbf19ec3438c667c942e14a_4" ; +"dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_1" [label="1: Start DispatchA_dispatch_a_block_variable\nFormals: \nLocals: initialization_block__:_fn_(*) \n DECLARE_LOCALS(&return,&initialization_block__); [line 54, column 1]\n " color=yellow style=filled] -"objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_3" [label="3: BinaryOperatorStmt: Assign \n n$2=_fun___objc_alloc_no_fail(sizeof(t=DispatchA):unsigned long) [line 31, column 23]\n n$3=_fun_NSBundleResourceRequest_init(n$2:DispatchA*) virtual [line 31, column 22]\n *&#GB$DispatchA_sharedInstance.sharedInstance:objc_object*=n$3 [line 31, column 5]\n " shape="box"] + "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_1" -> "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_5" ; +"dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_2" [label="2: Exit DispatchA_dispatch_a_block_variable \n " color=yellow style=filled] - "objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_3" -> "objc_blockDispatchA_sharedInstance_1.0b8803e75b6a82e1a4530bcb953490e2_2" ; -"objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_1" [label="1: Start objc_blockDispatchA_trans_3\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 47, column 27]\n " color=yellow style=filled] +"dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_3" [label="3: Return Stmt \n n$14=*&#GB$DispatchA_dispatch_a_block_variable.static_storage__:objc_object* [line 61, column 10]\n *&return:objc_object*=n$14 [line 61, column 3]\n " shape="box"] - "objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_1" -> "objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_3" ; -"objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_2" [label="2: Exit objc_blockDispatchA_trans_3 \n " color=yellow style=filled] + "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_3" -> "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_2" ; +"dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_4" [label="4: Call _fun__dispatch_once \n n$15=*&initialization_block__:_fn_(*) [line 60, column 32]\n _fun__dispatch_once(&#GB$DispatchA_dispatch_a_block_variable.once_token__:long*,n$15:_fn_(*)) [line 60, column 3]\n " shape="box"] -"objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_3" [label="3: BinaryOperatorStmt: Assign \n n$12=_fun___objc_alloc_no_fail(sizeof(t=DispatchA):unsigned long) [line 48, column 23]\n n$13=_fun_NSBundleResourceRequest_init(n$12:DispatchA*) virtual [line 48, column 22]\n *&#GB$DispatchA_trans.sharedInstance:objc_object*=n$13 [line 48, column 5]\n " shape="box"] + "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_4" -> "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_3" ; +"dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_5" [label="5: DeclStmt \n *&initialization_block__:_fn_(*)=(_fun_objc_blockDispatchA_dispatch_a_block_variable_4) [line 56, column 3]\n " shape="box"] - "objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_3" -> "objc_blockDispatchA_trans_3.80c09fe69dc0d5591de63a0c525de29b_2" ; -"objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_1" [label="1: Start objc_blockDispatchA_dispatch_a_block_variable_4\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 56, column 38]\n " color=yellow style=filled] + "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_5" -> "dispatch_a_block_variable#DispatchA#class.3cc12dd22127281b8293b7c046d21bb2_4" ; +"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_1" [label="1: Start DispatchA_dispatch_a_block_variable_from_macro\nFormals: \nLocals: initialization_block__:_fn_(*) \n DECLARE_LOCALS(&return,&initialization_block__); [line 64, column 1]\n " color=yellow style=filled] - "objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_1" -> "objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_3" ; -"objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_2" [label="2: Exit objc_blockDispatchA_dispatch_a_block_variable_4 \n " color=yellow style=filled] + "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_1" -> "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_5" ; +"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_2" [label="2: Exit DispatchA_dispatch_a_block_variable_from_macro \n " color=yellow style=filled] -"objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_3" [label="3: BinaryOperatorStmt: Assign \n n$16=_fun___objc_alloc_no_fail(sizeof(t=DispatchA):unsigned long) [line 57, column 25]\n n$17=_fun_NSObject_init(n$16:DispatchA*) virtual [line 57, column 25]\n *&#GB$DispatchA_dispatch_a_block_variable.static_storage__:objc_object*=n$17 [line 57, column 5]\n " shape="box"] +"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_3" [label="3: Fallback node \n n$18=*&#GB$DispatchA_dispatch_a_block_variable_from_macro.static_storage__:objc_object* [line 72, column 5]\n " shape="box"] - "objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_3" -> "objc_blockDispatchA_dispatch_a_block_variable_4.2eedc45fca2c35e6e8c11937ba7a2df8_2" ; -"objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_1" [label="1: Start objc_blockDispatchA_dispatch_a_block_variable_from_macro_5\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 67, column 40]\n " color=yellow style=filled] + "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_3" -> "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_6" ; +"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_4" [label="4: Call _fun__dispatch_once \n n$19=*&initialization_block__:_fn_(*) [line 71, column 34]\n _fun__dispatch_once(&#GB$DispatchA_dispatch_a_block_variable_from_macro.once_token__:long*,n$19:_fn_(*)) [line 71, column 5]\n " shape="box"] - "objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_1" -> "objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_3" ; -"objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_2" [label="2: Exit objc_blockDispatchA_dispatch_a_block_variable_from_macro_5 \n " color=yellow style=filled] + "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_4" -> "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_3" ; +"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_5" [label="5: DeclStmt \n *&initialization_block__:_fn_(*)=(_fun_objc_blockDispatchA_dispatch_a_block_variable_from_macro_5) [line 67, column 5]\n " shape="box"] -"objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_3" [label="3: BinaryOperatorStmt: Assign \n n$20=_fun___objc_alloc_no_fail(sizeof(t=DispatchA):unsigned long) [line 68, column 27]\n n$21=_fun_NSObject_init(n$20:DispatchA*) virtual [line 68, column 27]\n *&#GB$DispatchA_dispatch_a_block_variable_from_macro.static_storage__:objc_object*=n$21 [line 68, column 7]\n " shape="box"] + "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_5" -> "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_4" ; +"dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_6" [label="6: Return Stmt \n *&return:objc_object*=n$18 [line 65, column 3]\n " shape="box"] - "objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_3" -> "objc_blockDispatchA_dispatch_a_block_variable_from_macro_5.e4f37df69df9d95138cb008e85eedab8_2" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_1" [label="1: Start DispatchMain\nFormals: \nLocals: p:int* b:DispatchA* \n DECLARE_LOCALS(&return,&p,&b); [line 84, column 1]\n " color=yellow style=filled] + "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_6" -> "dispatch_a_block_variable_from_macro#DispatchA#class.92567a38d5ab3cf637f72030b1097441_2" ; +"dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_1" [label="1: Start DispatchA_dispatch_a_block_variable_from_macro_delivers_initialised_object\nFormals: \nLocals: a:DispatchA* \n DECLARE_LOCALS(&return,&a); [line 76, column 1]\n " color=yellow style=filled] - "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_1" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_11" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_2" [label="2: Exit DispatchMain \n " color=yellow style=filled] + "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_1" -> "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_5" ; +"dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_2" [label="2: Exit DispatchA_dispatch_a_block_variable_from_macro_delivers_initialised_object \n " color=yellow style=filled] -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_3" [label="3: + \n " ] +"dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_3" [label="3: Return Stmt \n n$22=*&a:DispatchA* [line 79, column 15]\n n$23=*n$22._x:int [line 79, column 15]\n *&return:int=(1 / (n$23 - 5)) [line 79, column 3]\n " shape="box"] - "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_3" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_4" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_4" [label="4: between_join_and_exit \n " shape="box"] + "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_3" -> "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_2" ; +"dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_4" [label="4: BinaryOperatorStmt: Assign \n n$24=*&a:DispatchA* [line 78, column 3]\n *n$24._x:int=5 [line 78, column 3]\n " shape="box"] - "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_4" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_2" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_5" [label="5: BinaryOperatorStmt: EQ \n n$0=*&b:DispatchA* [line 87, column 7]\n " shape="box"] + "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_4" -> "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_3" ; +"dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_5" [label="5: DeclStmt \n n$25=_fun_DispatchA_dispatch_a_block_variable_from_macro() [line 77, column 18]\n *&a:DispatchA*=n$25 [line 77, column 3]\n " shape="box"] - "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_5" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_6" ; - "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_5" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_7" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_6" [label="6: Prune (true branch, if) \n PRUNE((n$0 == null), true); [line 87, column 7]\n " shape="invhouse"] + "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_5" -> "dispatch_a_block_variable_from_macro_delivers_initialised_object#DispatchA#class.a58ef5afb5e1e9480b49788e2400c52c_4" ; +"init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_1" [label="1: Start DispatchA_init\nFormals: self:DispatchA*\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 1]\n " color=yellow style=filled] - "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_6" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_8" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_7" [label="7: Prune (false branch, if) \n PRUNE(!(n$0 == null), false); [line 87, column 7]\n " shape="invhouse"] + "init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_1" -> "init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_3" ; +"init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_2" [label="2: Exit DispatchA_init \n " color=yellow style=filled] - "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_7" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_9" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_8" [label="8: Return Stmt \n n$1=*&p:int* [line 88, column 13]\n n$2=*n$1:int [line 88, column 12]\n *&return:int=n$2 [line 88, column 5]\n " shape="box"] +"init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_3" [label="3: Return Stmt \n n$0=*&self:DispatchA* [line 24, column 10]\n *&return:objc_object*=n$0 [line 24, column 3]\n " shape="box"] - "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_8" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_2" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_9" [label="9: Return Stmt \n *&return:int=0 [line 90, column 5]\n " shape="box"] + "init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_3" -> "init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_2" ; +"sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_1" [label="1: Start DispatchA_sharedInstance\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] - "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_9" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_2" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_10" [label="10: DeclStmt \n *&p:int*=null [line 86, column 3]\n " shape="box"] + "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_1" -> "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_4" ; +"sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_2" [label="2: Exit DispatchA_sharedInstance \n " color=yellow style=filled] - "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_10" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_5" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_11" [label="11: DeclStmt \n n$3=_fun_DispatchA_sharedInstance() [line 85, column 18]\n *&b:DispatchA*=n$3 [line 85, column 3]\n " shape="box"] +"sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_3" [label="3: Return Stmt \n n$1=*&#GB$DispatchA_sharedInstance.sharedInstance:objc_object* [line 33, column 10]\n *&return:objc_object*=n$1 [line 33, column 3]\n " shape="box"] - "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_11" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_10" ; -"init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_1" [label="1: Start DispatchA_init\nFormals: self:DispatchA*\nLocals: \n DECLARE_LOCALS(&return); [line 23, column 1]\n " color=yellow style=filled] + "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_3" -> "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_2" ; +"sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_4" [label="4: Call _fun__dispatch_once \n _fun__dispatch_once(&#GB$DispatchA_sharedInstance.once:long*,(_fun_objc_blockDispatchA_sharedInstance_1):_fn_(*)) block_params [line 30, column 3]\n " shape="box"] - "init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_1" -> "init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_3" ; -"init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_2" [label="2: Exit DispatchA_init \n " color=yellow style=filled] + "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_4" -> "sharedInstance#DispatchA#class.8992c6086d1ce5c225093940f62386ac_3" ; +"trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_1" [label="1: Start DispatchA_trans\nFormals: \nLocals: dummy_block:_fn_(*) \n DECLARE_LOCALS(&return,&dummy_block); [line 45, column 1]\n " color=yellow style=filled] -"init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_3" [label="3: Return Stmt \n n$0=*&self:DispatchA* [line 24, column 10]\n *&return:objc_object*=n$0 [line 24, column 3]\n " shape="box"] + "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_1" -> "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_5" ; +"trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_2" [label="2: Exit DispatchA_trans \n " color=yellow style=filled] - "init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_3" -> "init#DispatchA#instance.ff6c7b9a5a49bb46493519a4290a6582_2" ; -"objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_1" [label="1: Start objc_blockDispatchA_block_attribute_2\nFormals: a:DispatchA*\nLocals: \nCaptured: a:DispatchA* \n DECLARE_LOCALS(&return); [line 39, column 24]\n " color=yellow style=filled] +"trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_3" [label="3: Return Stmt \n n$10=*&#GB$DispatchA_trans.sharedInstance:objc_object* [line 51, column 10]\n *&return:objc_object*=n$10 [line 51, column 3]\n " shape="box"] - "objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_1" -> "objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_3" ; -"objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_2" [label="2: Exit objc_blockDispatchA_block_attribute_2 \n " color=yellow style=filled] + "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_3" -> "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_2" ; +"trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_4" [label="4: Call n$11 \n n$11=*&dummy_block:_fn_(*) [line 50, column 3]\n n$11() [line 50, column 3]\n " shape="box"] -"objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_3" [label="3: BinaryOperatorStmt: Assign \n n$7=*&a:DispatchA* [line 40, column 5]\n *n$7._x:int=10 [line 40, column 5]\n " shape="box"] + "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_4" -> "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_3" ; +"trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_5" [label="5: DeclStmt \n *&dummy_block:_fn_(*)=(_fun_objc_blockDispatchA_trans_3) [line 47, column 3]\n " shape="box"] - "objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_3" -> "objc_blockDispatchA_block_attribute_2.871f06a0b12b5767153a5d30f3798261_2" ; + "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_5" -> "trans#DispatchA#class.23f9d908a87deca79c235bc76ca6e941_4" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/block/dispatch_examples.m.dot b/infer/tests/codetoanalyze/objc/shared/block/dispatch_examples.m.dot index 322d132d5..347991f73 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/dispatch_examples.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/dispatch_examples.m.dot @@ -1,209 +1,209 @@ /* @generated */ digraph cfg { -"dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_1" [label="1: Start DispatchEx_dispatch_once_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 24, column 1]\n " color=yellow style=filled] +"objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_1" [label="1: Start objc_blockDispatchEx_dispatch_after_example_3\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 50, column 18]\n " color=yellow style=filled] - "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_1" -> "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_5" ; -"dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_2" [label="2: Exit DispatchEx_dispatch_once_example \n " color=yellow style=filled] + "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_1" -> "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_4" ; +"objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_2" [label="2: Exit objc_blockDispatchEx_dispatch_after_example_3 \n " color=yellow style=filled] -"dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_3" [label="3: Return Stmt \n n$1=*&#GB$DispatchEx_dispatch_once_example.a:DispatchEx* [line 33, column 10]\n n$2=*n$1.x:int [line 33, column 10]\n *&return:int=n$2 [line 33, column 3]\n " shape="box"] +"objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_3" [label="3: BinaryOperatorStmt: Assign \n n$16=*&#GB$DispatchEx_dispatch_after_example.a:DispatchEx* [line 52, column 20]\n *n$16.x:int=10 [line 52, column 20]\n " shape="box"] - "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_3" -> "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_2" ; -"dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_4" [label="4: Call _fun__dispatch_once \n _fun__dispatch_once(&#GB$DispatchEx_dispatch_once_example.onceToken:long*,(_fun_objc_blockDispatchEx_dispatch_once_example_1):_fn_(*)) block_params [line 29, column 3]\n " shape="box"] + "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_3" -> "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_2" ; +"objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_4" [label="4: BinaryOperatorStmt: Assign \n n$17=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 51, column 25]\n n$18=_fun_DispatchEx_init(n$17:DispatchEx*) virtual [line 51, column 24]\n *&#GB$DispatchEx_dispatch_after_example.a:DispatchEx*=n$18 [line 51, column 20]\n " shape="box"] - "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_4" -> "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_3" ; -"dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_once_example.a:DispatchEx*=null [line 25, column 3]\n " shape="box"] + "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_4" -> "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_3" ; +"objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_1" [label="1: Start objc_blockDispatchEx_dispatch_async_example_2\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 39, column 18]\n " color=yellow style=filled] - "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_5" -> "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_4" ; -"dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_1" [label="1: Start DispatchEx_dispatch_async_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 36, column 1]\n " color=yellow style=filled] + "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_1" -> "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_4" ; +"objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_2" [label="2: Exit objc_blockDispatchEx_dispatch_async_example_2 \n " color=yellow style=filled] - "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_1" -> "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_5" ; -"dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_2" [label="2: Exit DispatchEx_dispatch_async_example \n " color=yellow style=filled] +"objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_3" [label="3: BinaryOperatorStmt: Assign \n n$9=*&#GB$DispatchEx_dispatch_async_example.a:DispatchEx* [line 41, column 20]\n *n$9.x:int=10 [line 41, column 20]\n " shape="box"] -"dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_3" [label="3: Return Stmt \n n$6=*&#GB$DispatchEx_dispatch_async_example.a:DispatchEx* [line 43, column 10]\n n$7=*n$6.x:int [line 43, column 10]\n *&return:int=n$7 [line 43, column 3]\n " shape="box"] + "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_3" -> "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_2" ; +"objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_4" [label="4: BinaryOperatorStmt: Assign \n n$10=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 40, column 25]\n n$11=_fun_DispatchEx_init(n$10:DispatchEx*) virtual [line 40, column 24]\n *&#GB$DispatchEx_dispatch_async_example.a:DispatchEx*=n$11 [line 40, column 20]\n " shape="box"] - "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_3" -> "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_2" ; -"dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_4" [label="4: Call _fun_dispatch_async \n n$8=_fun_dispatch_get_global_queue(0:long,0:unsigned long) [line 38, column 18]\n _fun_dispatch_async(n$8:NSObject*,(_fun_objc_blockDispatchEx_dispatch_async_example_2):_fn_(*)) block_params [line 38, column 3]\n " shape="box"] + "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_4" -> "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_3" ; +"objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_1" [label="1: Start objc_blockDispatchEx_dispatch_barrier_example_6\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 77, column 53]\n " color=yellow style=filled] - "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_4" -> "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_3" ; -"dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_async_example.a:DispatchEx*=null [line 37, column 3]\n " shape="box"] + "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_1" -> "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_4" ; +"objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_2" [label="2: Exit objc_blockDispatchEx_dispatch_barrier_example_6 \n " color=yellow style=filled] - "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_5" -> "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_4" ; -"dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_1" [label="1: Start DispatchEx_dispatch_after_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 46, column 1]\n " color=yellow style=filled] +"objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_3" [label="3: BinaryOperatorStmt: Assign \n n$34=*&#GB$DispatchEx_dispatch_barrier_example.a:DispatchEx* [line 79, column 5]\n *n$34.x:int=10 [line 79, column 5]\n " shape="box"] - "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_1" -> "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_5" ; -"dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_2" [label="2: Exit DispatchEx_dispatch_after_example \n " color=yellow style=filled] + "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_3" -> "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_2" ; +"objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_4" [label="4: BinaryOperatorStmt: Assign \n n$35=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 78, column 10]\n n$36=_fun_DispatchEx_init(n$35:DispatchEx*) virtual [line 78, column 9]\n *&#GB$DispatchEx_dispatch_barrier_example.a:DispatchEx*=n$36 [line 78, column 5]\n " shape="box"] -"dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_3" [label="3: Return Stmt \n n$12=*&#GB$DispatchEx_dispatch_after_example.a:DispatchEx* [line 54, column 10]\n n$13=*n$12.x:int [line 54, column 10]\n *&return:int=n$13 [line 54, column 3]\n " shape="box"] + "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_4" -> "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_3" ; +"objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_1" [label="1: Start objc_blockDispatchEx_dispatch_group_example_4\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 59, column 57]\n " color=yellow style=filled] - "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_3" -> "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_2" ; -"dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_4" [label="4: Call _fun_dispatch_after \n n$14=_fun_dispatch_time(0:unsigned long long,(2 * 1000000000):long long) [line 48, column 18]\n n$15=_fun_dispatch_get_main_queue() [line 49, column 18]\n _fun_dispatch_after(n$14:unsigned long long,n$15:NSObject*,(_fun_objc_blockDispatchEx_dispatch_after_example_3):_fn_(*)) block_params [line 48, column 3]\n " shape="box"] + "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_1" -> "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_4" ; +"objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_2" [label="2: Exit objc_blockDispatchEx_dispatch_group_example_4 \n " color=yellow style=filled] - "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_4" -> "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_3" ; -"dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_after_example.a:DispatchEx*=null [line 47, column 3]\n " shape="box"] +"objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_3" [label="3: BinaryOperatorStmt: Assign \n n$22=*&#GB$DispatchEx_dispatch_group_example.a:DispatchEx* [line 61, column 5]\n *n$22.x:int=10 [line 61, column 5]\n " shape="box"] - "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_5" -> "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_4" ; -"dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_1" [label="1: Start DispatchEx_dispatch_group_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 57, column 1]\n " color=yellow style=filled] + "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_3" -> "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_2" ; +"objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_4" [label="4: BinaryOperatorStmt: Assign \n n$23=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 60, column 10]\n n$24=_fun_DispatchEx_init(n$23:DispatchEx*) virtual [line 60, column 9]\n *&#GB$DispatchEx_dispatch_group_example.a:DispatchEx*=n$24 [line 60, column 5]\n " shape="box"] - "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_1" -> "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_5" ; -"dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_2" [label="2: Exit DispatchEx_dispatch_group_example \n " color=yellow style=filled] + "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_4" -> "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_3" ; +"objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_1" [label="1: Start objc_blockDispatchEx_dispatch_group_notify_example_5\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 68, column 57]\n " color=yellow style=filled] -"dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_3" [label="3: Return Stmt \n n$19=*&#GB$DispatchEx_dispatch_group_example.a:DispatchEx* [line 63, column 10]\n n$20=*n$19.x:int [line 63, column 10]\n *&return:int=n$20 [line 63, column 3]\n " shape="box"] + "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_1" -> "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_4" ; +"objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_2" [label="2: Exit objc_blockDispatchEx_dispatch_group_notify_example_5 \n " color=yellow style=filled] - "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_3" -> "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_2" ; -"dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_4" [label="4: Call _fun_dispatch_group_async \n n$21=_fun_dispatch_get_main_queue() [line 59, column 30]\n _fun_dispatch_group_async(null:NSObject*,n$21:NSObject*,(_fun_objc_blockDispatchEx_dispatch_group_example_4):_fn_(*)) block_params [line 59, column 3]\n " shape="box"] +"objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_3" [label="3: BinaryOperatorStmt: Assign \n n$28=*&#GB$DispatchEx_dispatch_group_notify_example.a:DispatchEx* [line 70, column 5]\n *n$28.x:int=10 [line 70, column 5]\n " shape="box"] - "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_4" -> "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_3" ; -"dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_group_example.a:DispatchEx*=null [line 58, column 3]\n " shape="box"] + "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_3" -> "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_2" ; +"objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_4" [label="4: BinaryOperatorStmt: Assign \n n$29=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 69, column 10]\n n$30=_fun_DispatchEx_init(n$29:DispatchEx*) virtual [line 69, column 9]\n *&#GB$DispatchEx_dispatch_group_notify_example.a:DispatchEx*=n$30 [line 69, column 5]\n " shape="box"] - "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_5" -> "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_4" ; -"dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_1" [label="1: Start DispatchEx_dispatch_group_notify_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 66, column 1]\n " color=yellow style=filled] + "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_4" -> "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_3" ; +"objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_1" [label="1: Start objc_blockDispatchEx_dispatch_once_example_1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 29, column 29]\n " color=yellow style=filled] - "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_1" -> "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_5" ; -"dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_2" [label="2: Exit DispatchEx_dispatch_group_notify_example \n " color=yellow style=filled] + "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_1" -> "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_4" ; +"objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_2" [label="2: Exit objc_blockDispatchEx_dispatch_once_example_1 \n " color=yellow style=filled] -"dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_3" [label="3: Return Stmt \n n$25=*&#GB$DispatchEx_dispatch_group_notify_example.a:DispatchEx* [line 72, column 10]\n n$26=*n$25.x:int [line 72, column 10]\n *&return:int=n$26 [line 72, column 3]\n " shape="box"] +"objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_3" [label="3: BinaryOperatorStmt: Assign \n n$3=*&#GB$DispatchEx_dispatch_once_example.a:DispatchEx* [line 31, column 5]\n *n$3.x:int=10 [line 31, column 5]\n " shape="box"] - "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_3" -> "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_2" ; -"dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_4" [label="4: Call _fun_dispatch_group_async \n n$27=_fun_dispatch_get_main_queue() [line 68, column 30]\n _fun_dispatch_group_async(null:NSObject*,n$27:NSObject*,(_fun_objc_blockDispatchEx_dispatch_group_notify_example_5):_fn_(*)) block_params [line 68, column 3]\n " shape="box"] + "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_3" -> "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_2" ; +"objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_4" [label="4: BinaryOperatorStmt: Assign \n n$4=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 30, column 10]\n n$5=_fun_DispatchEx_init(n$4:DispatchEx*) virtual [line 30, column 9]\n *&#GB$DispatchEx_dispatch_once_example.a:DispatchEx*=n$5 [line 30, column 5]\n " shape="box"] - "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_4" -> "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_3" ; -"dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_group_notify_example.a:DispatchEx*=null [line 67, column 3]\n " shape="box"] + "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_4" -> "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_3" ; +"dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_1" [label="1: Start DispatchEx_dispatch_after_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 46, column 1]\n " color=yellow style=filled] - "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_5" -> "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_4" ; -"dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_1" [label="1: Start DispatchEx_dispatch_barrier_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 75, column 1]\n " color=yellow style=filled] + "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_1" -> "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_5" ; +"dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_2" [label="2: Exit DispatchEx_dispatch_after_example \n " color=yellow style=filled] - "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_1" -> "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_5" ; -"dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_2" [label="2: Exit DispatchEx_dispatch_barrier_example \n " color=yellow style=filled] +"dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_3" [label="3: Return Stmt \n n$12=*&#GB$DispatchEx_dispatch_after_example.a:DispatchEx* [line 54, column 10]\n n$13=*n$12.x:int [line 54, column 10]\n *&return:int=n$13 [line 54, column 3]\n " shape="box"] -"dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_3" [label="3: Return Stmt \n n$31=*&#GB$DispatchEx_dispatch_barrier_example.a:DispatchEx* [line 81, column 10]\n n$32=*n$31.x:int [line 81, column 10]\n *&return:int=n$32 [line 81, column 3]\n " shape="box"] + "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_3" -> "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_2" ; +"dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_4" [label="4: Call _fun_dispatch_after \n n$14=_fun_dispatch_time(0:unsigned long long,(2 * 1000000000):long long) [line 48, column 18]\n n$15=_fun_dispatch_get_main_queue() [line 49, column 18]\n _fun_dispatch_after(n$14:unsigned long long,n$15:NSObject*,(_fun_objc_blockDispatchEx_dispatch_after_example_3):_fn_(*)) block_params [line 48, column 3]\n " shape="box"] - "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_3" -> "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_2" ; -"dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_4" [label="4: Call _fun_dispatch_barrier_async \n n$33=_fun_dispatch_get_main_queue() [line 77, column 26]\n _fun_dispatch_barrier_async(n$33:NSObject*,(_fun_objc_blockDispatchEx_dispatch_barrier_example_6):_fn_(*)) block_params [line 77, column 3]\n " shape="box"] + "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_4" -> "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_3" ; +"dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_after_example.a:DispatchEx*=null [line 47, column 3]\n " shape="box"] - "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_4" -> "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_3" ; -"dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_barrier_example.a:DispatchEx*=null [line 76, column 3]\n " shape="box"] + "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_5" -> "dispatch_after_example#DispatchEx#class.1d25856bd99eb1ef683c8f65ff46d05d_4" ; +"dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_1" [label="1: Start DispatchEx_dispatch_async_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 36, column 1]\n " color=yellow style=filled] - "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_5" -> "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_4" ; -"objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_1" [label="1: Start objc_blockDispatchEx_dispatch_once_example_1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 29, column 29]\n " color=yellow style=filled] + "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_1" -> "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_5" ; +"dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_2" [label="2: Exit DispatchEx_dispatch_async_example \n " color=yellow style=filled] - "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_1" -> "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_4" ; -"objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_2" [label="2: Exit objc_blockDispatchEx_dispatch_once_example_1 \n " color=yellow style=filled] +"dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_3" [label="3: Return Stmt \n n$6=*&#GB$DispatchEx_dispatch_async_example.a:DispatchEx* [line 43, column 10]\n n$7=*n$6.x:int [line 43, column 10]\n *&return:int=n$7 [line 43, column 3]\n " shape="box"] -"objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_3" [label="3: BinaryOperatorStmt: Assign \n n$3=*&#GB$DispatchEx_dispatch_once_example.a:DispatchEx* [line 31, column 5]\n *n$3.x:int=10 [line 31, column 5]\n " shape="box"] + "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_3" -> "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_2" ; +"dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_4" [label="4: Call _fun_dispatch_async \n n$8=_fun_dispatch_get_global_queue(0:long,0:unsigned long) [line 38, column 18]\n _fun_dispatch_async(n$8:NSObject*,(_fun_objc_blockDispatchEx_dispatch_async_example_2):_fn_(*)) block_params [line 38, column 3]\n " shape="box"] - "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_3" -> "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_2" ; -"objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_4" [label="4: BinaryOperatorStmt: Assign \n n$4=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 30, column 10]\n n$5=_fun_DispatchEx_init(n$4:DispatchEx*) virtual [line 30, column 9]\n *&#GB$DispatchEx_dispatch_once_example.a:DispatchEx*=n$5 [line 30, column 5]\n " shape="box"] + "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_4" -> "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_3" ; +"dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_async_example.a:DispatchEx*=null [line 37, column 3]\n " shape="box"] - "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_4" -> "objc_blockDispatchEx_dispatch_once_example_1.4b4341cb61d8b8d8f01e95edf36e4961_3" ; -"objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_1" [label="1: Start objc_blockDispatchEx_dispatch_async_example_2\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 39, column 18]\n " color=yellow style=filled] + "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_5" -> "dispatch_async_example#DispatchEx#class.5c5d7347be2a9654ad7e32514189fe54_4" ; +"dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_1" [label="1: Start DispatchEx_dispatch_barrier_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 75, column 1]\n " color=yellow style=filled] - "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_1" -> "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_4" ; -"objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_2" [label="2: Exit objc_blockDispatchEx_dispatch_async_example_2 \n " color=yellow style=filled] + "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_1" -> "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_5" ; +"dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_2" [label="2: Exit DispatchEx_dispatch_barrier_example \n " color=yellow style=filled] -"objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_3" [label="3: BinaryOperatorStmt: Assign \n n$9=*&#GB$DispatchEx_dispatch_async_example.a:DispatchEx* [line 41, column 20]\n *n$9.x:int=10 [line 41, column 20]\n " shape="box"] +"dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_3" [label="3: Return Stmt \n n$31=*&#GB$DispatchEx_dispatch_barrier_example.a:DispatchEx* [line 81, column 10]\n n$32=*n$31.x:int [line 81, column 10]\n *&return:int=n$32 [line 81, column 3]\n " shape="box"] - "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_3" -> "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_2" ; -"objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_4" [label="4: BinaryOperatorStmt: Assign \n n$10=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 40, column 25]\n n$11=_fun_DispatchEx_init(n$10:DispatchEx*) virtual [line 40, column 24]\n *&#GB$DispatchEx_dispatch_async_example.a:DispatchEx*=n$11 [line 40, column 20]\n " shape="box"] + "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_3" -> "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_2" ; +"dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_4" [label="4: Call _fun_dispatch_barrier_async \n n$33=_fun_dispatch_get_main_queue() [line 77, column 26]\n _fun_dispatch_barrier_async(n$33:NSObject*,(_fun_objc_blockDispatchEx_dispatch_barrier_example_6):_fn_(*)) block_params [line 77, column 3]\n " shape="box"] - "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_4" -> "objc_blockDispatchEx_dispatch_async_example_2.6510e5756fbcdafec0a18e8d5493346b_3" ; -"objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_1" [label="1: Start objc_blockDispatchEx_dispatch_after_example_3\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 50, column 18]\n " color=yellow style=filled] + "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_4" -> "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_3" ; +"dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_barrier_example.a:DispatchEx*=null [line 76, column 3]\n " shape="box"] - "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_1" -> "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_4" ; -"objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_2" [label="2: Exit objc_blockDispatchEx_dispatch_after_example_3 \n " color=yellow style=filled] + "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_5" -> "dispatch_barrier_example#DispatchEx#class.a541a40f2f04e29019c58e563f7544d8_4" ; +"dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_1" [label="1: Start DispatchEx_dispatch_group_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 57, column 1]\n " color=yellow style=filled] -"objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_3" [label="3: BinaryOperatorStmt: Assign \n n$16=*&#GB$DispatchEx_dispatch_after_example.a:DispatchEx* [line 52, column 20]\n *n$16.x:int=10 [line 52, column 20]\n " shape="box"] + "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_1" -> "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_5" ; +"dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_2" [label="2: Exit DispatchEx_dispatch_group_example \n " color=yellow style=filled] - "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_3" -> "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_2" ; -"objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_4" [label="4: BinaryOperatorStmt: Assign \n n$17=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 51, column 25]\n n$18=_fun_DispatchEx_init(n$17:DispatchEx*) virtual [line 51, column 24]\n *&#GB$DispatchEx_dispatch_after_example.a:DispatchEx*=n$18 [line 51, column 20]\n " shape="box"] +"dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_3" [label="3: Return Stmt \n n$19=*&#GB$DispatchEx_dispatch_group_example.a:DispatchEx* [line 63, column 10]\n n$20=*n$19.x:int [line 63, column 10]\n *&return:int=n$20 [line 63, column 3]\n " shape="box"] - "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_4" -> "objc_blockDispatchEx_dispatch_after_example_3.380a17f45400d49d71ce1ba1c29a6ba4_3" ; -"objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_1" [label="1: Start objc_blockDispatchEx_dispatch_group_example_4\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 59, column 57]\n " color=yellow style=filled] + "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_3" -> "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_2" ; +"dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_4" [label="4: Call _fun_dispatch_group_async \n n$21=_fun_dispatch_get_main_queue() [line 59, column 30]\n _fun_dispatch_group_async(null:NSObject*,n$21:NSObject*,(_fun_objc_blockDispatchEx_dispatch_group_example_4):_fn_(*)) block_params [line 59, column 3]\n " shape="box"] - "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_1" -> "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_4" ; -"objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_2" [label="2: Exit objc_blockDispatchEx_dispatch_group_example_4 \n " color=yellow style=filled] + "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_4" -> "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_3" ; +"dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_group_example.a:DispatchEx*=null [line 58, column 3]\n " shape="box"] -"objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_3" [label="3: BinaryOperatorStmt: Assign \n n$22=*&#GB$DispatchEx_dispatch_group_example.a:DispatchEx* [line 61, column 5]\n *n$22.x:int=10 [line 61, column 5]\n " shape="box"] + "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_5" -> "dispatch_group_example#DispatchEx#class.f420a75c58eda6d3f0e5e05fadabfc18_4" ; +"dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_1" [label="1: Start DispatchEx_dispatch_group_notify_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 66, column 1]\n " color=yellow style=filled] - "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_3" -> "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_2" ; -"objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_4" [label="4: BinaryOperatorStmt: Assign \n n$23=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 60, column 10]\n n$24=_fun_DispatchEx_init(n$23:DispatchEx*) virtual [line 60, column 9]\n *&#GB$DispatchEx_dispatch_group_example.a:DispatchEx*=n$24 [line 60, column 5]\n " shape="box"] + "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_1" -> "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_5" ; +"dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_2" [label="2: Exit DispatchEx_dispatch_group_notify_example \n " color=yellow style=filled] - "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_4" -> "objc_blockDispatchEx_dispatch_group_example_4.65d6b4827e06dfbede68939492105a46_3" ; -"objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_1" [label="1: Start objc_blockDispatchEx_dispatch_group_notify_example_5\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 68, column 57]\n " color=yellow style=filled] +"dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_3" [label="3: Return Stmt \n n$25=*&#GB$DispatchEx_dispatch_group_notify_example.a:DispatchEx* [line 72, column 10]\n n$26=*n$25.x:int [line 72, column 10]\n *&return:int=n$26 [line 72, column 3]\n " shape="box"] - "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_1" -> "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_4" ; -"objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_2" [label="2: Exit objc_blockDispatchEx_dispatch_group_notify_example_5 \n " color=yellow style=filled] + "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_3" -> "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_2" ; +"dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_4" [label="4: Call _fun_dispatch_group_async \n n$27=_fun_dispatch_get_main_queue() [line 68, column 30]\n _fun_dispatch_group_async(null:NSObject*,n$27:NSObject*,(_fun_objc_blockDispatchEx_dispatch_group_notify_example_5):_fn_(*)) block_params [line 68, column 3]\n " shape="box"] -"objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_3" [label="3: BinaryOperatorStmt: Assign \n n$28=*&#GB$DispatchEx_dispatch_group_notify_example.a:DispatchEx* [line 70, column 5]\n *n$28.x:int=10 [line 70, column 5]\n " shape="box"] + "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_4" -> "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_3" ; +"dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_group_notify_example.a:DispatchEx*=null [line 67, column 3]\n " shape="box"] - "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_3" -> "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_2" ; -"objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_4" [label="4: BinaryOperatorStmt: Assign \n n$29=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 69, column 10]\n n$30=_fun_DispatchEx_init(n$29:DispatchEx*) virtual [line 69, column 9]\n *&#GB$DispatchEx_dispatch_group_notify_example.a:DispatchEx*=n$30 [line 69, column 5]\n " shape="box"] + "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_5" -> "dispatch_group_notify_example#DispatchEx#class.f5cf54b07621c319cf7ead3b217760ed_4" ; +"dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_1" [label="1: Start DispatchEx_dispatch_once_example\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 24, column 1]\n " color=yellow style=filled] - "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_4" -> "objc_blockDispatchEx_dispatch_group_notify_example_5.ded89d749d973a9d57680f9d68afb8a0_3" ; -"objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_1" [label="1: Start objc_blockDispatchEx_dispatch_barrier_example_6\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 77, column 53]\n " color=yellow style=filled] + "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_1" -> "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_5" ; +"dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_2" [label="2: Exit DispatchEx_dispatch_once_example \n " color=yellow style=filled] - "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_1" -> "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_4" ; -"objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_2" [label="2: Exit objc_blockDispatchEx_dispatch_barrier_example_6 \n " color=yellow style=filled] +"dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_3" [label="3: Return Stmt \n n$1=*&#GB$DispatchEx_dispatch_once_example.a:DispatchEx* [line 33, column 10]\n n$2=*n$1.x:int [line 33, column 10]\n *&return:int=n$2 [line 33, column 3]\n " shape="box"] -"objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_3" [label="3: BinaryOperatorStmt: Assign \n n$34=*&#GB$DispatchEx_dispatch_barrier_example.a:DispatchEx* [line 79, column 5]\n *n$34.x:int=10 [line 79, column 5]\n " shape="box"] + "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_3" -> "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_2" ; +"dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_4" [label="4: Call _fun__dispatch_once \n _fun__dispatch_once(&#GB$DispatchEx_dispatch_once_example.onceToken:long*,(_fun_objc_blockDispatchEx_dispatch_once_example_1):_fn_(*)) block_params [line 29, column 3]\n " shape="box"] - "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_3" -> "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_2" ; -"objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_4" [label="4: BinaryOperatorStmt: Assign \n n$35=_fun___objc_alloc_no_fail(sizeof(t=DispatchEx):unsigned long) [line 78, column 10]\n n$36=_fun_DispatchEx_init(n$35:DispatchEx*) virtual [line 78, column 9]\n *&#GB$DispatchEx_dispatch_barrier_example.a:DispatchEx*=n$36 [line 78, column 5]\n " shape="box"] + "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_4" -> "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_3" ; +"dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_5" [label="5: DeclStmt \n *&#GB$DispatchEx_dispatch_once_example.a:DispatchEx*=null [line 25, column 3]\n " shape="box"] - "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_4" -> "objc_blockDispatchEx_dispatch_barrier_example_6.644987ff1e6d0e0008d4ccdb7e8538ee_3" ; + "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_5" -> "dispatch_once_example#DispatchEx#class.d3456446b1a2d5355c1767887cc8b62c_4" ; "init#DispatchEx#instance.04117ac30ba5664de2d577c4aa97d118_1" [label="1: Start DispatchEx_init\nFormals: self:DispatchEx*\nLocals: \n DECLARE_LOCALS(&return); [line 20, column 1]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/objc/shared/block/dispatch_in_macro.m.dot b/infer/tests/codetoanalyze/objc/shared/block/dispatch_in_macro.m.dot index 9bdaa5cb1..d8f1e5f45 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/dispatch_in_macro.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/dispatch_in_macro.m.dot @@ -1,16 +1,5 @@ /* @generated */ digraph cfg { -"objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_1" [label="1: Start objc_blockDispatchInMacroTest_1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 23, column 10]\n " color=yellow style=filled] - - - "objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_1" -> "objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_3" ; -"objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_2" [label="2: Exit objc_blockDispatchInMacroTest_1 \n " color=yellow style=filled] - - -"objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_3" [label="3: BinaryOperatorStmt: Assign \n n$1=_fun___objc_alloc_no_fail(sizeof(t=NSObject):unsigned long) [line 23, column 10]\n n$2=_fun_NSObject_init(n$1:NSObject*) virtual [line 23, column 10]\n *&#GB$DispatchInMacroTest.static_storage:NSObject*=n$2 [line 23, column 10]\n " shape="box"] - - - "objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_3" -> "objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_2" ; "DispatchInMacroTest.f5d56763274a479d06265a2f9562bef1_1" [label="1: Start DispatchInMacroTest\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 22, column 1]\n " color=yellow style=filled] @@ -30,4 +19,15 @@ digraph cfg { "DispatchInMacroTest.f5d56763274a479d06265a2f9562bef1_5" -> "DispatchInMacroTest.f5d56763274a479d06265a2f9562bef1_2" ; +"objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_1" [label="1: Start objc_blockDispatchInMacroTest_1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 23, column 10]\n " color=yellow style=filled] + + + "objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_1" -> "objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_3" ; +"objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_2" [label="2: Exit objc_blockDispatchInMacroTest_1 \n " color=yellow style=filled] + + +"objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_3" [label="3: BinaryOperatorStmt: Assign \n n$1=_fun___objc_alloc_no_fail(sizeof(t=NSObject):unsigned long) [line 23, column 10]\n n$2=_fun_NSObject_init(n$1:NSObject*) virtual [line 23, column 10]\n *&#GB$DispatchInMacroTest.static_storage:NSObject*=n$2 [line 23, column 10]\n " shape="box"] + + + "objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_3" -> "objc_blockDispatchInMacroTest_1.0a2ff27838c52acc175e58f653e6eaad_2" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/AutoreleaseExample.m.dot b/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/AutoreleaseExample.m.dot index c3dde8801..05ac119da 100644 --- a/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/AutoreleaseExample.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/AutoreleaseExample.m.dot @@ -1,20 +1,5 @@ /* @generated */ digraph cfg { -"createA.48a5d7f480131d59bba69d521715b836_1" [label="1: Start createA\nFormals: \nLocals: s1:Auto* \n DECLARE_LOCALS(&return,&s1); [line 29, column 1]\n " color=yellow style=filled] - - - "createA.48a5d7f480131d59bba69d521715b836_1" -> "createA.48a5d7f480131d59bba69d521715b836_4" ; -"createA.48a5d7f480131d59bba69d521715b836_2" [label="2: Exit createA \n " color=yellow style=filled] - - -"createA.48a5d7f480131d59bba69d521715b836_3" [label="3: Return Stmt \n n$0=*&s1:Auto* [line 31, column 11]\n n$1=_fun_NSObject_autorelease(n$0:Auto*) virtual [line 31, column 10]\n *&return:Auto*=n$1 [line 31, column 3]\n " shape="box"] - - - "createA.48a5d7f480131d59bba69d521715b836_3" -> "createA.48a5d7f480131d59bba69d521715b836_2" ; -"createA.48a5d7f480131d59bba69d521715b836_4" [label="4: DeclStmt \n n$2=_fun___objc_alloc_no_fail(sizeof(t=Auto):unsigned long) [line 30, column 15]\n n$3=_fun_NSObject_init(n$2:Auto*) virtual [line 30, column 14]\n *&s1:Auto*=n$3 [line 30, column 3]\n " shape="box"] - - - "createA.48a5d7f480131d59bba69d521715b836_4" -> "createA.48a5d7f480131d59bba69d521715b836_3" ; "autorelease_test1.8f3499e28c7129f0f6b2300d214d7864_1" [label="1: Start autorelease_test1\nFormals: \nLocals: s3:Auto* s2:Auto* s1:Auto* \n DECLARE_LOCALS(&return,&s3,&s2,&s1); [line 34, column 1]\n " color=yellow style=filled] @@ -112,6 +97,21 @@ digraph cfg { "autorelease_test3.5fa2e6ceb6075e26a47f9b8c9cdf65ba_6" -> "autorelease_test3.5fa2e6ceb6075e26a47f9b8c9cdf65ba_5" ; +"createA.48a5d7f480131d59bba69d521715b836_1" [label="1: Start createA\nFormals: \nLocals: s1:Auto* \n DECLARE_LOCALS(&return,&s1); [line 29, column 1]\n " color=yellow style=filled] + + + "createA.48a5d7f480131d59bba69d521715b836_1" -> "createA.48a5d7f480131d59bba69d521715b836_4" ; +"createA.48a5d7f480131d59bba69d521715b836_2" [label="2: Exit createA \n " color=yellow style=filled] + + +"createA.48a5d7f480131d59bba69d521715b836_3" [label="3: Return Stmt \n n$0=*&s1:Auto* [line 31, column 11]\n n$1=_fun_NSObject_autorelease(n$0:Auto*) virtual [line 31, column 10]\n *&return:Auto*=n$1 [line 31, column 3]\n " shape="box"] + + + "createA.48a5d7f480131d59bba69d521715b836_3" -> "createA.48a5d7f480131d59bba69d521715b836_2" ; +"createA.48a5d7f480131d59bba69d521715b836_4" [label="4: DeclStmt \n n$2=_fun___objc_alloc_no_fail(sizeof(t=Auto):unsigned long) [line 30, column 15]\n n$3=_fun_NSObject_init(n$2:Auto*) virtual [line 30, column 14]\n *&s1:Auto*=n$3 [line 30, column 3]\n " shape="box"] + + + "createA.48a5d7f480131d59bba69d521715b836_4" -> "createA.48a5d7f480131d59bba69d521715b836_3" ; "autorelease_main#Auto#instance.dbdd003a511fe2beb7e0a817d39f6fd8_1" [label="1: Start Auto_autorelease_main\nFormals: self:Auto*\nLocals: s:NSString* \n DECLARE_LOCALS(&return,&s); [line 22, column 1]\n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/MemoryLeakExample.m.dot b/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/MemoryLeakExample.m.dot index 0d8e3fd19..bf7ab4d4c 100644 --- a/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/MemoryLeakExample.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/MemoryLeakExample.m.dot @@ -1,76 +1,81 @@ /* @generated */ digraph cfg { -"measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_1" [label="1: Start MemoryLeakExample_measureFrameSizeForText\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 34, column 1]\n " color=yellow style=filled] +"objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_1" [label="1: Start objc_blockMemoryLeakExample_blockCapturedVarLeak_1\nFormals: x:int*\nLocals: \nCaptured: x:int* \n DECLARE_LOCALS(&return); [line 96, column 22]\n " color=yellow style=filled] - "measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_1" -> "measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_3" ; -"measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_2" [label="2: Exit MemoryLeakExample_measureFrameSizeForText \n " color=yellow style=filled] + "objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_1" -> "objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_3" ; +"objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_2" [label="2: Exit objc_blockMemoryLeakExample_blockCapturedVarLeak_1 \n " color=yellow style=filled] -"measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_3" [label="3: Call _fun_CFAttributedStringCreateMutable \n n$14=_fun_CFAttributedStringCreateMutable(null:__CFAllocator const *,0:long) [line 35, column 3]\n " shape="box"] +"objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_3" [label="3: Return Stmt \n n$43=*&x:int* [line 97, column 13]\n n$44=*n$43:int [line 97, column 12]\n *&return:int=n$44 [line 97, column 5]\n " shape="box"] - "measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_3" -> "measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_2" ; -"measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_1" [label="1: Start MemoryLeakExample_measureFrameSizeForTextNoLeak\nFormals: \nLocals: maString:__CFAttributedString* \n DECLARE_LOCALS(&return,&maString); [line 38, column 1]\n " color=yellow style=filled] + "objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_3" -> "objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_2" ; +"objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_1" [label="1: Start objc_blockMemoryLeakExample_blockFreeNoLeak_2\nFormals: x:int*\nLocals: i:int\nCaptured: x:int* \n DECLARE_LOCALS(&return,&i); [line 105, column 22]\n " color=yellow style=filled] - "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_1" -> "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_4" ; -"measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_2" [label="2: Exit MemoryLeakExample_measureFrameSizeForTextNoLeak \n " color=yellow style=filled] + "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_1" -> "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_5" ; +"objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_2" [label="2: Exit objc_blockMemoryLeakExample_blockFreeNoLeak_2 \n " color=yellow style=filled] -"measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_3" [label="3: Call _fun_CFRelease \n n$15=*&maString:__CFAttributedString* [line 41, column 13]\n _fun_CFRelease(n$15:void const *) [line 41, column 3]\n " shape="box"] +"objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_3" [label="3: Return Stmt \n n$50=*&i:int [line 108, column 12]\n *&return:int=n$50 [line 108, column 5]\n " shape="box"] - "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_3" -> "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_2" ; -"measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_4" [label="4: DeclStmt \n n$16=_fun_CFAttributedStringCreateMutable(null:__CFAllocator const *,0:long) [line 40, column 7]\n *&maString:__CFAttributedString*=n$16 [line 39, column 3]\n " shape="box"] + "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_3" -> "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_2" ; +"objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_4" [label="4: Call _fun_free \n n$51=*&x:int* [line 107, column 10]\n _fun_free(n$51:void*) [line 107, column 5]\n " shape="box"] - "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_4" -> "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_3" ; -"test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_1" [label="1: Start MemoryLeakExample_test1NoLeak\nFormals: \nLocals: framesetter:__CTFramesetter const * \n DECLARE_LOCALS(&return,&framesetter); [line 48, column 1]\n " color=yellow style=filled] + "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_4" -> "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_3" ; +"objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_5" [label="5: DeclStmt \n n$52=*&x:int* [line 106, column 14]\n n$53=*n$52:int [line 106, column 13]\n *&i:int=n$53 [line 106, column 5]\n " shape="box"] - "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_1" -> "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_4" ; -"test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_2" [label="2: Exit MemoryLeakExample_test1NoLeak \n " color=yellow style=filled] + "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_5" -> "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_4" ; +"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_1" [label="1: Start MemoryLeakExample_blockCapturedVarLeak\nFormals: self:MemoryLeakExample*\nLocals: blk:_fn_(*) x:int* \n DECLARE_LOCALS(&return,&blk,&x); [line 93, column 1]\n " color=yellow style=filled] -"test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_3" [label="3: Call _fun_CFRelease \n n$19=*&framesetter:__CTFramesetter const * [line 50, column 13]\n _fun_CFRelease(n$19:void const *) [line 50, column 3]\n " shape="box"] + "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_1" -> "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_6" ; +"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_2" [label="2: Exit MemoryLeakExample_blockCapturedVarLeak \n " color=yellow style=filled] - "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_3" -> "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_2" ; -"test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_4" [label="4: DeclStmt \n n$20=_fun_CTFramesetterCreateWithAttributedString(null:__CFAttributedString const *) [line 49, column 34]\n *&framesetter:__CTFramesetter const *=n$20 [line 49, column 3]\n " shape="box"] +"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_3" [label="3: Return Stmt \n n$40=*&blk:_fn_(*) [line 99, column 10]\n n$41=n$40() [line 99, column 10]\n *&return:int=n$41 [line 99, column 3]\n " shape="box"] - "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_4" -> "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_3" ; -"test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_1" [label="1: Start MemoryLeakExample_test2NoLeak\nFormals: \nLocals: allowedPublicKey:__SecKey* \n DECLARE_LOCALS(&return,&allowedPublicKey); [line 70, column 1]\n " color=yellow style=filled] + "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_3" -> "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_2" ; +"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_4" [label="4: DeclStmt \n n$42=*&x:int* [line 96, column 22]\n *&blk:_fn_(*)=(_fun_objc_blockMemoryLeakExample_blockCapturedVarLeak_1,(n$42 &x:int*)) [line 96, column 3]\n " shape="box"] - "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_1" -> "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_4" ; -"test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_2" [label="2: Exit MemoryLeakExample_test2NoLeak \n " color=yellow style=filled] + "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_4" -> "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_3" ; +"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_5" [label="5: BinaryOperatorStmt: Assign \n n$45=*&x:int* [line 95, column 4]\n *n$45:int=2 [line 95, column 3]\n " shape="box"] -"test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_3" [label="3: Call _fun_CFRelease \n n$30=*&allowedPublicKey:__SecKey* [line 72, column 13]\n _fun_CFRelease(n$30:void const *) [line 72, column 3]\n " shape="box"] + "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_5" -> "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_4" ; +"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_6" [label="6: DeclStmt \n n$46=_fun_malloc_no_fail(sizeof(t=int;nbytes=4):int) [line 94, column 12]\n *&x:int*=n$46 [line 94, column 3]\n " shape="box"] - "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_3" -> "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_2" ; -"test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_4" [label="4: DeclStmt \n n$31=_fun_SecTrustCopyPublicKey(null:__SecTrust*) [line 71, column 32]\n *&allowedPublicKey:__SecKey*=n$31 [line 71, column 3]\n " shape="box"] + "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_6" -> "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_5" ; +"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_1" [label="1: Start MemoryLeakExample_blockFreeNoLeak\nFormals: self:MemoryLeakExample*\nLocals: blk:_fn_(*) x:int* \n DECLARE_LOCALS(&return,&blk,&x); [line 102, column 1]\n " color=yellow style=filled] - "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_4" -> "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_3" ; -"testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_1" [label="1: Start MemoryLeakExample_testImageRefRelease\nFormals: \nLocals: newImage:CGImage* \n DECLARE_LOCALS(&return,&newImage); [line 75, column 1]\n " color=yellow style=filled] + "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_1" -> "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_6" ; +"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_2" [label="2: Exit MemoryLeakExample_blockFreeNoLeak \n " color=yellow style=filled] - "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_1" -> "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_4" ; -"testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_2" [label="2: Exit MemoryLeakExample_testImageRefRelease \n " color=yellow style=filled] +"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_3" [label="3: Return Stmt \n n$47=*&blk:_fn_(*) [line 110, column 10]\n n$48=n$47() [line 110, column 10]\n *&return:int=n$48 [line 110, column 3]\n " shape="box"] -"testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_3" [label="3: Call _fun_CGImageRelease \n n$32=*&newImage:CGImage* [line 77, column 18]\n _fun_CGImageRelease(n$32:CGImage*) [line 77, column 3]\n " shape="box"] + "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_3" -> "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_2" ; +"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_4" [label="4: DeclStmt \n n$49=*&x:int* [line 105, column 22]\n *&blk:_fn_(*)=(_fun_objc_blockMemoryLeakExample_blockFreeNoLeak_2,(n$49 &x:int*)) [line 105, column 3]\n " shape="box"] - "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_3" -> "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_2" ; -"testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_4" [label="4: DeclStmt \n n$33=_fun_CGBitmapContextCreateImage(null:CGContext*) [line 76, column 25]\n *&newImage:CGImage*=n$33 [line 76, column 3]\n " shape="box"] + "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_4" -> "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_3" ; +"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_5" [label="5: BinaryOperatorStmt: Assign \n n$54=*&x:int* [line 104, column 4]\n *n$54:int=2 [line 104, column 3]\n " shape="box"] - "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_4" -> "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_3" ; + "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_5" -> "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_4" ; +"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_6" [label="6: DeclStmt \n n$55=_fun_malloc_no_fail(sizeof(t=int;nbytes=4):int) [line 103, column 12]\n *&x:int*=n$55 [line 103, column 3]\n " shape="box"] + + + "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_6" -> "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_5" ; "createCloseCrossGlyph:#MemoryLeakExample#class.b78475cbe035b221b50538a8aad3c9cf_1" [label="1: Start MemoryLeakExample_createCloseCrossGlyph:\nFormals: rect:CGRect\nLocals: \n DECLARE_LOCALS(&return); [line 53, column 1]\n " color=yellow style=filled] @@ -128,36 +133,32 @@ digraph cfg { "layoutSubviews#MemoryLeakExample#instance.2b3151f18431bcdbc08267ea4ff96f53_6" -> "layoutSubviews#MemoryLeakExample#instance.2b3151f18431bcdbc08267ea4ff96f53_5" ; -"test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_1" [label="1: Start MemoryLeakExample_test\nFormals: self:MemoryLeakExample*\nLocals: shadowPath:CGPath const * \n DECLARE_LOCALS(&return,&shadowPath); [line 28, column 1]\n " color=yellow style=filled] - - - "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_1" -> "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_4" ; -"test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_2" [label="2: Exit MemoryLeakExample_test \n " color=yellow style=filled] +"measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_1" [label="1: Start MemoryLeakExample_measureFrameSizeForText\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 34, column 1]\n " color=yellow style=filled] -"test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_3" [label="3: Message Call: setShadowPath: \n n$6=*&self:MemoryLeakExample* [line 31, column 3]\n n$7=_fun_MemoryLeakExample_backgroundCoveringView(n$6:MemoryLeakExample*) [line 31, column 8]\n n$8=_fun_UIView_layer(n$7:UIView*) [line 31, column 31]\n n$9=*&shadowPath:CGPath const * [line 31, column 50]\n _fun_CALayer_setShadowPath:(n$8:CALayer*,n$9:CGPath const *) [line 31, column 37]\n " shape="box"] + "measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_1" -> "measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_3" ; +"measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_2" [label="2: Exit MemoryLeakExample_measureFrameSizeForText \n " color=yellow style=filled] - "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_3" -> "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_2" ; -"test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_4" [label="4: DeclStmt \n n$10=*&self:MemoryLeakExample* [line 30, column 28]\n n$11=_fun_MemoryLeakExample_backgroundCoveringView(n$10:MemoryLeakExample*) [line 30, column 33]\n n$12=_fun_UIView_bounds(n$11:UIView*) [line 30, column 56]\n n$13=_fun_CGPathCreateWithRect(n$12:CGRect,null:CGAffineTransform const *) [line 30, column 7]\n *&shadowPath:CGPath const *=n$13 [line 29, column 3]\n " shape="box"] +"measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_3" [label="3: Call _fun_CFAttributedStringCreateMutable \n n$14=_fun_CFAttributedStringCreateMutable(null:__CFAllocator const *,0:long) [line 35, column 3]\n " shape="box"] - "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_4" -> "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_3" ; -"testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_1" [label="1: Start MemoryLeakExample_testFBColorCreateWithGray\nFormals: self:MemoryLeakExample*\nLocals: borderColor:CGColor* \n DECLARE_LOCALS(&return,&borderColor); [line 82, column 1]\n " color=yellow style=filled] + "measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_3" -> "measureFrameSizeForText#MemoryLeakExample#class.f59bd9e59cef3fd16475487a380b3804_2" ; +"measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_1" [label="1: Start MemoryLeakExample_measureFrameSizeForTextNoLeak\nFormals: \nLocals: maString:__CFAttributedString* \n DECLARE_LOCALS(&return,&maString); [line 38, column 1]\n " color=yellow style=filled] - "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_1" -> "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_4" ; -"testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_2" [label="2: Exit MemoryLeakExample_testFBColorCreateWithGray \n " color=yellow style=filled] + "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_1" -> "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_4" ; +"measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_2" [label="2: Exit MemoryLeakExample_measureFrameSizeForTextNoLeak \n " color=yellow style=filled] -"testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_3" [label="3: Call _fun_CGColorRelease \n n$34=*&borderColor:CGColor* [line 84, column 18]\n _fun_CGColorRelease(n$34:CGColor*) [line 84, column 3]\n " shape="box"] +"measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_3" [label="3: Call _fun_CFRelease \n n$15=*&maString:__CFAttributedString* [line 41, column 13]\n _fun_CFRelease(n$15:void const *) [line 41, column 3]\n " shape="box"] - "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_3" -> "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_2" ; -"testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_4" [label="4: DeclStmt \n n$35=_fun_FBColorCreateWithGray(0.000000:double,0.300000:double) [line 83, column 28]\n *&borderColor:CGColor*=n$35 [line 83, column 3]\n " shape="box"] + "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_3" -> "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_2" ; +"measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_4" [label="4: DeclStmt \n n$16=_fun_CFAttributedStringCreateMutable(null:__CFAllocator const *,0:long) [line 40, column 7]\n *&maString:__CFAttributedString*=n$16 [line 39, column 3]\n " shape="box"] - "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_4" -> "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_3" ; + "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_4" -> "measureFrameSizeForTextNoLeak#MemoryLeakExample#class.9443bec011166230e1709abbe3c930d4_3" ; "regularLeak#MemoryLeakExample#instance.939a892cee505c3459f2d889292f218b_1" [label="1: Start MemoryLeakExample_regularLeak\nFormals: self:MemoryLeakExample*\nLocals: x:int* \n DECLARE_LOCALS(&return,&x); [line 87, column 1]\n " color=yellow style=filled] @@ -177,102 +178,101 @@ digraph cfg { "regularLeak#MemoryLeakExample#instance.939a892cee505c3459f2d889292f218b_5" -> "regularLeak#MemoryLeakExample#instance.939a892cee505c3459f2d889292f218b_4" ; -"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_1" [label="1: Start MemoryLeakExample_blockCapturedVarLeak\nFormals: self:MemoryLeakExample*\nLocals: blk:_fn_(*) x:int* \n DECLARE_LOCALS(&return,&blk,&x); [line 93, column 1]\n " color=yellow style=filled] +"test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_1" [label="1: Start MemoryLeakExample_test\nFormals: self:MemoryLeakExample*\nLocals: shadowPath:CGPath const * \n DECLARE_LOCALS(&return,&shadowPath); [line 28, column 1]\n " color=yellow style=filled] - "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_1" -> "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_6" ; -"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_2" [label="2: Exit MemoryLeakExample_blockCapturedVarLeak \n " color=yellow style=filled] + "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_1" -> "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_4" ; +"test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_2" [label="2: Exit MemoryLeakExample_test \n " color=yellow style=filled] -"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_3" [label="3: Return Stmt \n n$40=*&blk:_fn_(*) [line 99, column 10]\n n$41=n$40() [line 99, column 10]\n *&return:int=n$41 [line 99, column 3]\n " shape="box"] +"test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_3" [label="3: Message Call: setShadowPath: \n n$6=*&self:MemoryLeakExample* [line 31, column 3]\n n$7=_fun_MemoryLeakExample_backgroundCoveringView(n$6:MemoryLeakExample*) [line 31, column 8]\n n$8=_fun_UIView_layer(n$7:UIView*) [line 31, column 31]\n n$9=*&shadowPath:CGPath const * [line 31, column 50]\n _fun_CALayer_setShadowPath:(n$8:CALayer*,n$9:CGPath const *) [line 31, column 37]\n " shape="box"] - "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_3" -> "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_2" ; -"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_4" [label="4: DeclStmt \n n$42=*&x:int* [line 96, column 22]\n *&blk:_fn_(*)=(_fun_objc_blockMemoryLeakExample_blockCapturedVarLeak_1,(n$42 &x:int*)) [line 96, column 3]\n " shape="box"] + "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_3" -> "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_2" ; +"test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_4" [label="4: DeclStmt \n n$10=*&self:MemoryLeakExample* [line 30, column 28]\n n$11=_fun_MemoryLeakExample_backgroundCoveringView(n$10:MemoryLeakExample*) [line 30, column 33]\n n$12=_fun_UIView_bounds(n$11:UIView*) [line 30, column 56]\n n$13=_fun_CGPathCreateWithRect(n$12:CGRect,null:CGAffineTransform const *) [line 30, column 7]\n *&shadowPath:CGPath const *=n$13 [line 29, column 3]\n " shape="box"] - "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_4" -> "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_3" ; -"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_5" [label="5: BinaryOperatorStmt: Assign \n n$45=*&x:int* [line 95, column 4]\n *n$45:int=2 [line 95, column 3]\n " shape="box"] + "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_4" -> "test#MemoryLeakExample#instance.cbb708bfe735ac5e5777524359299e00_3" ; +"test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_1" [label="1: Start MemoryLeakExample_test1:\nFormals: str:__CFAttributedString const *\nLocals: \n DECLARE_LOCALS(&return); [line 44, column 1]\n " color=yellow style=filled] - "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_5" -> "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_4" ; -"blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_6" [label="6: DeclStmt \n n$46=_fun_malloc_no_fail(sizeof(t=int;nbytes=4):int) [line 94, column 12]\n *&x:int*=n$46 [line 94, column 3]\n " shape="box"] + "test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_1" -> "test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_3" ; +"test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_2" [label="2: Exit MemoryLeakExample_test1: \n " color=yellow style=filled] - "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_6" -> "blockCapturedVarLeak#MemoryLeakExample#instance.53bb018bc84d6a696dc756e20b5b3f52_5" ; -"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_1" [label="1: Start MemoryLeakExample_blockFreeNoLeak\nFormals: self:MemoryLeakExample*\nLocals: blk:_fn_(*) x:int* \n DECLARE_LOCALS(&return,&blk,&x); [line 102, column 1]\n " color=yellow style=filled] +"test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_3" [label="3: Call _fun_CTFramesetterCreateWithAttributedString \n n$17=*&str:__CFAttributedString const * [line 45, column 43]\n n$18=_fun_CTFramesetterCreateWithAttributedString(n$17:__CFAttributedString const *) [line 45, column 3]\n " shape="box"] - "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_1" -> "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_6" ; -"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_2" [label="2: Exit MemoryLeakExample_blockFreeNoLeak \n " color=yellow style=filled] + "test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_3" -> "test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_2" ; +"test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_1" [label="1: Start MemoryLeakExample_test1NoLeak\nFormals: \nLocals: framesetter:__CTFramesetter const * \n DECLARE_LOCALS(&return,&framesetter); [line 48, column 1]\n " color=yellow style=filled] -"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_3" [label="3: Return Stmt \n n$47=*&blk:_fn_(*) [line 110, column 10]\n n$48=n$47() [line 110, column 10]\n *&return:int=n$48 [line 110, column 3]\n " shape="box"] + "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_1" -> "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_4" ; +"test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_2" [label="2: Exit MemoryLeakExample_test1NoLeak \n " color=yellow style=filled] - "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_3" -> "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_2" ; -"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_4" [label="4: DeclStmt \n n$49=*&x:int* [line 105, column 22]\n *&blk:_fn_(*)=(_fun_objc_blockMemoryLeakExample_blockFreeNoLeak_2,(n$49 &x:int*)) [line 105, column 3]\n " shape="box"] +"test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_3" [label="3: Call _fun_CFRelease \n n$19=*&framesetter:__CTFramesetter const * [line 50, column 13]\n _fun_CFRelease(n$19:void const *) [line 50, column 3]\n " shape="box"] - "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_4" -> "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_3" ; -"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_5" [label="5: BinaryOperatorStmt: Assign \n n$54=*&x:int* [line 104, column 4]\n *n$54:int=2 [line 104, column 3]\n " shape="box"] + "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_3" -> "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_2" ; +"test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_4" [label="4: DeclStmt \n n$20=_fun_CTFramesetterCreateWithAttributedString(null:__CFAttributedString const *) [line 49, column 34]\n *&framesetter:__CTFramesetter const *=n$20 [line 49, column 3]\n " shape="box"] - "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_5" -> "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_4" ; -"blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_6" [label="6: DeclStmt \n n$55=_fun_malloc_no_fail(sizeof(t=int;nbytes=4):int) [line 103, column 12]\n *&x:int*=n$55 [line 103, column 3]\n " shape="box"] + "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_4" -> "test1NoLeak#MemoryLeakExample#class.7e0d9640dbd86a21622e801793707bd9_3" ; +"test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_1" [label="1: Start MemoryLeakExample_test2:\nFormals: trust:__SecTrust*\nLocals: \n DECLARE_LOCALS(&return); [line 66, column 1]\n " color=yellow style=filled] - "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_6" -> "blockFreeNoLeak#MemoryLeakExample#instance.6bcefe2afb9f172f8aadbab54d9bd144_5" ; -"test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_1" [label="1: Start MemoryLeakExample_test1:\nFormals: str:__CFAttributedString const *\nLocals: \n DECLARE_LOCALS(&return); [line 44, column 1]\n " color=yellow style=filled] + "test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_1" -> "test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_3" ; +"test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_2" [label="2: Exit MemoryLeakExample_test2: \n " color=yellow style=filled] - "test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_1" -> "test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_3" ; -"test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_2" [label="2: Exit MemoryLeakExample_test1: \n " color=yellow style=filled] +"test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_3" [label="3: Call _fun_SecTrustCopyPublicKey \n n$28=*&trust:__SecTrust* [line 67, column 25]\n n$29=_fun_SecTrustCopyPublicKey(n$28:__SecTrust*) [line 67, column 3]\n " shape="box"] -"test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_3" [label="3: Call _fun_CTFramesetterCreateWithAttributedString \n n$17=*&str:__CFAttributedString const * [line 45, column 43]\n n$18=_fun_CTFramesetterCreateWithAttributedString(n$17:__CFAttributedString const *) [line 45, column 3]\n " shape="box"] + "test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_3" -> "test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_2" ; +"test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_1" [label="1: Start MemoryLeakExample_test2NoLeak\nFormals: \nLocals: allowedPublicKey:__SecKey* \n DECLARE_LOCALS(&return,&allowedPublicKey); [line 70, column 1]\n " color=yellow style=filled] - "test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_3" -> "test1:#MemoryLeakExample#class.6a178021c88203c49ec4a36c5d873685_2" ; -"test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_1" [label="1: Start MemoryLeakExample_test2:\nFormals: trust:__SecTrust*\nLocals: \n DECLARE_LOCALS(&return); [line 66, column 1]\n " color=yellow style=filled] + "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_1" -> "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_4" ; +"test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_2" [label="2: Exit MemoryLeakExample_test2NoLeak \n " color=yellow style=filled] - "test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_1" -> "test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_3" ; -"test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_2" [label="2: Exit MemoryLeakExample_test2: \n " color=yellow style=filled] +"test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_3" [label="3: Call _fun_CFRelease \n n$30=*&allowedPublicKey:__SecKey* [line 72, column 13]\n _fun_CFRelease(n$30:void const *) [line 72, column 3]\n " shape="box"] -"test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_3" [label="3: Call _fun_SecTrustCopyPublicKey \n n$28=*&trust:__SecTrust* [line 67, column 25]\n n$29=_fun_SecTrustCopyPublicKey(n$28:__SecTrust*) [line 67, column 3]\n " shape="box"] + "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_3" -> "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_2" ; +"test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_4" [label="4: DeclStmt \n n$31=_fun_SecTrustCopyPublicKey(null:__SecTrust*) [line 71, column 32]\n *&allowedPublicKey:__SecKey*=n$31 [line 71, column 3]\n " shape="box"] - "test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_3" -> "test2:#MemoryLeakExample#class.4d854f1c80289cc8e5422233831af105_2" ; -"objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_1" [label="1: Start objc_blockMemoryLeakExample_blockFreeNoLeak_2\nFormals: x:int*\nLocals: i:int\nCaptured: x:int* \n DECLARE_LOCALS(&return,&i); [line 105, column 22]\n " color=yellow style=filled] + "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_4" -> "test2NoLeak#MemoryLeakExample#class.69cf0c35f7df26deefa723cac655894d_3" ; +"testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_1" [label="1: Start MemoryLeakExample_testFBColorCreateWithGray\nFormals: self:MemoryLeakExample*\nLocals: borderColor:CGColor* \n DECLARE_LOCALS(&return,&borderColor); [line 82, column 1]\n " color=yellow style=filled] - "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_1" -> "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_5" ; -"objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_2" [label="2: Exit objc_blockMemoryLeakExample_blockFreeNoLeak_2 \n " color=yellow style=filled] + "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_1" -> "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_4" ; +"testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_2" [label="2: Exit MemoryLeakExample_testFBColorCreateWithGray \n " color=yellow style=filled] -"objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_3" [label="3: Return Stmt \n n$50=*&i:int [line 108, column 12]\n *&return:int=n$50 [line 108, column 5]\n " shape="box"] +"testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_3" [label="3: Call _fun_CGColorRelease \n n$34=*&borderColor:CGColor* [line 84, column 18]\n _fun_CGColorRelease(n$34:CGColor*) [line 84, column 3]\n " shape="box"] - "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_3" -> "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_2" ; -"objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_4" [label="4: Call _fun_free \n n$51=*&x:int* [line 107, column 10]\n _fun_free(n$51:void*) [line 107, column 5]\n " shape="box"] + "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_3" -> "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_2" ; +"testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_4" [label="4: DeclStmt \n n$35=_fun_FBColorCreateWithGray(0.000000:double,0.300000:double) [line 83, column 28]\n *&borderColor:CGColor*=n$35 [line 83, column 3]\n " shape="box"] - "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_4" -> "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_3" ; -"objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_5" [label="5: DeclStmt \n n$52=*&x:int* [line 106, column 14]\n n$53=*n$52:int [line 106, column 13]\n *&i:int=n$53 [line 106, column 5]\n " shape="box"] + "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_4" -> "testFBColorCreateWithGray#MemoryLeakExample#instance.4f74b525e11effa846f82d4205d48a4a_3" ; +"testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_1" [label="1: Start MemoryLeakExample_testImageRefRelease\nFormals: \nLocals: newImage:CGImage* \n DECLARE_LOCALS(&return,&newImage); [line 75, column 1]\n " color=yellow style=filled] - "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_5" -> "objc_blockMemoryLeakExample_blockFreeNoLeak_2.1717186f4031a201971ac91124f16c98_4" ; -"objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_1" [label="1: Start objc_blockMemoryLeakExample_blockCapturedVarLeak_1\nFormals: x:int*\nLocals: \nCaptured: x:int* \n DECLARE_LOCALS(&return); [line 96, column 22]\n " color=yellow style=filled] + "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_1" -> "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_4" ; +"testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_2" [label="2: Exit MemoryLeakExample_testImageRefRelease \n " color=yellow style=filled] - "objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_1" -> "objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_3" ; -"objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_2" [label="2: Exit objc_blockMemoryLeakExample_blockCapturedVarLeak_1 \n " color=yellow style=filled] +"testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_3" [label="3: Call _fun_CGImageRelease \n n$32=*&newImage:CGImage* [line 77, column 18]\n _fun_CGImageRelease(n$32:CGImage*) [line 77, column 3]\n " shape="box"] -"objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_3" [label="3: Return Stmt \n n$43=*&x:int* [line 97, column 13]\n n$44=*n$43:int [line 97, column 12]\n *&return:int=n$44 [line 97, column 5]\n " shape="box"] + "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_3" -> "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_2" ; +"testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_4" [label="4: DeclStmt \n n$33=_fun_CGBitmapContextCreateImage(null:CGContext*) [line 76, column 25]\n *&newImage:CGImage*=n$33 [line 76, column 3]\n " shape="box"] - "objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_3" -> "objc_blockMemoryLeakExample_blockCapturedVarLeak_1.b434313b336514058f60e55fc6a4a73f_2" ; + "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_4" -> "testImageRefRelease#MemoryLeakExample#class.fa3cf5eac6a14b14c5050c7d62d2a79f_3" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/TollBridgeExample.m.dot b/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/TollBridgeExample.m.dot index cafd93fe3..c4352122f 100644 --- a/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/TollBridgeExample.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/TollBridgeExample.m.dot @@ -1,16 +1,5 @@ /* @generated */ digraph cfg { -"cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_1" [label="1: Start cfautorelease_test\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 40, column 1]\n " color=yellow style=filled] - - - "cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_1" -> "cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_3" ; -"cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_2" [label="2: Exit cfautorelease_test \n " color=yellow style=filled] - - -"cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_3" [label="3: Return Stmt \n n$0=_fun___builtin___CFStringMakeConstantString(\"Icon\":char const *) [line 41, column 45]\n n$1=_fun_CTFontCreateWithName(n$0:__CFString const *,17.000000:double,null:CGAffineTransform const *) [line 41, column 24]\n n$2=_fun_CFAutorelease(n$1:void const *) [line 41, column 10]\n *&return:__CTFont const *=n$2 [line 41, column 3]\n " shape="box"] - - - "cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_3" -> "cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_2" ; "bridgeDictionaryNoLeak.a9b55a0c8751bf95138aeb6870d0dec1_1" [label="1: Start bridgeDictionaryNoLeak\nFormals: \nLocals: dict:__CFDictionary const * bufferAttributes:NSDictionary* \n DECLARE_LOCALS(&return,&dict,&bufferAttributes); [line 44, column 1]\n " color=yellow style=filled] @@ -26,36 +15,32 @@ digraph cfg { "bridgeDictionaryNoLeak.a9b55a0c8751bf95138aeb6870d0dec1_4" -> "bridgeDictionaryNoLeak.a9b55a0c8751bf95138aeb6870d0dec1_3" ; -"bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_1" [label="1: Start TollBridgeExample_bridgeTransfer\nFormals: self:TollBridgeExample*\nLocals: a:NSLocale* nameRef:__CFLocale const * \n DECLARE_LOCALS(&return,&a,&nameRef); [line 19, column 1]\n " color=yellow style=filled] - - - "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_1" -> "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_4" ; -"bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_2" [label="2: Exit TollBridgeExample_bridgeTransfer \n " color=yellow style=filled] +"cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_1" [label="1: Start cfautorelease_test\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 40, column 1]\n " color=yellow style=filled] -"bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_3" [label="3: DeclStmt \n n$0=*&nameRef:__CFLocale const * [line 21, column 46]\n _fun___free_cf(n$0:__CFLocale const *) [line 21, column 17]\n *&a:NSLocale*=n$0 [line 21, column 3]\n " shape="box"] + "cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_1" -> "cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_3" ; +"cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_2" [label="2: Exit cfautorelease_test \n " color=yellow style=filled] - "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_3" -> "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_2" ; -"bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_4" [label="4: DeclStmt \n n$1=_fun_CFLocaleCreate(null:__CFAllocator const *,null:__CFString const *) [line 20, column 25]\n *&nameRef:__CFLocale const *=n$1 [line 20, column 3]\n " shape="box"] +"cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_3" [label="3: Return Stmt \n n$0=_fun___builtin___CFStringMakeConstantString(\"Icon\":char const *) [line 41, column 45]\n n$1=_fun_CTFontCreateWithName(n$0:__CFString const *,17.000000:double,null:CGAffineTransform const *) [line 41, column 24]\n n$2=_fun_CFAutorelease(n$1:void const *) [line 41, column 10]\n *&return:__CTFont const *=n$2 [line 41, column 3]\n " shape="box"] - "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_4" -> "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_3" ; -"bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_1" [label="1: Start TollBridgeExample_bridge\nFormals: self:TollBridgeExample*\nLocals: a:NSLocale* nameRef:__CFLocale const * \n DECLARE_LOCALS(&return,&a,&nameRef); [line 24, column 1]\n " color=yellow style=filled] + "cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_3" -> "cfautorelease_test.2ccea2233b65cd3828a2d5e2571ad69b_2" ; +"_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_1" [label="1: Start TollBridgeExample__readHTTPHeader\nFormals: self:TollBridgeExample*\nLocals: ref:__CFDictionary const * \n DECLARE_LOCALS(&return,&ref); [line 34, column 1]\n " color=yellow style=filled] - "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_1" -> "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_4" ; -"bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_2" [label="2: Exit TollBridgeExample_bridge \n " color=yellow style=filled] + "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_1" -> "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_4" ; +"_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_2" [label="2: Exit TollBridgeExample__readHTTPHeader \n " color=yellow style=filled] -"bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_3" [label="3: DeclStmt \n n$2=*&nameRef:__CFLocale const * [line 26, column 37]\n _fun___free_cf(n$2:__CFLocale const *) [line 26, column 17]\n *&a:NSLocale*=n$2 [line 26, column 3]\n " shape="box"] +"_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_3" [label="3: Call _fun_CFBridgingRelease \n n$6=*&ref:__CFDictionary const * [line 37, column 21]\n n$7=_fun_CFBridgingRelease(n$6:void const *) [line 37, column 3]\n " shape="box"] - "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_3" -> "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_2" ; -"bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_4" [label="4: DeclStmt \n n$3=_fun_CFLocaleCreate(null:__CFAllocator const *,null:__CFString const *) [line 25, column 25]\n *&nameRef:__CFLocale const *=n$3 [line 25, column 3]\n " shape="box"] + "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_3" -> "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_2" ; +"_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_4" [label="4: DeclStmt \n n$8=_fun_CFHTTPMessageCopyAllHeaderFields(null:__CFHTTPMessage*) [line 36, column 25]\n *&ref:__CFDictionary const *=n$8 [line 36, column 3]\n " shape="box"] - "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_4" -> "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_3" ; + "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_4" -> "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_3" ; "brideRetained#TollBridgeExample#instance.de039e838ea3246eff789fdc0d11405c_1" [label="1: Start TollBridgeExample_brideRetained\nFormals: self:TollBridgeExample*\nLocals: a:__CFLocale const * observer:objc_object* \n DECLARE_LOCALS(&return,&a,&observer); [line 29, column 1]\n " color=yellow style=filled] @@ -71,19 +56,34 @@ digraph cfg { "brideRetained#TollBridgeExample#instance.de039e838ea3246eff789fdc0d11405c_4" -> "brideRetained#TollBridgeExample#instance.de039e838ea3246eff789fdc0d11405c_3" ; -"_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_1" [label="1: Start TollBridgeExample__readHTTPHeader\nFormals: self:TollBridgeExample*\nLocals: ref:__CFDictionary const * \n DECLARE_LOCALS(&return,&ref); [line 34, column 1]\n " color=yellow style=filled] +"bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_1" [label="1: Start TollBridgeExample_bridge\nFormals: self:TollBridgeExample*\nLocals: a:NSLocale* nameRef:__CFLocale const * \n DECLARE_LOCALS(&return,&a,&nameRef); [line 24, column 1]\n " color=yellow style=filled] - "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_1" -> "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_4" ; -"_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_2" [label="2: Exit TollBridgeExample__readHTTPHeader \n " color=yellow style=filled] + "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_1" -> "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_4" ; +"bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_2" [label="2: Exit TollBridgeExample_bridge \n " color=yellow style=filled] -"_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_3" [label="3: Call _fun_CFBridgingRelease \n n$6=*&ref:__CFDictionary const * [line 37, column 21]\n n$7=_fun_CFBridgingRelease(n$6:void const *) [line 37, column 3]\n " shape="box"] +"bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_3" [label="3: DeclStmt \n n$2=*&nameRef:__CFLocale const * [line 26, column 37]\n _fun___free_cf(n$2:__CFLocale const *) [line 26, column 17]\n *&a:NSLocale*=n$2 [line 26, column 3]\n " shape="box"] - "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_3" -> "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_2" ; -"_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_4" [label="4: DeclStmt \n n$8=_fun_CFHTTPMessageCopyAllHeaderFields(null:__CFHTTPMessage*) [line 36, column 25]\n *&ref:__CFDictionary const *=n$8 [line 36, column 3]\n " shape="box"] + "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_3" -> "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_2" ; +"bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_4" [label="4: DeclStmt \n n$3=_fun_CFLocaleCreate(null:__CFAllocator const *,null:__CFString const *) [line 25, column 25]\n *&nameRef:__CFLocale const *=n$3 [line 25, column 3]\n " shape="box"] - "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_4" -> "_readHTTPHeader#TollBridgeExample#instance.3d37ce88cf13750e89ba404865a70554_3" ; + "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_4" -> "bridge#TollBridgeExample#instance.fadd5a014118113c960fa1a6e3ff27ba_3" ; +"bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_1" [label="1: Start TollBridgeExample_bridgeTransfer\nFormals: self:TollBridgeExample*\nLocals: a:NSLocale* nameRef:__CFLocale const * \n DECLARE_LOCALS(&return,&a,&nameRef); [line 19, column 1]\n " color=yellow style=filled] + + + "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_1" -> "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_4" ; +"bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_2" [label="2: Exit TollBridgeExample_bridgeTransfer \n " color=yellow style=filled] + + +"bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_3" [label="3: DeclStmt \n n$0=*&nameRef:__CFLocale const * [line 21, column 46]\n _fun___free_cf(n$0:__CFLocale const *) [line 21, column 17]\n *&a:NSLocale*=n$0 [line 21, column 3]\n " shape="box"] + + + "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_3" -> "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_2" ; +"bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_4" [label="4: DeclStmt \n n$1=_fun_CFLocaleCreate(null:__CFAllocator const *,null:__CFString const *) [line 20, column 25]\n *&nameRef:__CFLocale const *=n$1 [line 20, column 3]\n " shape="box"] + + + "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_4" -> "bridgeTransfer#TollBridgeExample#instance.d0065913beb197e891ef0d8a0bb81b38_3" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/arc_methods.m.dot b/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/arc_methods.m.dot index 0ad312816..4954bc4c5 100644 --- a/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/arc_methods.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/arc_methods.m.dot @@ -1,60 +1,60 @@ /* @generated */ digraph cfg { -"newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_1" [label="1: Start ArcMethodsA_newA\nFormals: \nLocals: a:ArcMethodsA* \n DECLARE_LOCALS(&return,&a); [line 22, column 1]\n " color=yellow style=filled] +"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_1" [label="1: Start main_arc_methods\nFormals: \nLocals: ab:ArcMethodsA* a2:ArcMethodsA* aa:ArcMethodsA* a1:ArcMethodsA* \n DECLARE_LOCALS(&return,&ab,&a2,&aa,&a1); [line 35, column 1]\n " color=yellow style=filled] - "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_1" -> "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_4" ; -"newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_2" [label="2: Exit ArcMethodsA_newA \n " color=yellow style=filled] + "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_1" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_7" ; +"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_2" [label="2: Exit main_arc_methods \n " color=yellow style=filled] -"newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_3" [label="3: Return Stmt \n n$0=*&a:ArcMethodsA* [line 24, column 10]\n *&return:ArcMethodsA*=n$0 [line 24, column 3]\n " shape="box"] +"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_3" [label="3: Return Stmt \n *&return:int=0 [line 46, column 3]\n " shape="box"] - "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_3" -> "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_2" ; -"newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_4" [label="4: DeclStmt \n n$1=_fun___objc_alloc_no_fail(sizeof(t=ArcMethodsA):unsigned long) [line 23, column 21]\n n$2=_fun_NSObject_init(n$1:ArcMethodsA*) virtual [line 23, column 20]\n *&a:ArcMethodsA*=n$2 [line 23, column 3]\n " shape="box"] + "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_3" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_2" ; +"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_4" [label="4: DeclStmt \n n$0=*&a2:ArcMethodsA* [line 45, column 21]\n *&ab:ArcMethodsA*=n$0 [line 45, column 3]\n " shape="box"] - "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_4" -> "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_3" ; -"someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_1" [label="1: Start ArcMethodsA_someA\nFormals: \nLocals: a:ArcMethodsA* \n DECLARE_LOCALS(&return,&a); [line 27, column 1]\n " color=yellow style=filled] + "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_4" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_3" ; +"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_5" [label="5: DeclStmt \n n$1=_fun_ArcMethodsA_someA() [line 44, column 21]\n *&a2:ArcMethodsA*=n$1 [line 44, column 3]\n " shape="box"] - "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_1" -> "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_4" ; -"someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_2" [label="2: Exit ArcMethodsA_someA \n " color=yellow style=filled] + "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_5" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_4" ; +"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_6" [label="6: DeclStmt \n n$2=*&a1:ArcMethodsA* [line 43, column 21]\n *&aa:ArcMethodsA*=n$2 [line 43, column 3]\n " shape="box"] -"someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_3" [label="3: Return Stmt \n n$3=*&a:ArcMethodsA* [line 30, column 10]\n *&return:ArcMethodsA*=n$3 [line 30, column 3]\n " shape="box"] + "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_6" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_5" ; +"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_7" [label="7: DeclStmt \n n$3=_fun_ArcMethodsA_newA() [line 42, column 21]\n *&a1:ArcMethodsA*=n$3 [line 42, column 3]\n " shape="box"] - "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_3" -> "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_2" ; -"someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_4" [label="4: DeclStmt \n n$4=_fun___objc_alloc_no_fail(sizeof(t=ArcMethodsA):unsigned long) [line 28, column 21]\n n$5=_fun_NSObject_init(n$4:ArcMethodsA*) virtual [line 28, column 20]\n *&a:ArcMethodsA*=n$5 [line 28, column 3]\n " shape="box"] + "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_7" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_6" ; +"newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_1" [label="1: Start ArcMethodsA_newA\nFormals: \nLocals: a:ArcMethodsA* \n DECLARE_LOCALS(&return,&a); [line 22, column 1]\n " color=yellow style=filled] - "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_4" -> "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_3" ; -"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_1" [label="1: Start main_arc_methods\nFormals: \nLocals: ab:ArcMethodsA* a2:ArcMethodsA* aa:ArcMethodsA* a1:ArcMethodsA* \n DECLARE_LOCALS(&return,&ab,&a2,&aa,&a1); [line 35, column 1]\n " color=yellow style=filled] + "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_1" -> "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_4" ; +"newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_2" [label="2: Exit ArcMethodsA_newA \n " color=yellow style=filled] - "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_1" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_7" ; -"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_2" [label="2: Exit main_arc_methods \n " color=yellow style=filled] +"newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_3" [label="3: Return Stmt \n n$0=*&a:ArcMethodsA* [line 24, column 10]\n *&return:ArcMethodsA*=n$0 [line 24, column 3]\n " shape="box"] -"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_3" [label="3: Return Stmt \n *&return:int=0 [line 46, column 3]\n " shape="box"] + "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_3" -> "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_2" ; +"newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_4" [label="4: DeclStmt \n n$1=_fun___objc_alloc_no_fail(sizeof(t=ArcMethodsA):unsigned long) [line 23, column 21]\n n$2=_fun_NSObject_init(n$1:ArcMethodsA*) virtual [line 23, column 20]\n *&a:ArcMethodsA*=n$2 [line 23, column 3]\n " shape="box"] - "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_3" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_2" ; -"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_4" [label="4: DeclStmt \n n$0=*&a2:ArcMethodsA* [line 45, column 21]\n *&ab:ArcMethodsA*=n$0 [line 45, column 3]\n " shape="box"] + "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_4" -> "newA#ArcMethodsA#class.8f73d571693162b8fe59ae9b171012f1_3" ; +"someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_1" [label="1: Start ArcMethodsA_someA\nFormals: \nLocals: a:ArcMethodsA* \n DECLARE_LOCALS(&return,&a); [line 27, column 1]\n " color=yellow style=filled] - "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_4" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_3" ; -"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_5" [label="5: DeclStmt \n n$1=_fun_ArcMethodsA_someA() [line 44, column 21]\n *&a2:ArcMethodsA*=n$1 [line 44, column 3]\n " shape="box"] + "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_1" -> "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_4" ; +"someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_2" [label="2: Exit ArcMethodsA_someA \n " color=yellow style=filled] - "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_5" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_4" ; -"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_6" [label="6: DeclStmt \n n$2=*&a1:ArcMethodsA* [line 43, column 21]\n *&aa:ArcMethodsA*=n$2 [line 43, column 3]\n " shape="box"] +"someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_3" [label="3: Return Stmt \n n$3=*&a:ArcMethodsA* [line 30, column 10]\n *&return:ArcMethodsA*=n$3 [line 30, column 3]\n " shape="box"] - "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_6" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_5" ; -"main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_7" [label="7: DeclStmt \n n$3=_fun_ArcMethodsA_newA() [line 42, column 21]\n *&a1:ArcMethodsA*=n$3 [line 42, column 3]\n " shape="box"] + "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_3" -> "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_2" ; +"someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_4" [label="4: DeclStmt \n n$4=_fun___objc_alloc_no_fail(sizeof(t=ArcMethodsA):unsigned long) [line 28, column 21]\n n$5=_fun_NSObject_init(n$4:ArcMethodsA*) virtual [line 28, column 20]\n *&a:ArcMethodsA*=n$5 [line 28, column 3]\n " shape="box"] - "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_7" -> "main_arc_methods.6924ccbb58d8dbb03048861dcbd6134b_6" ; + "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_4" -> "someA#ArcMethodsA#class.b84b222a4d332a9b8f3f1d6626af9c8f_3" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/property/PropertyAttributes.m.dot b/infer/tests/codetoanalyze/objc/shared/property/PropertyAttributes.m.dot index c3c677170..71d2e136f 100644 --- a/infer/tests/codetoanalyze/objc/shared/property/PropertyAttributes.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/property/PropertyAttributes.m.dot @@ -23,17 +23,6 @@ digraph cfg { "test.098f6bcd4621d373cade4e832627b4f6_6" -> "test.098f6bcd4621d373cade4e832627b4f6_5" ; -"init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_1" [label="1: Start PropertyA_init\nFormals: self:PropertyA*\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] - - - "init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_1" -> "init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_3" ; -"init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_2" [label="2: Exit PropertyA_init \n " color=yellow style=filled] - - -"init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_3" [label="3: Return Stmt \n n$0=*&self:PropertyA* [line 27, column 10]\n *&return:objc_object*=n$0 [line 27, column 3]\n " shape="box"] - - - "init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_3" -> "init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_2" ; "copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_1" [label="1: Start PropertyA_copy\nFormals: self:PropertyA*\nLocals: other:PropertyA* \n DECLARE_LOCALS(&return,&other); [line 30, column 1]\n " color=yellow style=filled] @@ -74,4 +63,15 @@ digraph cfg { "copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_10" -> "copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_5" ; "copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_10" -> "copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_6" ; +"init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_1" [label="1: Start PropertyA_init\nFormals: self:PropertyA*\nLocals: \n DECLARE_LOCALS(&return); [line 26, column 1]\n " color=yellow style=filled] + + + "init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_1" -> "init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_3" ; +"init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_2" [label="2: Exit PropertyA_init \n " color=yellow style=filled] + + +"init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_3" [label="3: Return Stmt \n n$0=*&self:PropertyA* [line 27, column 10]\n *&return:objc_object*=n$0 [line 27, column 3]\n " shape="box"] + + + "init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_3" -> "init#PropertyA#instance.a50cf011b0759e26f65bb059fbc6d60c_2" ; } diff --git a/infer/tests/codetoanalyze/objc/shared/protocol_procdesc/Bicycle.m.dot b/infer/tests/codetoanalyze/objc/shared/protocol_procdesc/Bicycle.m.dot index 5a78a278f..ff823f355 100644 --- a/infer/tests/codetoanalyze/objc/shared/protocol_procdesc/Bicycle.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/protocol_procdesc/Bicycle.m.dot @@ -1,16 +1,27 @@ /* @generated */ digraph cfg { -"signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_1" [label="1: Start Bicycle_signalStop\nFormals: self:Bicycle*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 1]\n " color=yellow style=filled] +"lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_1" [label="1: Start Bicycle_lockToStructure:\nFormals: self:Bicycle* theStructure:objc_object*\nLocals: \n DECLARE_LOCALS(&return); [line 31, column 1]\n " color=yellow style=filled] - "signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_1" -> "signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_3" ; -"signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_2" [label="2: Exit Bicycle_signalStop \n " color=yellow style=filled] + "lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_1" -> "lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_3" ; +"lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_2" [label="2: Exit Bicycle_lockToStructure: \n " color=yellow style=filled] -"signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_3" [label="3: Call _fun_NSLog \n n$0=_fun_NSString_stringWithUTF8String:(\"Bending left arm downwards\":char* const ) [line 16, column 9]\n _fun_NSLog(n$0:objc_object*) [line 16, column 3]\n " shape="box"] +"lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_3" [label="3: Call _fun_NSLog \n n$5=_fun_NSString_stringWithUTF8String:(\"Locked to structure. Don't forget the combination!\":char* const ) [line 32, column 9]\n _fun_NSLog(n$5:objc_object*) [line 32, column 3]\n " shape="box"] - "signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_3" -> "signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_2" ; + "lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_3" -> "lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_2" ; +"removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_1" [label="1: Start Bicycle_removeFrontWheel\nFormals: self:Bicycle*\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] + + + "removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_1" -> "removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_3" ; +"removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_2" [label="2: Exit Bicycle_removeFrontWheel \n " color=yellow style=filled] + + +"removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_3" [label="3: Call _fun_NSLog \n n$4=_fun_NSString_stringWithUTF8String:(\"Front wheel is off.Should probably replace that before pedaling...\":char* const ) [line 28, column 9]\n _fun_NSLog(n$4:objc_object*) [line 28, column 3]\n " shape="box"] + + + "removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_3" -> "removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_2" ; "signalLeftTurn#Bicycle#instance.a4d5c86b4aa90993e2ac30d04f01880f_1" [label="1: Start Bicycle_signalLeftTurn\nFormals: self:Bicycle*\nLocals: \n DECLARE_LOCALS(&return); [line 18, column 1]\n " color=yellow style=filled] @@ -33,37 +44,26 @@ digraph cfg { "signalRightTurn#Bicycle#instance.fadced5c56a6d988e6d72d83b6b35cbe_3" -> "signalRightTurn#Bicycle#instance.fadced5c56a6d988e6d72d83b6b35cbe_2" ; -"startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_1" [label="1: Start Bicycle_startPedaling\nFormals: self:Bicycle*\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 1]\n " color=yellow style=filled] - - - "startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_1" -> "startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_3" ; -"startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_2" [label="2: Exit Bicycle_startPedaling \n " color=yellow style=filled] - - -"startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_3" [label="3: Call _fun_NSLog \n n$3=_fun_NSString_stringWithUTF8String:(\"Here we go!\":char* const ) [line 25, column 9]\n _fun_NSLog(n$3:objc_object*) [line 25, column 3]\n " shape="box"] - - - "startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_3" -> "startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_2" ; -"removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_1" [label="1: Start Bicycle_removeFrontWheel\nFormals: self:Bicycle*\nLocals: \n DECLARE_LOCALS(&return); [line 27, column 1]\n " color=yellow style=filled] +"signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_1" [label="1: Start Bicycle_signalStop\nFormals: self:Bicycle*\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 1]\n " color=yellow style=filled] - "removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_1" -> "removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_3" ; -"removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_2" [label="2: Exit Bicycle_removeFrontWheel \n " color=yellow style=filled] + "signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_1" -> "signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_3" ; +"signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_2" [label="2: Exit Bicycle_signalStop \n " color=yellow style=filled] -"removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_3" [label="3: Call _fun_NSLog \n n$4=_fun_NSString_stringWithUTF8String:(\"Front wheel is off.Should probably replace that before pedaling...\":char* const ) [line 28, column 9]\n _fun_NSLog(n$4:objc_object*) [line 28, column 3]\n " shape="box"] +"signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_3" [label="3: Call _fun_NSLog \n n$0=_fun_NSString_stringWithUTF8String:(\"Bending left arm downwards\":char* const ) [line 16, column 9]\n _fun_NSLog(n$0:objc_object*) [line 16, column 3]\n " shape="box"] - "removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_3" -> "removeFrontWheel#Bicycle#instance.30147087e52fa1526931dfcd2d381f31_2" ; -"lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_1" [label="1: Start Bicycle_lockToStructure:\nFormals: self:Bicycle* theStructure:objc_object*\nLocals: \n DECLARE_LOCALS(&return); [line 31, column 1]\n " color=yellow style=filled] + "signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_3" -> "signalStop#Bicycle#instance.e21e040e406b062ae47420adbbba076a_2" ; +"startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_1" [label="1: Start Bicycle_startPedaling\nFormals: self:Bicycle*\nLocals: \n DECLARE_LOCALS(&return); [line 24, column 1]\n " color=yellow style=filled] - "lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_1" -> "lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_3" ; -"lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_2" [label="2: Exit Bicycle_lockToStructure: \n " color=yellow style=filled] + "startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_1" -> "startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_3" ; +"startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_2" [label="2: Exit Bicycle_startPedaling \n " color=yellow style=filled] -"lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_3" [label="3: Call _fun_NSLog \n n$5=_fun_NSString_stringWithUTF8String:(\"Locked to structure. Don't forget the combination!\":char* const ) [line 32, column 9]\n _fun_NSLog(n$5:objc_object*) [line 32, column 3]\n " shape="box"] +"startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_3" [label="3: Call _fun_NSLog \n n$3=_fun_NSString_stringWithUTF8String:(\"Here we go!\":char* const ) [line 25, column 9]\n _fun_NSLog(n$3:objc_object*) [line 25, column 3]\n " shape="box"] - "lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_3" -> "lockToStructure:#Bicycle#instance.1d748844e64f333b251ddf4475286342_2" ; + "startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_3" -> "startPedaling#Bicycle#instance.51dd675ab15335a15287fd45cbc21261_2" ; } diff --git a/infer/tests/codetoanalyze/objcpp/frontend/funcoverloading/af_test.mm.dot b/infer/tests/codetoanalyze/objcpp/frontend/funcoverloading/af_test.mm.dot index dc5726e2d..8ddf9c8d4 100644 --- a/infer/tests/codetoanalyze/objcpp/frontend/funcoverloading/af_test.mm.dot +++ b/infer/tests/codetoanalyze/objcpp/frontend/funcoverloading/af_test.mm.dot @@ -1,25 +1,25 @@ /* @generated */ digraph cfg { -"POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_1" [label="1: Start POPSelectValueType\nFormals: obj:objc_object*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] +"POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_1" [label="1: Start POPSelectValueType\nFormals: v:int\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 1]\n " color=yellow style=filled] - "POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_1" -> "POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_3" ; -"POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_2" [label="2: Exit POPSelectValueType \n " color=yellow style=filled] + "POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_1" -> "POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_3" ; +"POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_2" [label="2: Exit POPSelectValueType \n " color=yellow style=filled] -"POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_3" [label="3: Return Stmt \n *&return:int=1 [line 12, column 34]\n " shape="box"] +"POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 40]\n *&return:int=n$0 [line 14, column 33]\n " shape="box"] - "POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_3" -> "POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_2" ; -"POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_1" [label="1: Start POPSelectValueType\nFormals: v:int\nLocals: \n DECLARE_LOCALS(&return); [line 14, column 1]\n " color=yellow style=filled] + "POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_3" -> "POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_2" ; +"POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_1" [label="1: Start POPSelectValueType\nFormals: obj:objc_object*\nLocals: \n DECLARE_LOCALS(&return); [line 12, column 1]\n " color=yellow style=filled] - "POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_1" -> "POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_3" ; -"POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_2" [label="2: Exit POPSelectValueType \n " color=yellow style=filled] + "POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_1" -> "POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_3" ; +"POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_2" [label="2: Exit POPSelectValueType \n " color=yellow style=filled] -"POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_3" [label="3: Return Stmt \n n$0=*&v:int [line 14, column 40]\n *&return:int=n$0 [line 14, column 33]\n " shape="box"] +"POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_3" [label="3: Return Stmt \n *&return:int=1 [line 12, column 34]\n " shape="box"] - "POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_3" -> "POPSelectValueType#13202608325161396336.7f6967bed79eb95ec02bca4d934e7bf7_2" ; + "POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_3" -> "POPSelectValueType#4590621362721862851.100c5a1fcd7deab0dea5c6fefbfaf7e9_2" ; }