OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:free
(Results
1 - 25
of
5577
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/Analysis/diagnostics/Inputs/include/sys/
queue.h
2
void
free
(void *);
3
#define FREE_POINTER(x)
free
(x)
/external/valgrind/main/massif/tests/
zero.c
8
free
(malloc(0));
9
free
(malloc(0));
10
free
(malloc(0));
11
free
(malloc(0));
12
free
(malloc(0));
13
free
(malloc(0));
14
free
(malloc(0));
15
free
(malloc(0));
16
free
(malloc(0));
17
free
(malloc(0))
[
all
...]
long-time.c
14
free
(x1);
16
free
(x2);
17
free
(x3);
19
free
(x4);
/external/clang/test/Sema/
conditional.c
6
void
free
(void *ptr);
9
return (1 ?
free
(0) : _efree(0)); // expected-error {{returning 'void' from a function with incompatible result type 'int'}}
13
return (1 ? _efree(0) :
free
(0)); // expected-error {{returning 'void' from a function with incompatible result type 'int'}}
/external/clang/test/Analysis/
free.c
3
void
free
(void *);
7
free
(a); // expected-warning {{Argument to
free
() is the address of the local variable 'a', which is not memory allocated by malloc()}}
12
free
(&a); // expected-warning {{Argument to
free
() is the address of the local variable 'a', which is not memory allocated by malloc()}}
17
free
(a); // expected-warning {{Argument to
free
() is the address of the static variable 'a', which is not memory allocated by malloc()}}
21
free
(x); // no-warning
26
free
(ptr()); // no-warning
30
free
((void*)1000); // expected-warning {{Argument to free() is a constant address (1000), which is not (…)
[
all
...]
NewDelete+MismatchedDeallocator_intersections.cpp
7
void
free
(void *);
15
free
(&i); // no warn
18
free
(++p1); // no warn
21
free
(p2);
22
free
(p2); // no warn
27
free
(p4);
/external/clang/test/CodeGenCXX/
attr-cleanup.cpp
4
void
free
(void *i) {}
function in namespace:N
9
void *fp __attribute__((cleanup(N::
free
)));
/external/compiler-rt/test/asan/TestCases/Windows/
double_free.cc
8
free
(x);
9
free
(x);
10
// CHECK: AddressSanitizer: attempting double-
free
on [[ADDR:0x[0-9a-f]+]]
11
// CHECK-NEXT: {{#0 .*
free
}}
15
// CHECK-NEXT: {{#0 .*
free
}}
calloc_left_oob.cc
16
free
(buffer);
calloc_right_oob.cc
16
free
(buffer);
calloc_uaf.cc
8
free
(buffer);
10
// CHECK: AddressSanitizer: heap-use-after-
free
on address [[ADDR:0x[0-9a-f]+]]
15
// CHECK-NEXT: {{#0 .*
free
}}
malloc_left_oob.cc
16
free
(buffer);
malloc_right_oob.cc
16
free
(buffer);
malloc_uaf.cc
8
free
(buffer);
10
// CHECK: AddressSanitizer: heap-use-after-
free
on address [[ADDR:0x[0-9a-f]+]]
15
// CHECK-NEXT: {{#0 .*
free
}}
realloc_left_oob.cc
16
free
(buffer);
realloc_right_oob.cc
16
free
(buffer);
realloc_uaf.cc
8
free
(buffer);
10
// CHECK: AddressSanitizer: heap-use-after-
free
on address [[ADDR:0x[0-9a-f]+]]
15
// CHECK-NEXT: {{#0 .*
free
}}
/external/compiler-rt/test/asan/TestCases/
deep_stack_uaf.cc
11
static void
free
(char *x) {
function in struct:DeepFree
12
DeepFree<depth - 1>::
free
(x);
18
static void
free
(char *x) {
function in struct:DeepFree
19
::
free
(x);
26
DeepFree<200>::
free
(x);
28
// CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-
free
on address}}
sanity_check_pure_c.c
13
free
(x);
15
// CHECK: heap-use-after-
free
16
// CHECK:
free
sleep_before_dying.c
7
free
(x);
strip_path_prefix.c
7
free
(x);
10
// CHECK: heap-use-after-
free
use-after-free-right.cc
7
// Test use-after-
free
report in the case when access is at the right border of
13
free
((void*)x);
15
// CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-
free
on address}}
18
// CHECK: {{ #0 0x.* in main .*use-after-
free
-right.cc:}}[[@LINE-4]]
22
// CHECK-Linux: {{ #0 0x.* in .*
free
}}
23
// CHECK-Linux: {{ #1 0x.* in main .*use-after-
free
-right.cc:}}[[@LINE-10]]
26
// CHECK-Darwin: {{ #1 0x.* in main .*use-after-
free
-right.cc:}}[[@LINE-13]]
31
// CHECK-Linux: {{ #1 0x.* in main .*use-after-
free
-right.cc:}}[[@LINE-19]]
34
// CHECK-Darwin: {{ #1 0x.* in main .*use-after-
free
-right.cc:}}[[@LINE-22]]
use-after-free.cc
10
free
(x);
12
// CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-
free
on address}}
15
// CHECK: {{ #0 0x.* in main .*use-after-
free
.cc:}}[[@LINE-4]]
19
// CHECK-Linux: {{ #0 0x.* in .*
free
}}
20
// CHECK-Linux: {{ #1 0x.* in main .*use-after-
free
.cc:}}[[@LINE-10]]
23
// CHECK-Darwin: {{ #1 0x.* in main .*use-after-
free
.cc:}}[[@LINE-13]]
28
// CHECK-Linux: {{ #1 0x.* in main .*use-after-
free
.cc:}}[[@LINE-19]]
31
// CHECK-Darwin: {{ #1 0x.* in main .*use-after-
free
.cc:}}[[@LINE-22]]
/abi/cpp/src/
delete.cc
37
free
(ptr);
/external/elfutils/0.153/libdwfl/
dwfl_end.c
5
Red Hat elfutils is
free
software; you can redistribute it and/or modify
7
Free
Software Foundation; version 2 of the License.
15
with Red Hat elfutils; if not, write to the
Free
Software Foundation,
58
free
(dwfl->lookup_addr);
59
free
(dwfl->lookup_module);
60
free
(dwfl->lookup_segndx);
70
free
(dwfl);
Completed in 632 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>