OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:dereference
(Results
1 - 25
of
1266
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/Analysis/
test-include-cpp.cpp
7
return *p; // expected-warning{{
Dereference
of null pointer}}
12
return *p; // expected-warning{{
Dereference
of null pointer}}
dtor-cxx11.cpp
1
// RUN: %clang_cc1 -analyze -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true -Wno-null-
dereference
-verify %s
reference.mm
1
// RUN: %clang_cc1 -analyze -analyzer-checker=core -verify -Wno-null-
dereference
%s
test-variably-modified-types.c
6
return *x; // expected-warning {{
Dereference
of null pointer}}
nullptr.cpp
8
*np = 0; // expected-warning{{
Dereference
of null pointer}}
29
*ip = 0; // expected-warning{{
Dereference
of null pointer}}
53
delete *(p + 0); // expected-warning{{
Dereference
of null pointer}}
61
:"0"(*b) // expected-warning{{
Dereference
of null pointer}}
74
return S(*x).a; // expected-warning{{
Dereference
of null pointer}}
83
const S &s = S(*n); // expected-warning{{
Dereference
of null pointer}}
complex.c
16
*p = 2; // expected-warning{{
Dereference
of null pointer}}
dynamic-cast.cpp
113
return *res; // expected-warning {{
Dereference
of null pointer}}
120
return b->m; // expected-warning {{
dereference
of a null pointer}}
126
return (*dynamic_cast<B*>(a)).m; // expected-warning {{
Dereference
of null pointer}}
132
return b->m; // expected-warning {{
dereference
of a null pointer}}
137
return b->m; // expected-warning {{
dereference
of a null pointer}}
143
return b->m; // expected-warning {{
dereference
of a null pointer}}
176
return *x; // expected-warning {{
Dereference
of null pointer}}
204
return *res; // expected-warning{{
Dereference
of null pointer}}
244
return *res; // expected-warning{{
Dereference
of null pointer}}
test-include.c
8
*data = 1; // expected-warning{{
Dereference
of null pointer}}
/external/clang/test/Tooling/
clang-check-analyzer.cpp
3
// CHECK:
Dereference
of null pointer
/prebuilts/go/darwin-x86/test/fixedbugs/
bug371.go
22
q.m() // ERROR "requires explicit
dereference
"
23
q.pm() // ERROR "requires explicit
dereference
"
issue8076.go
8
// on the instruction loop following the
dereference
.
/prebuilts/go/linux-x86/test/fixedbugs/
bug371.go
22
q.m() // ERROR "requires explicit
dereference
"
23
q.pm() // ERROR "requires explicit
dereference
"
issue8076.go
8
// on the instruction loop following the
dereference
.
/external/clang/test/Analysis/diagnostics/
deref-track-symbolic-region.cpp
14
r.y = 5; // expected-warning {{Access to field 'y' results in a
dereference
of a null pointer (loaded from variable 'r')}}
15
// expected-note@-1{{Access to field 'y' results in a
dereference
of a null pointer (loaded from variable 'r')}}
34
return *p3; // expected-warning {{
Dereference
of null pointer}}
35
// expected-note@-1{{
Dereference
of null pointer}}
41
return *p2; //expected-warning {{
Dereference
of null pointer}}
42
// expected-note@-1{{
Dereference
of null pointer}}
text-diagnostics.c
7
// CHECK-LABEL: text-diagnostics.c:{{.*}}:6: warning:
Dereference
of null pointer (loaded from variable 'p')
9
// CHECK-NEXT: text-diagnostics.c:[[@LINE-4]]:6: note:
Dereference
of null pointer (loaded from variable 'p')
17
// CHECK-LABEL: text-diagnostics.c:{{.*}}:6: warning:
Dereference
of null pointer (loaded from variable 'q')
20
// CHECK-NEXT: text-diagnostics.c:[[@LINE-5]]:6: note:
Dereference
of null pointer (loaded from variable 'q')
no-prune-paths.c
19
*(volatile int *)0 = 1; // expected-warning {{
Dereference
of null pointer}}
20
// expected-note@-1 {{
Dereference
of null pointer}}
/external/clang/test/Analysis/inlining/
false-positive-suppression.c
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')}}
[
all
...]
false-positive-suppression.m
21
// expected-warning@-2 {{
Dereference
of null pointer}}
28
// expected-warning@-2 {{
Dereference
of null pointer}}
76
// expected-warning@-2 {{
Dereference
of null pointer}}
84
// expected-warning@-2 {{
Dereference
of null pointer}}
93
// expected-warning@-2 {{
Dereference
of null pointer}}
102
// expected-warning@-2 {{
Dereference
of null pointer}}
113
// expected-warning@-2 {{
Dereference
of null pointer}}
inline-defensive-checks.c
12
return *p; // expected-warning {{
Dereference
of null pointer}}
21
return *p; // expected-warning {{
Dereference
of null pointer}}
32
return *p; // expected-warning {{
Dereference
of null pointer}}
48
return *p; // expected-warning{{
Dereference
of null pointer}}
69
return *p; // expected-warning{{
Dereference
of null pointer}}
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
pointer_wrapper.h
22
T&
Dereference
() { return *pointer_; }
23
const T&
Dereference
() const { return *pointer_; }
/external/clang/test/FixIt/
dereference-addressof.c
15
i(aPtr); // expected-warning{{incompatible pointer to integer conversion passing 'int *' to parameter of type 'int';
dereference
with *}}
18
f(bPtr); // expected-error{{passing 'float *' to parameter of incompatible type 'float';
dereference
with *}}
19
a = aPtr; // expected-warning{{incompatible pointer to integer conversion assigning to 'int' from 'int *';
dereference
with *}}
20
fl = bPtr + a; // expected-error{{assigning to 'float' from incompatible type 'float *';
dereference
with *}}
/prebuilts/go/darwin-x86/misc/cgo/test/
issue9557.go
21
// implicitly
dereference
a Go variable
27
// explicitly
dereference
a C variable
32
// implicitly
dereference
a C variable
/prebuilts/go/linux-x86/misc/cgo/test/
issue9557.go
21
// implicitly
dereference
a Go variable
27
// explicitly
dereference
a C variable
32
// implicitly
dereference
a C variable
/prebuilts/go/darwin-x86/test/
recover3.go
61
check("nil-deref", func() { println(p[0]) }, "nil pointer
dereference
")
62
check("nil-deref-1", func() { println(p[1]) }, "nil pointer
dereference
")
63
check("nil-deref-big", func() { println(q[5000]) }, "nil pointer
dereference
")
/prebuilts/go/linux-x86/test/
recover3.go
61
check("nil-deref", func() { println(p[0]) }, "nil pointer
dereference
")
62
check("nil-deref-1", func() { println(p[1]) }, "nil pointer
dereference
")
63
check("nil-deref-big", func() { println(q[5000]) }, "nil pointer
dereference
")
Completed in 569 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>