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
779
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/Tooling/
clang-check-analyzer.cpp
3
// CHECK:
Dereference
of null pointer
/external/lldb/test/expression_command/formatters/
formatters.py
9
b_ref = b_ref_ptr.
Dereference
()
13
str(a_ptr.GetValueAsUnsigned(0)) + ' -> ' + str(a_ptr.
Dereference
().GetValueAsUnsigned(0)) + \
15
', i_ptr = ' + str(i_ptr.GetValueAsUnsigned(0)) + ' -> ' + str(i_ptr.
Dereference
().GetValueAsUnsigned(0)) + \
/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}}
explicit-suppression.cpp
15
// expected-warning@../Inputs/system-header-simulator-cxx.h:110 {{
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}}
105
// expected-warning@-2 {{
Dereference
of null pointer}}
114
// expected-warning@-2 {{
Dereference
of null pointer}}
130
// expected-warning@-2 {{
Dereference
of null pointer}}
139
// expected-warning@-2 {{
Dereference
of null pointer}}
150
// expected-warning@-2 {{
Dereference
of null pointer}
[
all
...]
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}}
false-positive-suppression.m
21
// expected-warning@-2 {{
Dereference
of null pointer}}
28
// expected-warning@-2 {{
Dereference
of null pointer}}
false-positive-suppression.cpp
73
// expected-warning@-2 {{
Dereference
of null pointer}}
78
// expected-warning@-2 {{
Dereference
of null pointer}}
88
*box2 = 1; // expected-warning {{
Dereference
of null pointer}}
108
// Separate the lvalue-to-rvalue conversion from the subsequent
dereference
.
/external/clang/test/Analysis/
nullptr.cpp
6
*np = 0; // expected-warning{{
Dereference
of null pointer}}
27
*ip = 0; // expected-warning{{
Dereference
of null pointer}}
51
delete *(p + 0); // expected-warning{{
Dereference
of null pointer}}
59
:"0"(*b) // expected-warning{{
Dereference
of null pointer}}
72
return S(*x).a; // expected-warning{{
Dereference
of null pointer}}
81
const S &s = S(*n); // 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}}
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}}
/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 *}}
/external/lldb/examples/summaries/
objc.py
16
return BOOL_SummaryProvider (valobj.
Dereference
(),dict)
/external/clang/test/Sema/
memset-invalid-1.c
13
// expected-note {{did you mean to
dereference
the argument to 'sizeof' (and multiply it by the number of elements)?}}
/external/libcxx/test/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op++/
Android.mk
19
test_name := iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op++/
dereference
20
test_src :=
dereference
.pass.cpp
/external/libcxx/test/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/
Android.mk
19
test_name := iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/
dereference
20
test_src :=
dereference
.pass.cpp
/external/llvm/test/Assembler/
ConstantExprNoFold.ll
13
; icmp should return true. It's not valid to *
dereference
* in @B from a pointer
14
; based on @A, but icmp isn't a
dereference
.
/external/clang/lib/StaticAnalyzer/Checkers/
DereferenceChecker.cpp
1
//== NullDerefChecker.cpp - Null
dereference
checker ------------*- C++ -*--==//
98
// we call an "explicit" null
dereference
.
100
BT_null.reset(new BuiltinBug(this, "
Dereference
of null pointer"));
130
os << " results in a null pointer
dereference
";
134
os << "
Dereference
of null pointer";
144
<< "' results in a
dereference
of a null pointer";
153
<< "' results in a
dereference
of a null pointer";
179
// Check for
dereference
of an undefined value.
184
new BuiltinBug(this, "
Dereference
of undefined pointer value"));
215
//
dereference
[
all
...]
/external/llvm/test/Other/
lint.ll
19
; CHECK: Null pointer
dereference
21
; CHECK: Null pointer
dereference
23
; CHECK: Undef pointer
dereference
25
; CHECK: Undef pointer
dereference
27
; CHECK: All-ones pointer
dereference
29
; CHECK: Address one pointer
dereference
67
; CHECK: Undefined behavior: Null pointer
dereference
69
; CHECK: Undefined behavior: Null pointer
dereference
168
; CHECK: Undefined behavior: Undef pointer
dereference
/external/clang/test/SemaCXX/
for-range-dereference.cpp
40
for (auto i : pt) { } // expected-error{{invalid range expression of type 'T *'; did you mean to
dereference
it with '*'?}}
45
for (auto i : parr) { }// expected-error{{invalid range expression of type 'int (*)[10]'; did you mean to
dereference
it with '*'?}}
84
for (auto i : OS) { } // expected-error {{invalid range expression of type 'OverloadedStar'; did you mean to
dereference
it with '*'?}}
86
for (Data *p : pt) { } // expected-error {{invalid range expression of type 'T *'; did you mean to
dereference
it with '*'?}}
Completed in 425 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>