Lines Matching full:dereference
33 // expected-warning@-2 {{Dereference of null pointer}}
41 // expected-warning@-2 {{Dereference of null pointer}}
59 *casted = 1; // expected-warning {{Dereference of null pointer}}
75 *casted = 1; // expected-warning {{Dereference of null pointer}}
83 // expected-warning@-2 {{Dereference of null pointer}}
121 *p = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'p')}}
125 // This macro will dereference its argument if the argument is NULL.
128 int i = MACRO_WITH_ERROR(p); // expected-warning {{Dereference of null pointer (loaded from variable 'p')}}
136 *p = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'p')}}
170 int i = MACRO_DO_IT((p ? 0 : *p)); // expected-warning {{Dereference of null pointer (loaded from variable 'p')}}c
183 // expected-warning@-2 {{Dereference of null pointer}}
192 // expected-warning@-2 {{Dereference of null pointer}}
208 // expected-warning@-2 {{Dereference of null pointer}}
217 // expected-warning@-2 {{Dereference of null pointer}}
228 // expected-warning@-2 {{Dereference of null pointer}}
244 // expected-warning@-2 {{Dereference of null pointer}}
263 // expected-warning@-2 {{Dereference of null pointer}}
283 // expected-warning@-2 {{Dereference of null pointer}}
299 // expected-warning@-2 {{Dereference of null pointer}}
306 // expected-warning@-2 {{Dereference of null pointer}}
317 // expected-warning@-2 {{Dereference of null pointer}}
328 // expected-warning@-2 {{Dereference of null pointer}}
346 // expected-warning@-2 {{Dereference of null pointer}}
354 // expected-warning@-2 {{Dereference of null pointer}}
360 // expected-warning@-2 {{Dereference of null pointer}}
364 return *(x ? 0 : getPtr()); // expected-warning {{Dereference of null pointer}}
367 return *(x ? (x ? 0 : getPtr()) : getPtr()); // expected-warning {{Dereference of null pointer}}
373 // expected-warning@-2 {{Dereference of null pointer}}