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
7280
) 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/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
...]
/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
4
void
free
(void *);
9
free
(a); // expected-warning {{Argument to
free
() is the address of the local variable 'a', which is not memory allocated by malloc()}}
14
free
(&a); // expected-warning {{Argument to
free
() is the address of the local variable 'a', which is not memory allocated by malloc()}}
19
free
(a); // expected-warning {{Argument to
free
() is the address of the static variable 'a', which is not memory allocated by malloc()}}
23
free
(x); // no-warning
28
free
(ptr()); // no-warning
32
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
}}
fuse-lld.cc
16
free
(x);
18
// CHECK: heap-use-after-
free
19
// CHECK:
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
}}
symbols_path.cc
21
free
(buffer);
/external/c-ares/
ares_free_hostent.c
34
free
((char *)(host->h_name));
36
free
(*p);
37
free
(host->h_aliases);
38
free
(host->h_addr_list[0]); /* no matter if there is one or many entries,
40
free
(host->h_addr_list);
41
free
(host);
ares_free_string.c
24
free
(str);
/external/compiler-rt/test/asan/TestCases/
deep_stack_uaf.cc
12
static void
free
(char *x) {
function in struct:DeepFree
13
DeepFree<depth - 1>::
free
(x);
19
static void
free
(char *x) {
function in struct:DeepFree
20
::
free
(x);
27
DeepFree<200>::
free
(x);
29
// CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-
free
on address}}
sanity_check_pure_c.c
14
free
(x);
16
// CHECK: heap-use-after-
free
17
// CHECK:
free
/external/compiler-rt/test/asan/TestCases/Darwin/
abort_on_error.cc
14
free
(x);
16
// CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-
free
on address}}
sandbox-symbolizer.cc
18
free
(x);
20
// CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-
free
on address}}
/external/compiler-rt/test/asan/TestCases/Linux/
abort_on_error.cc
15
free
(x);
17
// CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-
free
on address}}
Completed in 945 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>