Summary: public We were generating getters and setters in the frontend, and then removing them if they were not needed in the preanalysis. This diff adds a builtin getter that gets called if we are going to skip the function. That means, if there was a getter written by the developers we still use that one rather than the builtin. Code for setter and cleanup of preanalysis will come in a next diff. Reviewed By: jvillard Differential Revision: D2702890 fb-gh-sync-id: d65f25emaster
parent
1349492e57
commit
12d21c73dd
@ -1,458 +1,447 @@
|
|||||||
digraph iCFG {
|
digraph iCFG {
|
||||||
123 [label="123: DeclStmt \n n$22=_fun_NSString_stringWithUTF8String:(\"\":char *) [line 36]\n _fun___objc_retain(n$22:class NSString *) [line 36]\n *&__assert_fn__:class NSString *=n$22 [line 36]\n REMOVE_TEMPS(n$22); [line 36]\n " shape="box"]
|
108 [label="108: DeclStmt \n n$20=_fun_NSString_stringWithUTF8String:(\"\":char *) [line 36]\n _fun___objc_retain(n$20:class NSString *) [line 36]\n *&__assert_fn__:class NSString *=n$20 [line 36]\n REMOVE_TEMPS(n$20); [line 36]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
123 -> 118 ;
|
108 -> 103 ;
|
||||||
123 -> 119 ;
|
108 -> 104 ;
|
||||||
122 [label="122: BinaryOperatorStmt: Assign \n n$20=*&SIL_temp_conditional___117:class NSString * [line 36]\n NULLIFY(&SIL_temp_conditional___117,true); [line 36]\n _fun___objc_retain(n$20:class NSString *) [line 36]\n n$21=*&__assert_fn__:class NSString * [line 36]\n *&__assert_fn__:class NSString *=n$20 [line 36]\n _fun___objc_release(n$21:class NSString *) [line 36]\n REMOVE_TEMPS(n$20,n$21); [line 36]\n NULLIFY(&__assert_fn__,false); [line 36]\n " shape="box"]
|
107 [label="107: BinaryOperatorStmt: Assign \n n$18=*&SIL_temp_conditional___102:class NSString * [line 36]\n NULLIFY(&SIL_temp_conditional___102,true); [line 36]\n _fun___objc_retain(n$18:class NSString *) [line 36]\n n$19=*&__assert_fn__:class NSString * [line 36]\n *&__assert_fn__:class NSString *=n$18 [line 36]\n _fun___objc_release(n$19:class NSString *) [line 36]\n REMOVE_TEMPS(n$18,n$19); [line 36]\n NULLIFY(&__assert_fn__,false); [line 36]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
122 -> 116 ;
|
107 -> 101 ;
|
||||||
121 [label="121: Message Call: stringWithUTF8String: \n n$19=_fun_NSString_stringWithUTF8String:(\"<Unknown Function>\":char *) [line 36]\n DECLARE_LOCALS(&SIL_temp_conditional___117); [line 36]\n *&SIL_temp_conditional___117:class NSString *=n$19 [line 36]\n REMOVE_TEMPS(n$19); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
106 [label="106: Message Call: stringWithUTF8String: \n n$17=_fun_NSString_stringWithUTF8String:(\"<Unknown Function>\":char *) [line 36]\n DECLARE_LOCALS(&SIL_temp_conditional___102); [line 36]\n *&SIL_temp_conditional___102:class NSString *=n$17 [line 36]\n REMOVE_TEMPS(n$17); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
121 -> 117 ;
|
106 -> 102 ;
|
||||||
120 [label="120: ConditinalStmt Branch \n n$18=*&__assert_fn__:class NSString * [line 36]\n DECLARE_LOCALS(&SIL_temp_conditional___117); [line 36]\n *&SIL_temp_conditional___117:class NSString *=n$18 [line 36]\n REMOVE_TEMPS(n$18); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
105 [label="105: ConditinalStmt Branch \n n$16=*&__assert_fn__:class NSString * [line 36]\n DECLARE_LOCALS(&SIL_temp_conditional___102); [line 36]\n *&SIL_temp_conditional___102:class NSString *=n$16 [line 36]\n REMOVE_TEMPS(n$16); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
120 -> 117 ;
|
|
||||||
119 [label="119: Prune (false branch) \n n$17=*&__assert_fn__:class NSString * [line 36]\n PRUNE((n$17 == 0), false); [line 36]\n REMOVE_TEMPS(n$17); [line 36]\n " shape="invhouse"]
|
|
||||||
|
|
||||||
|
|
||||||
119 -> 121 ;
|
|
||||||
118 [label="118: Prune (true branch) \n n$17=*&__assert_fn__:class NSString * [line 36]\n PRUNE((n$17 != 0), true); [line 36]\n REMOVE_TEMPS(n$17); [line 36]\n " shape="invhouse"]
|
|
||||||
|
|
||||||
|
|
||||||
118 -> 120 ;
|
|
||||||
117 [label="117: + \n " ]
|
|
||||||
|
|
||||||
|
|
||||||
117 -> 122 ;
|
105 -> 102 ;
|
||||||
116 [label="116: DeclStmt \n n$16=_fun_NSString_stringWithUTF8String:(\"infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m\":char *) [line 36]\n _fun___objc_retain(n$16:class NSString *) [line 36]\n *&__assert_file__:class NSString *=n$16 [line 36]\n REMOVE_TEMPS(n$16); [line 36]\n " shape="box"]
|
104 [label="104: Prune (false branch) \n n$15=*&__assert_fn__:class NSString * [line 36]\n PRUNE((n$15 == 0), false); [line 36]\n REMOVE_TEMPS(n$15); [line 36]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
116 -> 111 ;
|
104 -> 106 ;
|
||||||
116 -> 112 ;
|
103 [label="103: Prune (true branch) \n n$15=*&__assert_fn__:class NSString * [line 36]\n PRUNE((n$15 != 0), true); [line 36]\n REMOVE_TEMPS(n$15); [line 36]\n " shape="invhouse"]
|
||||||
115 [label="115: BinaryOperatorStmt: Assign \n n$14=*&SIL_temp_conditional___110:class NSString * [line 36]\n NULLIFY(&SIL_temp_conditional___110,true); [line 36]\n _fun___objc_retain(n$14:class NSString *) [line 36]\n n$15=*&__assert_file__:class NSString * [line 36]\n *&__assert_file__:class NSString *=n$14 [line 36]\n _fun___objc_release(n$15:class NSString *) [line 36]\n REMOVE_TEMPS(n$14,n$15); [line 36]\n NULLIFY(&__assert_file__,false); [line 36]\n " shape="box"]
|
|
||||||
|
|
||||||
|
|
||||||
115 -> 109 ;
|
103 -> 105 ;
|
||||||
114 [label="114: Message Call: stringWithUTF8String: \n n$13=_fun_NSString_stringWithUTF8String:(\"<Unknown File>\":char *) [line 36]\n DECLARE_LOCALS(&SIL_temp_conditional___110); [line 36]\n *&SIL_temp_conditional___110:class NSString *=n$13 [line 36]\n REMOVE_TEMPS(n$13); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
102 [label="102: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
114 -> 110 ;
|
102 -> 107 ;
|
||||||
113 [label="113: ConditinalStmt Branch \n n$12=*&__assert_file__:class NSString * [line 36]\n DECLARE_LOCALS(&SIL_temp_conditional___110); [line 36]\n *&SIL_temp_conditional___110:class NSString *=n$12 [line 36]\n REMOVE_TEMPS(n$12); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
101 [label="101: DeclStmt \n n$14=_fun_NSString_stringWithUTF8String:(\"infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m\":char *) [line 36]\n _fun___objc_retain(n$14:class NSString *) [line 36]\n *&__assert_file__:class NSString *=n$14 [line 36]\n REMOVE_TEMPS(n$14); [line 36]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
113 -> 110 ;
|
101 -> 96 ;
|
||||||
112 [label="112: Prune (false branch) \n n$11=*&__assert_file__:class NSString * [line 36]\n PRUNE((n$11 == 0), false); [line 36]\n REMOVE_TEMPS(n$11); [line 36]\n " shape="invhouse"]
|
101 -> 97 ;
|
||||||
|
100 [label="100: BinaryOperatorStmt: Assign \n n$12=*&SIL_temp_conditional___95:class NSString * [line 36]\n NULLIFY(&SIL_temp_conditional___95,true); [line 36]\n _fun___objc_retain(n$12:class NSString *) [line 36]\n n$13=*&__assert_file__:class NSString * [line 36]\n *&__assert_file__:class NSString *=n$12 [line 36]\n _fun___objc_release(n$13:class NSString *) [line 36]\n REMOVE_TEMPS(n$12,n$13); [line 36]\n NULLIFY(&__assert_file__,false); [line 36]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
112 -> 114 ;
|
100 -> 94 ;
|
||||||
111 [label="111: Prune (true branch) \n n$11=*&__assert_file__:class NSString * [line 36]\n PRUNE((n$11 != 0), true); [line 36]\n REMOVE_TEMPS(n$11); [line 36]\n " shape="invhouse"]
|
99 [label="99: Message Call: stringWithUTF8String: \n n$11=_fun_NSString_stringWithUTF8String:(\"<Unknown File>\":char *) [line 36]\n DECLARE_LOCALS(&SIL_temp_conditional___95); [line 36]\n *&SIL_temp_conditional___95:class NSString *=n$11 [line 36]\n REMOVE_TEMPS(n$11); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
111 -> 113 ;
|
99 -> 95 ;
|
||||||
110 [label="110: + \n " ]
|
98 [label="98: ConditinalStmt Branch \n n$10=*&__assert_file__:class NSString * [line 36]\n DECLARE_LOCALS(&SIL_temp_conditional___95); [line 36]\n *&SIL_temp_conditional___95:class NSString *=n$10 [line 36]\n REMOVE_TEMPS(n$10); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
110 -> 115 ;
|
98 -> 95 ;
|
||||||
109 [label="109: Assertion failure \n _fun___infer_fail(\"ASSERTION_FAILURE\":void ) [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
97 [label="97: Prune (false branch) \n n$9=*&__assert_file__:class NSString * [line 36]\n PRUNE((n$9 == 0), false); [line 36]\n REMOVE_TEMPS(n$9); [line 36]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
109 -> 93 ;
|
97 -> 99 ;
|
||||||
108 [label="108: Prune (false branch) \n n$5=*&SIL_temp_conditional___102:int [line 38]\n NULLIFY(&SIL_temp_conditional___102,true); [line 38]\n PRUNE((n$5 == 0), false); [line 38]\n REMOVE_TEMPS(n$5); [line 38]\n " shape="invhouse"]
|
96 [label="96: Prune (true branch) \n n$9=*&__assert_file__:class NSString * [line 36]\n PRUNE((n$9 != 0), true); [line 36]\n REMOVE_TEMPS(n$9); [line 36]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
108 -> 101 ;
|
96 -> 98 ;
|
||||||
107 [label="107: Prune (true branch) \n n$5=*&SIL_temp_conditional___102:int [line 38]\n NULLIFY(&SIL_temp_conditional___102,true); [line 38]\n PRUNE((n$5 != 0), true); [line 38]\n REMOVE_TEMPS(n$5); [line 38]\n NULLIFY(&target,false); [line 38]\n " shape="invhouse"]
|
95 [label="95: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
107 -> 123 ;
|
95 -> 100 ;
|
||||||
106 [label="106: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___102); [line 38]\n *&SIL_temp_conditional___102:int =1 [line 38]\n APPLY_ABSTRACTION; [line 38]\n " shape="box"]
|
94 [label="94: Assertion failure \n _fun___infer_fail(\"ASSERTION_FAILURE\":void ) [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
106 -> 102 ;
|
94 -> 81 ;
|
||||||
105 [label="105: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___102); [line 38]\n *&SIL_temp_conditional___102:int =0 [line 38]\n APPLY_ABSTRACTION; [line 38]\n " shape="box"]
|
93 [label="93: Prune (false branch) \n n$3=*&SIL_temp_conditional___87:int [line 38]\n NULLIFY(&SIL_temp_conditional___87,true); [line 38]\n PRUNE((n$3 == 0), false); [line 38]\n REMOVE_TEMPS(n$3); [line 38]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
105 -> 102 ;
|
93 -> 86 ;
|
||||||
104 [label="104: Prune (false branch) \n n$4=*&target:class A * [line 38]\n PRUNE((n$4 == 0), false); [line 38]\n REMOVE_TEMPS(n$4); [line 38]\n " shape="invhouse"]
|
92 [label="92: Prune (true branch) \n n$3=*&SIL_temp_conditional___87:int [line 38]\n NULLIFY(&SIL_temp_conditional___87,true); [line 38]\n PRUNE((n$3 != 0), true); [line 38]\n REMOVE_TEMPS(n$3); [line 38]\n NULLIFY(&target,false); [line 38]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
104 -> 106 ;
|
92 -> 108 ;
|
||||||
103 [label="103: Prune (true branch) \n n$4=*&target:class A * [line 38]\n PRUNE((n$4 != 0), true); [line 38]\n REMOVE_TEMPS(n$4); [line 38]\n " shape="invhouse"]
|
91 [label="91: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___87); [line 38]\n *&SIL_temp_conditional___87:int =1 [line 38]\n APPLY_ABSTRACTION; [line 38]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
103 -> 105 ;
|
91 -> 87 ;
|
||||||
102 [label="102: + \n " ]
|
90 [label="90: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___87); [line 38]\n *&SIL_temp_conditional___87:int =0 [line 38]\n APPLY_ABSTRACTION; [line 38]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
102 -> 107 ;
|
90 -> 87 ;
|
||||||
102 -> 108 ;
|
89 [label="89: Prune (false branch) \n n$2=*&target:class A * [line 38]\n PRUNE((n$2 == 0), false); [line 38]\n REMOVE_TEMPS(n$2); [line 38]\n " shape="invhouse"]
|
||||||
101 [label="101: + \n " ]
|
|
||||||
|
|
||||||
|
|
||||||
101 -> 99 ;
|
89 -> 91 ;
|
||||||
101 -> 100 ;
|
88 [label="88: Prune (true branch) \n n$2=*&target:class A * [line 38]\n PRUNE((n$2 != 0), true); [line 38]\n REMOVE_TEMPS(n$2); [line 38]\n " shape="invhouse"]
|
||||||
100 [label="100: Prune (false branch) \n PRUNE((0 == 0), false); [line 36]\n " shape="invhouse"]
|
|
||||||
|
|
||||||
|
|
||||||
100 -> 97 ;
|
88 -> 90 ;
|
||||||
99 [label="99: Prune (true branch) \n PRUNE((0 != 0), true); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="invhouse"]
|
87 [label="87: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
99 -> 98 ;
|
87 -> 92 ;
|
||||||
98 [label="98: + \n " ]
|
87 -> 93 ;
|
||||||
|
86 [label="86: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
98 -> 103 ;
|
86 -> 84 ;
|
||||||
98 -> 104 ;
|
86 -> 85 ;
|
||||||
97 [label="97: Return Stmt \n n$0=*&target:class A * [line 37]\n n$3=_fun_A_x(n$0:class A *) virtual [line 37]\n *&return:int =n$3 [line 37]\n REMOVE_TEMPS(n$0,n$3); [line 37]\n NULLIFY(&target,false); [line 37]\n APPLY_ABSTRACTION; [line 37]\n " shape="box"]
|
85 [label="85: Prune (false branch) \n PRUNE((0 == 0), false); [line 36]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
97 -> 93 ;
|
85 -> 82 ;
|
||||||
96 [label="96: Return Stmt \n n$1=*&self:class A * [line 13]\n n$2=*n$1._x:int [line 13]\n *&return:int =n$2 [line 13]\n REMOVE_TEMPS(n$1,n$2); [line 13]\n NULLIFY(&self,false); [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
84 [label="84: Prune (true branch) \n PRUNE((0 != 0), true); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
96 -> 95 ;
|
84 -> 83 ;
|
||||||
95 [label="95: Exit A_x \n " color=yellow style=filled]
|
83 [label="83: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
94 [label="94: Start A_x (generated)\nFormals: self:class A *\nLocals: \n DECLARE_LOCALS(&return); [line 13]\n " color=yellow style=filled]
|
83 -> 88 ;
|
||||||
|
83 -> 89 ;
|
||||||
|
82 [label="82: Return Stmt \n n$0=*&target:class A * [line 37]\n n$1=_fun_A_x(n$0:class A *) [line 37]\n *&return:int =n$1 [line 37]\n REMOVE_TEMPS(n$0,n$1); [line 37]\n NULLIFY(&target,false); [line 37]\n APPLY_ABSTRACTION; [line 37]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
94 -> 96 ;
|
82 -> 81 ;
|
||||||
93 [label="93: Exit test2 \n " color=yellow style=filled]
|
81 [label="81: Exit test2 \n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
92 [label="92: Start test2\nFormals: target:class A *\nLocals: __assert_file__:class NSString * __assert_fn__:class NSString * \n DECLARE_LOCALS(&return,&__assert_file__,&__assert_fn__); [line 35]\n NULLIFY(&__assert_file__,false); [line 35]\n NULLIFY(&__assert_fn__,false); [line 35]\n " color=yellow style=filled]
|
80 [label="80: Start test2\nFormals: target:class A *\nLocals: __assert_file__:class NSString * __assert_fn__:class NSString * \n DECLARE_LOCALS(&return,&__assert_file__,&__assert_fn__); [line 35]\n NULLIFY(&__assert_file__,false); [line 35]\n NULLIFY(&__assert_fn__,false); [line 35]\n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
92 -> 98 ;
|
80 -> 83 ;
|
||||||
91 [label="91: DeclStmt \n n$21=_fun_NSString_stringWithUTF8String:(\"\":char *) [line 31]\n _fun___objc_retain(n$21:class NSString *) [line 31]\n *&__assert_fn__:class NSString *=n$21 [line 31]\n REMOVE_TEMPS(n$21); [line 31]\n " shape="box"]
|
79 [label="79: DeclStmt \n n$19=_fun_NSString_stringWithUTF8String:(\"\":char *) [line 31]\n _fun___objc_retain(n$19:class NSString *) [line 31]\n *&__assert_fn__:class NSString *=n$19 [line 31]\n REMOVE_TEMPS(n$19); [line 31]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
91 -> 86 ;
|
79 -> 74 ;
|
||||||
91 -> 87 ;
|
79 -> 75 ;
|
||||||
90 [label="90: BinaryOperatorStmt: Assign \n n$19=*&SIL_temp_conditional___85:class NSString * [line 31]\n NULLIFY(&SIL_temp_conditional___85,true); [line 31]\n _fun___objc_retain(n$19:class NSString *) [line 31]\n n$20=*&__assert_fn__:class NSString * [line 31]\n *&__assert_fn__:class NSString *=n$19 [line 31]\n _fun___objc_release(n$20:class NSString *) [line 31]\n REMOVE_TEMPS(n$19,n$20); [line 31]\n NULLIFY(&__assert_fn__,false); [line 31]\n " shape="box"]
|
78 [label="78: BinaryOperatorStmt: Assign \n n$17=*&SIL_temp_conditional___73:class NSString * [line 31]\n NULLIFY(&SIL_temp_conditional___73,true); [line 31]\n _fun___objc_retain(n$17:class NSString *) [line 31]\n n$18=*&__assert_fn__:class NSString * [line 31]\n *&__assert_fn__:class NSString *=n$17 [line 31]\n _fun___objc_release(n$18:class NSString *) [line 31]\n REMOVE_TEMPS(n$17,n$18); [line 31]\n NULLIFY(&__assert_fn__,false); [line 31]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
90 -> 84 ;
|
78 -> 72 ;
|
||||||
89 [label="89: Message Call: stringWithUTF8String: \n n$18=_fun_NSString_stringWithUTF8String:(\"<Unknown Function>\":char *) [line 31]\n DECLARE_LOCALS(&SIL_temp_conditional___85); [line 31]\n *&SIL_temp_conditional___85:class NSString *=n$18 [line 31]\n REMOVE_TEMPS(n$18); [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="box"]
|
77 [label="77: Message Call: stringWithUTF8String: \n n$16=_fun_NSString_stringWithUTF8String:(\"<Unknown Function>\":char *) [line 31]\n DECLARE_LOCALS(&SIL_temp_conditional___73); [line 31]\n *&SIL_temp_conditional___73:class NSString *=n$16 [line 31]\n REMOVE_TEMPS(n$16); [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
89 -> 85 ;
|
77 -> 73 ;
|
||||||
88 [label="88: ConditinalStmt Branch \n n$17=*&__assert_fn__:class NSString * [line 31]\n DECLARE_LOCALS(&SIL_temp_conditional___85); [line 31]\n *&SIL_temp_conditional___85:class NSString *=n$17 [line 31]\n REMOVE_TEMPS(n$17); [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="box"]
|
76 [label="76: ConditinalStmt Branch \n n$15=*&__assert_fn__:class NSString * [line 31]\n DECLARE_LOCALS(&SIL_temp_conditional___73); [line 31]\n *&SIL_temp_conditional___73:class NSString *=n$15 [line 31]\n REMOVE_TEMPS(n$15); [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
88 -> 85 ;
|
76 -> 73 ;
|
||||||
87 [label="87: Prune (false branch) \n n$16=*&__assert_fn__:class NSString * [line 31]\n PRUNE((n$16 == 0), false); [line 31]\n REMOVE_TEMPS(n$16); [line 31]\n " shape="invhouse"]
|
75 [label="75: Prune (false branch) \n n$14=*&__assert_fn__:class NSString * [line 31]\n PRUNE((n$14 == 0), false); [line 31]\n REMOVE_TEMPS(n$14); [line 31]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
87 -> 89 ;
|
75 -> 77 ;
|
||||||
86 [label="86: Prune (true branch) \n n$16=*&__assert_fn__:class NSString * [line 31]\n PRUNE((n$16 != 0), true); [line 31]\n REMOVE_TEMPS(n$16); [line 31]\n " shape="invhouse"]
|
74 [label="74: Prune (true branch) \n n$14=*&__assert_fn__:class NSString * [line 31]\n PRUNE((n$14 != 0), true); [line 31]\n REMOVE_TEMPS(n$14); [line 31]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
86 -> 88 ;
|
74 -> 76 ;
|
||||||
85 [label="85: + \n " ]
|
73 [label="73: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
85 -> 90 ;
|
73 -> 78 ;
|
||||||
84 [label="84: DeclStmt \n n$15=_fun_NSString_stringWithUTF8String:(\"infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m\":char *) [line 31]\n _fun___objc_retain(n$15:class NSString *) [line 31]\n *&__assert_file__:class NSString *=n$15 [line 31]\n REMOVE_TEMPS(n$15); [line 31]\n " shape="box"]
|
72 [label="72: DeclStmt \n n$13=_fun_NSString_stringWithUTF8String:(\"infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m\":char *) [line 31]\n _fun___objc_retain(n$13:class NSString *) [line 31]\n *&__assert_file__:class NSString *=n$13 [line 31]\n REMOVE_TEMPS(n$13); [line 31]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
84 -> 79 ;
|
72 -> 67 ;
|
||||||
84 -> 80 ;
|
72 -> 68 ;
|
||||||
83 [label="83: BinaryOperatorStmt: Assign \n n$13=*&SIL_temp_conditional___78:class NSString * [line 31]\n NULLIFY(&SIL_temp_conditional___78,true); [line 31]\n _fun___objc_retain(n$13:class NSString *) [line 31]\n n$14=*&__assert_file__:class NSString * [line 31]\n *&__assert_file__:class NSString *=n$13 [line 31]\n _fun___objc_release(n$14:class NSString *) [line 31]\n REMOVE_TEMPS(n$13,n$14); [line 31]\n NULLIFY(&__assert_file__,false); [line 31]\n " shape="box"]
|
71 [label="71: BinaryOperatorStmt: Assign \n n$11=*&SIL_temp_conditional___66:class NSString * [line 31]\n NULLIFY(&SIL_temp_conditional___66,true); [line 31]\n _fun___objc_retain(n$11:class NSString *) [line 31]\n n$12=*&__assert_file__:class NSString * [line 31]\n *&__assert_file__:class NSString *=n$11 [line 31]\n _fun___objc_release(n$12:class NSString *) [line 31]\n REMOVE_TEMPS(n$11,n$12); [line 31]\n NULLIFY(&__assert_file__,false); [line 31]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
83 -> 77 ;
|
71 -> 65 ;
|
||||||
82 [label="82: Message Call: stringWithUTF8String: \n n$12=_fun_NSString_stringWithUTF8String:(\"<Unknown File>\":char *) [line 31]\n DECLARE_LOCALS(&SIL_temp_conditional___78); [line 31]\n *&SIL_temp_conditional___78:class NSString *=n$12 [line 31]\n REMOVE_TEMPS(n$12); [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="box"]
|
70 [label="70: Message Call: stringWithUTF8String: \n n$10=_fun_NSString_stringWithUTF8String:(\"<Unknown File>\":char *) [line 31]\n DECLARE_LOCALS(&SIL_temp_conditional___66); [line 31]\n *&SIL_temp_conditional___66:class NSString *=n$10 [line 31]\n REMOVE_TEMPS(n$10); [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
82 -> 78 ;
|
70 -> 66 ;
|
||||||
81 [label="81: ConditinalStmt Branch \n n$11=*&__assert_file__:class NSString * [line 31]\n DECLARE_LOCALS(&SIL_temp_conditional___78); [line 31]\n *&SIL_temp_conditional___78:class NSString *=n$11 [line 31]\n REMOVE_TEMPS(n$11); [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="box"]
|
69 [label="69: ConditinalStmt Branch \n n$9=*&__assert_file__:class NSString * [line 31]\n DECLARE_LOCALS(&SIL_temp_conditional___66); [line 31]\n *&SIL_temp_conditional___66:class NSString *=n$9 [line 31]\n REMOVE_TEMPS(n$9); [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
81 -> 78 ;
|
69 -> 66 ;
|
||||||
80 [label="80: Prune (false branch) \n n$10=*&__assert_file__:class NSString * [line 31]\n PRUNE((n$10 == 0), false); [line 31]\n REMOVE_TEMPS(n$10); [line 31]\n " shape="invhouse"]
|
68 [label="68: Prune (false branch) \n n$8=*&__assert_file__:class NSString * [line 31]\n PRUNE((n$8 == 0), false); [line 31]\n REMOVE_TEMPS(n$8); [line 31]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
80 -> 82 ;
|
68 -> 70 ;
|
||||||
79 [label="79: Prune (true branch) \n n$10=*&__assert_file__:class NSString * [line 31]\n PRUNE((n$10 != 0), true); [line 31]\n REMOVE_TEMPS(n$10); [line 31]\n " shape="invhouse"]
|
67 [label="67: Prune (true branch) \n n$8=*&__assert_file__:class NSString * [line 31]\n PRUNE((n$8 != 0), true); [line 31]\n REMOVE_TEMPS(n$8); [line 31]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
79 -> 81 ;
|
67 -> 69 ;
|
||||||
78 [label="78: + \n " ]
|
66 [label="66: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
78 -> 83 ;
|
66 -> 71 ;
|
||||||
77 [label="77: Assertion failure \n _fun___infer_fail(\"ASSERTION_FAILURE\":void ) [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="box"]
|
65 [label="65: Assertion failure \n _fun___infer_fail(\"ASSERTION_FAILURE\":void ) [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
77 -> 60 ;
|
65 -> 51 ;
|
||||||
76 [label="76: Prune (false branch) \n n$5=*&SIL_temp_conditional___69:int [line 33]\n NULLIFY(&SIL_temp_conditional___69,true); [line 33]\n PRUNE((n$5 == 0), false); [line 33]\n REMOVE_TEMPS(n$5); [line 33]\n " shape="invhouse"]
|
64 [label="64: Prune (false branch) \n n$3=*&SIL_temp_conditional___57:int [line 33]\n NULLIFY(&SIL_temp_conditional___57,true); [line 33]\n PRUNE((n$3 == 0), false); [line 33]\n REMOVE_TEMPS(n$3); [line 33]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
76 -> 68 ;
|
64 -> 56 ;
|
||||||
75 [label="75: Prune (true branch) \n n$5=*&SIL_temp_conditional___69:int [line 33]\n NULLIFY(&SIL_temp_conditional___69,true); [line 33]\n PRUNE((n$5 != 0), true); [line 33]\n REMOVE_TEMPS(n$5); [line 33]\n NULLIFY(&target,false); [line 33]\n " shape="invhouse"]
|
63 [label="63: Prune (true branch) \n n$3=*&SIL_temp_conditional___57:int [line 33]\n NULLIFY(&SIL_temp_conditional___57,true); [line 33]\n PRUNE((n$3 != 0), true); [line 33]\n REMOVE_TEMPS(n$3); [line 33]\n NULLIFY(&target,false); [line 33]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
75 -> 91 ;
|
63 -> 79 ;
|
||||||
74 [label="74: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___69); [line 33]\n *&SIL_temp_conditional___69:int =1 [line 33]\n APPLY_ABSTRACTION; [line 33]\n " shape="box"]
|
62 [label="62: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___57); [line 33]\n *&SIL_temp_conditional___57:int =1 [line 33]\n APPLY_ABSTRACTION; [line 33]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
74 -> 69 ;
|
62 -> 57 ;
|
||||||
73 [label="73: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___69); [line 33]\n *&SIL_temp_conditional___69:int =0 [line 33]\n APPLY_ABSTRACTION; [line 33]\n " shape="box"]
|
61 [label="61: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___57); [line 33]\n *&SIL_temp_conditional___57:int =0 [line 33]\n APPLY_ABSTRACTION; [line 33]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
73 -> 69 ;
|
61 -> 57 ;
|
||||||
72 [label="72: Prune (false branch) \n PRUNE(((n$4 != (void *)0) == 0), false); [line 31]\n REMOVE_TEMPS(n$4); [line 31]\n " shape="invhouse"]
|
60 [label="60: Prune (false branch) \n PRUNE(((n$2 != (void *)0) == 0), false); [line 31]\n REMOVE_TEMPS(n$2); [line 31]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
72 -> 74 ;
|
60 -> 62 ;
|
||||||
71 [label="71: Prune (true branch) \n PRUNE(((n$4 != (void *)0) != 0), true); [line 31]\n REMOVE_TEMPS(n$4); [line 31]\n " shape="invhouse"]
|
59 [label="59: Prune (true branch) \n PRUNE(((n$2 != (void *)0) != 0), true); [line 31]\n REMOVE_TEMPS(n$2); [line 31]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
71 -> 73 ;
|
59 -> 61 ;
|
||||||
70 [label="70: BinaryOperatorStmt: NE \n n$4=*&target:class A * [line 31]\n " shape="box"]
|
58 [label="58: BinaryOperatorStmt: NE \n n$2=*&target:class A * [line 31]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
70 -> 71 ;
|
58 -> 59 ;
|
||||||
70 -> 72 ;
|
58 -> 60 ;
|
||||||
69 [label="69: + \n " ]
|
57 [label="57: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
69 -> 75 ;
|
57 -> 63 ;
|
||||||
69 -> 76 ;
|
57 -> 64 ;
|
||||||
68 [label="68: + \n " ]
|
56 [label="56: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
68 -> 66 ;
|
56 -> 54 ;
|
||||||
68 -> 67 ;
|
56 -> 55 ;
|
||||||
67 [label="67: Prune (false branch) \n PRUNE((0 == 0), false); [line 31]\n " shape="invhouse"]
|
55 [label="55: Prune (false branch) \n PRUNE((0 == 0), false); [line 31]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
67 -> 64 ;
|
55 -> 52 ;
|
||||||
66 [label="66: Prune (true branch) \n PRUNE((0 != 0), true); [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="invhouse"]
|
54 [label="54: Prune (true branch) \n PRUNE((0 != 0), true); [line 31]\n APPLY_ABSTRACTION; [line 31]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
66 -> 65 ;
|
54 -> 53 ;
|
||||||
65 [label="65: + \n " ]
|
53 [label="53: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
65 -> 70 ;
|
53 -> 58 ;
|
||||||
64 [label="64: Return Stmt \n n$0=*&target:class A * [line 32]\n n$3=_fun_A_x(n$0:class A *) virtual [line 32]\n *&return:int =n$3 [line 32]\n REMOVE_TEMPS(n$0,n$3); [line 32]\n NULLIFY(&target,false); [line 32]\n APPLY_ABSTRACTION; [line 32]\n " shape="box"]
|
52 [label="52: Return Stmt \n n$0=*&target:class A * [line 32]\n n$1=_fun_A_x(n$0:class A *) [line 32]\n *&return:int =n$1 [line 32]\n REMOVE_TEMPS(n$0,n$1); [line 32]\n NULLIFY(&target,false); [line 32]\n APPLY_ABSTRACTION; [line 32]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
64 -> 60 ;
|
52 -> 51 ;
|
||||||
60 [label="60: Exit test1 \n " color=yellow style=filled]
|
51 [label="51: Exit test1 \n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
59 [label="59: Start test1\nFormals: target:class A *\nLocals: __assert_file__:class NSString * __assert_fn__:class NSString * \n DECLARE_LOCALS(&return,&__assert_file__,&__assert_fn__); [line 30]\n NULLIFY(&__assert_file__,false); [line 30]\n NULLIFY(&__assert_fn__,false); [line 30]\n " color=yellow style=filled]
|
50 [label="50: Start test1\nFormals: target:class A *\nLocals: __assert_file__:class NSString * __assert_fn__:class NSString * \n DECLARE_LOCALS(&return,&__assert_file__,&__assert_fn__); [line 30]\n NULLIFY(&__assert_file__,false); [line 30]\n NULLIFY(&__assert_fn__,false); [line 30]\n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
59 -> 65 ;
|
50 -> 53 ;
|
||||||
58 [label="58: BinaryOperatorStmt: Assign \n n$36=*&self:class A * [line 13]\n n$37=*&x:int [line 13]\n *n$36._x:int =n$37 [line 13]\n REMOVE_TEMPS(n$36,n$37); [line 13]\n NULLIFY(&self,false); [line 13]\n NULLIFY(&x,false); [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
49 [label="49: BinaryOperatorStmt: Assign \n n$30=*&self:class A * [line 13]\n n$31=*&x:int [line 13]\n *n$30._x:int =n$31 [line 13]\n REMOVE_TEMPS(n$30,n$31); [line 13]\n NULLIFY(&self,false); [line 13]\n NULLIFY(&x,false); [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
58 -> 57 ;
|
49 -> 48 ;
|
||||||
57 [label="57: Exit A_setX: \n " color=yellow style=filled]
|
48 [label="48: Exit A_setX: \n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
56 [label="56: Start A_setX: (generated)\nFormals: self:class A * x:int \nLocals: \n DECLARE_LOCALS(&return); [line 13]\n " color=yellow style=filled]
|
47 [label="47: Start A_setX: (generated)\nFormals: self:class A * x:int \nLocals: \n DECLARE_LOCALS(&return); [line 13]\n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
56 -> 58 ;
|
47 -> 49 ;
|
||||||
52 [label="52: DeclStmt \n n$33=_fun_NSString_stringWithUTF8String:(\"infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m\":char *) [line 24]\n _fun___objc_retain(n$33:class NSString *) [line 24]\n *&__assert_file__:class NSString *=n$33 [line 24]\n REMOVE_TEMPS(n$33); [line 24]\n " shape="box"]
|
46 [label="46: DeclStmt \n n$29=_fun_NSString_stringWithUTF8String:(\"infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m\":char *) [line 24]\n _fun___objc_retain(n$29:class NSString *) [line 24]\n *&__assert_file__:class NSString *=n$29 [line 24]\n REMOVE_TEMPS(n$29); [line 24]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
52 -> 47 ;
|
46 -> 41 ;
|
||||||
52 -> 48 ;
|
46 -> 42 ;
|
||||||
51 [label="51: BinaryOperatorStmt: Assign \n n$31=*&SIL_temp_conditional___46:class NSString * [line 24]\n NULLIFY(&SIL_temp_conditional___46,true); [line 24]\n _fun___objc_retain(n$31:class NSString *) [line 24]\n n$32=*&__assert_file__:class NSString * [line 24]\n *&__assert_file__:class NSString *=n$31 [line 24]\n _fun___objc_release(n$32:class NSString *) [line 24]\n REMOVE_TEMPS(n$31,n$32); [line 24]\n NULLIFY(&__assert_file__,false); [line 24]\n " shape="box"]
|
45 [label="45: BinaryOperatorStmt: Assign \n n$27=*&SIL_temp_conditional___40:class NSString * [line 24]\n NULLIFY(&SIL_temp_conditional___40,true); [line 24]\n _fun___objc_retain(n$27:class NSString *) [line 24]\n n$28=*&__assert_file__:class NSString * [line 24]\n *&__assert_file__:class NSString *=n$27 [line 24]\n _fun___objc_release(n$28:class NSString *) [line 24]\n REMOVE_TEMPS(n$27,n$28); [line 24]\n NULLIFY(&__assert_file__,false); [line 24]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
51 -> 45 ;
|
45 -> 39 ;
|
||||||
50 [label="50: Message Call: stringWithUTF8String: \n n$30=_fun_NSString_stringWithUTF8String:(\"<Unknown File>\":char *) [line 24]\n DECLARE_LOCALS(&SIL_temp_conditional___46); [line 24]\n *&SIL_temp_conditional___46:class NSString *=n$30 [line 24]\n REMOVE_TEMPS(n$30); [line 24]\n APPLY_ABSTRACTION; [line 24]\n " shape="box"]
|
44 [label="44: Message Call: stringWithUTF8String: \n n$26=_fun_NSString_stringWithUTF8String:(\"<Unknown File>\":char *) [line 24]\n DECLARE_LOCALS(&SIL_temp_conditional___40); [line 24]\n *&SIL_temp_conditional___40:class NSString *=n$26 [line 24]\n REMOVE_TEMPS(n$26); [line 24]\n APPLY_ABSTRACTION; [line 24]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
50 -> 46 ;
|
44 -> 40 ;
|
||||||
49 [label="49: ConditinalStmt Branch \n n$29=*&__assert_file__:class NSString * [line 24]\n DECLARE_LOCALS(&SIL_temp_conditional___46); [line 24]\n *&SIL_temp_conditional___46:class NSString *=n$29 [line 24]\n REMOVE_TEMPS(n$29); [line 24]\n APPLY_ABSTRACTION; [line 24]\n " shape="box"]
|
43 [label="43: ConditinalStmt Branch \n n$25=*&__assert_file__:class NSString * [line 24]\n DECLARE_LOCALS(&SIL_temp_conditional___40); [line 24]\n *&SIL_temp_conditional___40:class NSString *=n$25 [line 24]\n REMOVE_TEMPS(n$25); [line 24]\n APPLY_ABSTRACTION; [line 24]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
49 -> 46 ;
|
43 -> 40 ;
|
||||||
48 [label="48: Prune (false branch) \n n$28=*&__assert_file__:class NSString * [line 24]\n PRUNE((n$28 == 0), false); [line 24]\n REMOVE_TEMPS(n$28); [line 24]\n " shape="invhouse"]
|
42 [label="42: Prune (false branch) \n n$24=*&__assert_file__:class NSString * [line 24]\n PRUNE((n$24 == 0), false); [line 24]\n REMOVE_TEMPS(n$24); [line 24]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
48 -> 50 ;
|
42 -> 44 ;
|
||||||
47 [label="47: Prune (true branch) \n n$28=*&__assert_file__:class NSString * [line 24]\n PRUNE((n$28 != 0), true); [line 24]\n REMOVE_TEMPS(n$28); [line 24]\n " shape="invhouse"]
|
41 [label="41: Prune (true branch) \n n$24=*&__assert_file__:class NSString * [line 24]\n PRUNE((n$24 != 0), true); [line 24]\n REMOVE_TEMPS(n$24); [line 24]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
47 -> 49 ;
|
41 -> 43 ;
|
||||||
46 [label="46: + \n " ]
|
40 [label="40: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
46 -> 51 ;
|
40 -> 45 ;
|
||||||
45 [label="45: Assertion failure \n _fun___infer_fail(\"ASSERTION_FAILURE\":void ) [line 24]\n APPLY_ABSTRACTION; [line 24]\n " shape="box"]
|
39 [label="39: Assertion failure \n _fun___infer_fail(\"ASSERTION_FAILURE\":void ) [line 24]\n APPLY_ABSTRACTION; [line 24]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
45 -> 28 ;
|
39 -> 25 ;
|
||||||
44 [label="44: Prune (false branch) \n n$22=*&SIL_temp_conditional___37:int [line 26]\n NULLIFY(&SIL_temp_conditional___37,true); [line 26]\n PRUNE((n$22 == 0), false); [line 26]\n REMOVE_TEMPS(n$22); [line 26]\n " shape="invhouse"]
|
38 [label="38: Prune (false branch) \n n$18=*&SIL_temp_conditional___31:int [line 26]\n NULLIFY(&SIL_temp_conditional___31,true); [line 26]\n PRUNE((n$18 == 0), false); [line 26]\n REMOVE_TEMPS(n$18); [line 26]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
44 -> 36 ;
|
38 -> 30 ;
|
||||||
43 [label="43: Prune (true branch) \n n$22=*&SIL_temp_conditional___37:int [line 26]\n NULLIFY(&SIL_temp_conditional___37,true); [line 26]\n PRUNE((n$22 != 0), true); [line 26]\n REMOVE_TEMPS(n$22); [line 26]\n NULLIFY(&a,false); [line 26]\n " shape="invhouse"]
|
37 [label="37: Prune (true branch) \n n$18=*&SIL_temp_conditional___31:int [line 26]\n NULLIFY(&SIL_temp_conditional___31,true); [line 26]\n PRUNE((n$18 != 0), true); [line 26]\n REMOVE_TEMPS(n$18); [line 26]\n NULLIFY(&a,false); [line 26]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
43 -> 52 ;
|
37 -> 46 ;
|
||||||
42 [label="42: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___37); [line 26]\n *&SIL_temp_conditional___37:int =1 [line 26]\n APPLY_ABSTRACTION; [line 26]\n " shape="box"]
|
36 [label="36: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___31); [line 26]\n *&SIL_temp_conditional___31:int =1 [line 26]\n APPLY_ABSTRACTION; [line 26]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
42 -> 37 ;
|
36 -> 31 ;
|
||||||
41 [label="41: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___37); [line 26]\n *&SIL_temp_conditional___37:int =0 [line 26]\n APPLY_ABSTRACTION; [line 26]\n " shape="box"]
|
35 [label="35: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___31); [line 26]\n *&SIL_temp_conditional___31:int =0 [line 26]\n APPLY_ABSTRACTION; [line 26]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
41 -> 37 ;
|
35 -> 31 ;
|
||||||
40 [label="40: Prune (false branch) \n PRUNE(((n$21 != (void *)0) == 0), false); [line 24]\n REMOVE_TEMPS(n$21); [line 24]\n " shape="invhouse"]
|
34 [label="34: Prune (false branch) \n PRUNE(((n$17 != (void *)0) == 0), false); [line 24]\n REMOVE_TEMPS(n$17); [line 24]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
40 -> 42 ;
|
34 -> 36 ;
|
||||||
39 [label="39: Prune (true branch) \n PRUNE(((n$21 != (void *)0) != 0), true); [line 24]\n REMOVE_TEMPS(n$21); [line 24]\n " shape="invhouse"]
|
33 [label="33: Prune (true branch) \n PRUNE(((n$17 != (void *)0) != 0), true); [line 24]\n REMOVE_TEMPS(n$17); [line 24]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
39 -> 41 ;
|
33 -> 35 ;
|
||||||
38 [label="38: BinaryOperatorStmt: NE \n n$21=*&a:class A * [line 24]\n " shape="box"]
|
32 [label="32: BinaryOperatorStmt: NE \n n$17=*&a:class A * [line 24]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
38 -> 39 ;
|
32 -> 33 ;
|
||||||
38 -> 40 ;
|
32 -> 34 ;
|
||||||
37 [label="37: + \n " ]
|
31 [label="31: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
37 -> 43 ;
|
31 -> 37 ;
|
||||||
37 -> 44 ;
|
31 -> 38 ;
|
||||||
36 [label="36: + \n " ]
|
30 [label="30: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
36 -> 34 ;
|
30 -> 28 ;
|
||||||
36 -> 35 ;
|
30 -> 29 ;
|
||||||
35 [label="35: Prune (false branch) \n PRUNE((0 == 0), false); [line 24]\n " shape="invhouse"]
|
29 [label="29: Prune (false branch) \n PRUNE((0 == 0), false); [line 24]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
35 -> 32 ;
|
29 -> 26 ;
|
||||||
34 [label="34: Prune (true branch) \n PRUNE((0 != 0), true); [line 24]\n APPLY_ABSTRACTION; [line 24]\n " shape="invhouse"]
|
28 [label="28: Prune (true branch) \n PRUNE((0 != 0), true); [line 24]\n APPLY_ABSTRACTION; [line 24]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
34 -> 33 ;
|
28 -> 27 ;
|
||||||
33 [label="33: + \n " ]
|
27 [label="27: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
33 -> 38 ;
|
27 -> 32 ;
|
||||||
32 [label="32: Return Stmt \n n$17=*&a:class A * [line 25]\n n$20=_fun_A_x(n$17:class A *) virtual [line 25]\n *&return:int =n$20 [line 25]\n REMOVE_TEMPS(n$17,n$20); [line 25]\n NULLIFY(&a,false); [line 25]\n APPLY_ABSTRACTION; [line 25]\n " shape="box"]
|
26 [label="26: Return Stmt \n n$15=*&a:class A * [line 25]\n n$16=_fun_A_x(n$15:class A *) [line 25]\n *&return:int =n$16 [line 25]\n REMOVE_TEMPS(n$15,n$16); [line 25]\n NULLIFY(&a,false); [line 25]\n APPLY_ABSTRACTION; [line 25]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
32 -> 28 ;
|
26 -> 25 ;
|
||||||
28 [label="28: Exit A_initWithRequest: \n " color=yellow style=filled]
|
25 [label="25: Exit A_initWithRequest: \n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
27 [label="27: Start A_initWithRequest:\nFormals: self:class A * a:class A *\nLocals: __assert_file__:class NSString * \n DECLARE_LOCALS(&return,&__assert_file__); [line 23]\n NULLIFY(&__assert_file__,false); [line 23]\n NULLIFY(&self,false); [line 23]\n " color=yellow style=filled]
|
24 [label="24: Start A_initWithRequest:\nFormals: self:class A * a:class A *\nLocals: __assert_file__:class NSString * \n DECLARE_LOCALS(&return,&__assert_file__); [line 23]\n NULLIFY(&__assert_file__,false); [line 23]\n NULLIFY(&self,false); [line 23]\n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
27 -> 33 ;
|
24 -> 27 ;
|
||||||
26 [label="26: DeclStmt \n n$16=_fun_NSString_stringWithUTF8String:(\"infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m\":char *) [line 19]\n _fun___objc_retain(n$16:class NSString *) [line 19]\n *&__assert_file__:class NSString *=n$16 [line 19]\n REMOVE_TEMPS(n$16); [line 19]\n " shape="box"]
|
23 [label="23: DeclStmt \n n$14=_fun_NSString_stringWithUTF8String:(\"infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m\":char *) [line 19]\n _fun___objc_retain(n$14:class NSString *) [line 19]\n *&__assert_file__:class NSString *=n$14 [line 19]\n REMOVE_TEMPS(n$14); [line 19]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
26 -> 21 ;
|
23 -> 18 ;
|
||||||
26 -> 22 ;
|
23 -> 19 ;
|
||||||
25 [label="25: BinaryOperatorStmt: Assign \n n$14=*&SIL_temp_conditional___20:class NSString * [line 19]\n NULLIFY(&SIL_temp_conditional___20,true); [line 19]\n _fun___objc_retain(n$14:class NSString *) [line 19]\n n$15=*&__assert_file__:class NSString * [line 19]\n *&__assert_file__:class NSString *=n$14 [line 19]\n _fun___objc_release(n$15:class NSString *) [line 19]\n REMOVE_TEMPS(n$14,n$15); [line 19]\n NULLIFY(&__assert_file__,false); [line 19]\n " shape="box"]
|
22 [label="22: BinaryOperatorStmt: Assign \n n$12=*&SIL_temp_conditional___17:class NSString * [line 19]\n NULLIFY(&SIL_temp_conditional___17,true); [line 19]\n _fun___objc_retain(n$12:class NSString *) [line 19]\n n$13=*&__assert_file__:class NSString * [line 19]\n *&__assert_file__:class NSString *=n$12 [line 19]\n _fun___objc_release(n$13:class NSString *) [line 19]\n REMOVE_TEMPS(n$12,n$13); [line 19]\n NULLIFY(&__assert_file__,false); [line 19]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
25 -> 19 ;
|
22 -> 16 ;
|
||||||
24 [label="24: Message Call: stringWithUTF8String: \n n$13=_fun_NSString_stringWithUTF8String:(\"<Unknown File>\":char *) [line 19]\n DECLARE_LOCALS(&SIL_temp_conditional___20); [line 19]\n *&SIL_temp_conditional___20:class NSString *=n$13 [line 19]\n REMOVE_TEMPS(n$13); [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="box"]
|
21 [label="21: Message Call: stringWithUTF8String: \n n$11=_fun_NSString_stringWithUTF8String:(\"<Unknown File>\":char *) [line 19]\n DECLARE_LOCALS(&SIL_temp_conditional___17); [line 19]\n *&SIL_temp_conditional___17:class NSString *=n$11 [line 19]\n REMOVE_TEMPS(n$11); [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
24 -> 20 ;
|
21 -> 17 ;
|
||||||
23 [label="23: ConditinalStmt Branch \n n$12=*&__assert_file__:class NSString * [line 19]\n DECLARE_LOCALS(&SIL_temp_conditional___20); [line 19]\n *&SIL_temp_conditional___20:class NSString *=n$12 [line 19]\n REMOVE_TEMPS(n$12); [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="box"]
|
20 [label="20: ConditinalStmt Branch \n n$10=*&__assert_file__:class NSString * [line 19]\n DECLARE_LOCALS(&SIL_temp_conditional___17); [line 19]\n *&SIL_temp_conditional___17:class NSString *=n$10 [line 19]\n REMOVE_TEMPS(n$10); [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
23 -> 20 ;
|
20 -> 17 ;
|
||||||
22 [label="22: Prune (false branch) \n n$11=*&__assert_file__:class NSString * [line 19]\n PRUNE((n$11 == 0), false); [line 19]\n REMOVE_TEMPS(n$11); [line 19]\n " shape="invhouse"]
|
19 [label="19: Prune (false branch) \n n$9=*&__assert_file__:class NSString * [line 19]\n PRUNE((n$9 == 0), false); [line 19]\n REMOVE_TEMPS(n$9); [line 19]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
22 -> 24 ;
|
19 -> 21 ;
|
||||||
21 [label="21: Prune (true branch) \n n$11=*&__assert_file__:class NSString * [line 19]\n PRUNE((n$11 != 0), true); [line 19]\n REMOVE_TEMPS(n$11); [line 19]\n " shape="invhouse"]
|
18 [label="18: Prune (true branch) \n n$9=*&__assert_file__:class NSString * [line 19]\n PRUNE((n$9 != 0), true); [line 19]\n REMOVE_TEMPS(n$9); [line 19]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
21 -> 23 ;
|
18 -> 20 ;
|
||||||
20 [label="20: + \n " ]
|
17 [label="17: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
20 -> 25 ;
|
17 -> 22 ;
|
||||||
19 [label="19: Assertion failure \n _fun___infer_fail(\"ASSERTION_FAILURE\":void ) [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="box"]
|
16 [label="16: Assertion failure \n _fun___infer_fail(\"ASSERTION_FAILURE\":void ) [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
19 -> 2 ;
|
16 -> 2 ;
|
||||||
18 [label="18: Prune (false branch) \n n$5=*&SIL_temp_conditional___11:int [line 21]\n NULLIFY(&SIL_temp_conditional___11,true); [line 21]\n PRUNE((n$5 == 0), false); [line 21]\n REMOVE_TEMPS(n$5); [line 21]\n " shape="invhouse"]
|
15 [label="15: Prune (false branch) \n n$3=*&SIL_temp_conditional___8:int [line 21]\n NULLIFY(&SIL_temp_conditional___8,true); [line 21]\n PRUNE((n$3 == 0), false); [line 21]\n REMOVE_TEMPS(n$3); [line 21]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
18 -> 10 ;
|
15 -> 7 ;
|
||||||
17 [label="17: Prune (true branch) \n n$5=*&SIL_temp_conditional___11:int [line 21]\n NULLIFY(&SIL_temp_conditional___11,true); [line 21]\n PRUNE((n$5 != 0), true); [line 21]\n REMOVE_TEMPS(n$5); [line 21]\n NULLIFY(&target,false); [line 21]\n " shape="invhouse"]
|
14 [label="14: Prune (true branch) \n n$3=*&SIL_temp_conditional___8:int [line 21]\n NULLIFY(&SIL_temp_conditional___8,true); [line 21]\n PRUNE((n$3 != 0), true); [line 21]\n REMOVE_TEMPS(n$3); [line 21]\n NULLIFY(&target,false); [line 21]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
17 -> 26 ;
|
14 -> 23 ;
|
||||||
16 [label="16: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___11); [line 21]\n *&SIL_temp_conditional___11:int =1 [line 21]\n APPLY_ABSTRACTION; [line 21]\n " shape="box"]
|
13 [label="13: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___8); [line 21]\n *&SIL_temp_conditional___8:int =1 [line 21]\n APPLY_ABSTRACTION; [line 21]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
16 -> 11 ;
|
13 -> 8 ;
|
||||||
15 [label="15: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___11); [line 21]\n *&SIL_temp_conditional___11:int =0 [line 21]\n APPLY_ABSTRACTION; [line 21]\n " shape="box"]
|
12 [label="12: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___8); [line 21]\n *&SIL_temp_conditional___8:int =0 [line 21]\n APPLY_ABSTRACTION; [line 21]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
15 -> 11 ;
|
12 -> 8 ;
|
||||||
14 [label="14: Prune (false branch) \n PRUNE(((n$4 != (void *)0) == 0), false); [line 19]\n REMOVE_TEMPS(n$4); [line 19]\n " shape="invhouse"]
|
11 [label="11: Prune (false branch) \n PRUNE(((n$2 != (void *)0) == 0), false); [line 19]\n REMOVE_TEMPS(n$2); [line 19]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
14 -> 16 ;
|
11 -> 13 ;
|
||||||
13 [label="13: Prune (true branch) \n PRUNE(((n$4 != (void *)0) != 0), true); [line 19]\n REMOVE_TEMPS(n$4); [line 19]\n " shape="invhouse"]
|
10 [label="10: Prune (true branch) \n PRUNE(((n$2 != (void *)0) != 0), true); [line 19]\n REMOVE_TEMPS(n$2); [line 19]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
13 -> 15 ;
|
10 -> 12 ;
|
||||||
12 [label="12: BinaryOperatorStmt: NE \n n$4=*&target:class A * [line 19]\n " shape="box"]
|
9 [label="9: BinaryOperatorStmt: NE \n n$2=*&target:class A * [line 19]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
12 -> 13 ;
|
9 -> 10 ;
|
||||||
12 -> 14 ;
|
9 -> 11 ;
|
||||||
11 [label="11: + \n " ]
|
8 [label="8: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
11 -> 17 ;
|
8 -> 14 ;
|
||||||
11 -> 18 ;
|
8 -> 15 ;
|
||||||
10 [label="10: + \n " ]
|
7 [label="7: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
10 -> 8 ;
|
7 -> 5 ;
|
||||||
10 -> 9 ;
|
7 -> 6 ;
|
||||||
9 [label="9: Prune (false branch) \n PRUNE((0 == 0), false); [line 19]\n " shape="invhouse"]
|
6 [label="6: Prune (false branch) \n PRUNE((0 == 0), false); [line 19]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
9 -> 6 ;
|
6 -> 3 ;
|
||||||
8 [label="8: Prune (true branch) \n PRUNE((0 != 0), true); [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="invhouse"]
|
5 [label="5: Prune (true branch) \n PRUNE((0 != 0), true); [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="invhouse"]
|
||||||
|
|
||||||
|
|
||||||
8 -> 7 ;
|
5 -> 4 ;
|
||||||
7 [label="7: + \n " ]
|
4 [label="4: + \n " ]
|
||||||
|
|
||||||
|
|
||||||
7 -> 12 ;
|
4 -> 9 ;
|
||||||
6 [label="6: Return Stmt \n n$0=*&target:class A * [line 20]\n n$3=_fun_A_x(n$0:class A *) virtual [line 20]\n *&return:int =n$3 [line 20]\n REMOVE_TEMPS(n$0,n$3); [line 20]\n NULLIFY(&target,false); [line 20]\n APPLY_ABSTRACTION; [line 20]\n " shape="box"]
|
3 [label="3: Return Stmt \n n$0=*&target:class A * [line 20]\n n$1=_fun_A_x(n$0:class A *) [line 20]\n *&return:int =n$1 [line 20]\n REMOVE_TEMPS(n$0,n$1); [line 20]\n NULLIFY(&target,false); [line 20]\n APPLY_ABSTRACTION; [line 20]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
6 -> 2 ;
|
3 -> 2 ;
|
||||||
2 [label="2: Exit A_addTarget: \n " color=yellow style=filled]
|
2 [label="2: Exit A_addTarget: \n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
1 [label="1: Start A_addTarget:\nFormals: self:class A * target:class A *\nLocals: __assert_file__:class NSString * \n DECLARE_LOCALS(&return,&__assert_file__); [line 18]\n NULLIFY(&__assert_file__,false); [line 18]\n NULLIFY(&self,false); [line 18]\n " color=yellow style=filled]
|
1 [label="1: Start A_addTarget:\nFormals: self:class A * target:class A *\nLocals: __assert_file__:class NSString * \n DECLARE_LOCALS(&return,&__assert_file__); [line 18]\n NULLIFY(&__assert_file__,false); [line 18]\n NULLIFY(&self,false); [line 18]\n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
1 -> 7 ;
|
1 -> 4 ;
|
||||||
}
|
}
|
||||||
|
@ -1,35 +1,24 @@
|
|||||||
digraph iCFG {
|
digraph iCFG {
|
||||||
12 [label="12: BinaryOperatorStmt: Assign \n n$6=*&self:class A * [line 13]\n n$7=*&x:int [line 13]\n *n$6._x:int =n$7 [line 13]\n REMOVE_TEMPS(n$6,n$7); [line 13]\n NULLIFY(&self,false); [line 13]\n NULLIFY(&x,false); [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
6 [label="6: BinaryOperatorStmt: Assign \n n$2=*&self:class A * [line 13]\n n$3=*&x:int [line 13]\n *n$2._x:int =n$3 [line 13]\n REMOVE_TEMPS(n$2,n$3); [line 13]\n NULLIFY(&self,false); [line 13]\n NULLIFY(&x,false); [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
12 -> 11 ;
|
6 -> 5 ;
|
||||||
11 [label="11: Exit A_setX: \n " color=yellow style=filled]
|
5 [label="5: Exit A_setX: \n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
10 [label="10: Start A_setX: (generated)\nFormals: self:class A * x:int \nLocals: \n DECLARE_LOCALS(&return); [line 13]\n " color=yellow style=filled]
|
4 [label="4: Start A_setX: (generated)\nFormals: self:class A * x:int \nLocals: \n DECLARE_LOCALS(&return); [line 13]\n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
10 -> 12 ;
|
4 -> 6 ;
|
||||||
9 [label="9: Return Stmt \n n$4=*&self:class A * [line 13]\n n$5=*n$4._x:int [line 13]\n *&return:int =n$5 [line 13]\n REMOVE_TEMPS(n$4,n$5); [line 13]\n NULLIFY(&self,false); [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
3 [label="3: Return Stmt \n n$0=*&target:class A * [line 19]\n n$1=_fun_A_x(n$0:class A *) [line 19]\n *&return:int =n$1 [line 19]\n REMOVE_TEMPS(n$0,n$1); [line 19]\n NULLIFY(&target,false); [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
9 -> 8 ;
|
3 -> 2 ;
|
||||||
8 [label="8: Exit A_x \n " color=yellow style=filled]
|
|
||||||
|
|
||||||
|
|
||||||
7 [label="7: Start A_x (generated)\nFormals: self:class A *\nLocals: \n DECLARE_LOCALS(&return); [line 13]\n " color=yellow style=filled]
|
|
||||||
|
|
||||||
|
|
||||||
7 -> 9 ;
|
|
||||||
6 [label="6: Return Stmt \n n$0=*&target:class A * [line 19]\n n$3=_fun_A_x(n$0:class A *) virtual [line 19]\n *&return:int =n$3 [line 19]\n REMOVE_TEMPS(n$0,n$3); [line 19]\n NULLIFY(&target,false); [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="box"]
|
|
||||||
|
|
||||||
|
|
||||||
6 -> 2 ;
|
|
||||||
2 [label="2: Exit A_addTarget: \n " color=yellow style=filled]
|
2 [label="2: Exit A_addTarget: \n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
1 [label="1: Start A_addTarget:\nFormals: self:class A * target:class A *\nLocals: \n DECLARE_LOCALS(&return); [line 18]\n NULLIFY(&self,false); [line 18]\n " color=yellow style=filled]
|
1 [label="1: Start A_addTarget:\nFormals: self:class A * target:class A *\nLocals: \n DECLARE_LOCALS(&return); [line 18]\n NULLIFY(&self,false); [line 18]\n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
1 -> 6 ;
|
1 -> 3 ;
|
||||||
}
|
}
|
||||||
|
@ -1,32 +1,21 @@
|
|||||||
digraph iCFG {
|
digraph iCFG {
|
||||||
8 [label="8: Message Call: retain \n n$7=*&aDynValue:class NSObject * [line 13]\n n$8=_fun___objc_retain(n$7:class NSObject *) [line 13]\n REMOVE_TEMPS(n$7,n$8); [line 13]\n " shape="box"]
|
5 [label="5: Message Call: retain \n n$5=*&aDynValue:class NSObject * [line 13]\n n$6=_fun___objc_retain(n$5:class NSObject *) [line 13]\n REMOVE_TEMPS(n$5,n$6); [line 13]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
8 -> 7 ;
|
5 -> 4 ;
|
||||||
7 [label="7: Message Call: release \n n$4=*&self:class AClass * [line 13]\n n$5=*n$4._aDynValue:class NSObject * [line 13]\n n$6=_fun___objc_release(n$5:class NSObject *) [line 13]\n REMOVE_TEMPS(n$4,n$5,n$6); [line 13]\n " shape="box"]
|
4 [label="4: Message Call: release \n n$2=*&self:class AClass * [line 13]\n n$3=*n$2._aDynValue:class NSObject * [line 13]\n n$4=_fun___objc_release(n$3:class NSObject *) [line 13]\n REMOVE_TEMPS(n$2,n$3,n$4); [line 13]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
7 -> 6 ;
|
4 -> 3 ;
|
||||||
6 [label="6: BinaryOperatorStmt: Assign \n n$2=*&self:class AClass * [line 13]\n n$3=*&aDynValue:class NSObject * [line 13]\n *n$2._aDynValue:class NSObject *=n$3 [line 13]\n REMOVE_TEMPS(n$2,n$3); [line 13]\n NULLIFY(&aDynValue,false); [line 13]\n NULLIFY(&self,false); [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
3 [label="3: BinaryOperatorStmt: Assign \n n$0=*&self:class AClass * [line 13]\n n$1=*&aDynValue:class NSObject * [line 13]\n *n$0._aDynValue:class NSObject *=n$1 [line 13]\n REMOVE_TEMPS(n$0,n$1); [line 13]\n NULLIFY(&aDynValue,false); [line 13]\n NULLIFY(&self,false); [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
||||||
|
|
||||||
|
|
||||||
6 -> 5 ;
|
|
||||||
5 [label="5: Exit AClass_setADynValue: \n " color=yellow style=filled]
|
|
||||||
|
|
||||||
|
|
||||||
4 [label="4: Start AClass_setADynValue: (generated)\nFormals: self:class AClass * aDynValue:class NSObject *\nLocals: \n DECLARE_LOCALS(&return); [line 13]\n " color=yellow style=filled]
|
|
||||||
|
|
||||||
|
|
||||||
4 -> 8 ;
|
|
||||||
3 [label="3: Return Stmt \n n$0=*&self:class AClass * [line 13]\n n$1=*n$0._aDynValue:class NSObject * [line 13]\n *&return:class NSObject *=n$1 [line 13]\n REMOVE_TEMPS(n$0,n$1); [line 13]\n NULLIFY(&self,false); [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
|
||||||
|
|
||||||
|
|
||||||
3 -> 2 ;
|
3 -> 2 ;
|
||||||
2 [label="2: Exit AClass_aDynValue \n " color=yellow style=filled]
|
2 [label="2: Exit AClass_setADynValue: \n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
1 [label="1: Start AClass_aDynValue (generated)\nFormals: self:class AClass *\nLocals: \n DECLARE_LOCALS(&return); [line 13]\n " color=yellow style=filled]
|
1 [label="1: Start AClass_setADynValue: (generated)\nFormals: self:class AClass * aDynValue:class NSObject *\nLocals: \n DECLARE_LOCALS(&return); [line 13]\n " color=yellow style=filled]
|
||||||
|
|
||||||
|
|
||||||
1 -> 3 ;
|
1 -> 5 ;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue