Lines Matching full:globalptr

19 static int *globalPtr;
24 Foo f(globalPtr);
32 globalPtr = 0;
33 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
63 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
64 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
68 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
69 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
73 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
74 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
78 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
79 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
83 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
84 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
88 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
89 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
110 globalPtr = 0;
111 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
118 globalPtr = 0;
119 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
126 globalPtr = 0;
127 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
134 globalPtr = 0;
135 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
143 globalPtr = 0;
144 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
151 globalPtr = 0;
152 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
399 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
401 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1212 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1214 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1415 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1417 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1420 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1462 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1464 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1665 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1667 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1670 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1712 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1714 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1949 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1951 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1954 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2064 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2066 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2267 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2269 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2272 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2384 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2386 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2621 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2623 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2626 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2738 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2740 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2911 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2913 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2916 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>