OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:malloc
(Results
26 - 50
of
5328
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/compiler-rt/test/lsan/TestCases/
ignore_object.c
13
void **p =
malloc
(sizeof(void *));
15
*p =
malloc
(666);
17
volatile void *q =
malloc
(1337);
/external/valgrind/massif/tests/
ignoring.c
13
int* x =
malloc
(1024);
17
malloc
(512);
26
int* y =
malloc
(256);
peak.c
8
p =
malloc
(1600); // With --peak-inaccuracy=1000, the first 10 of
9
p =
malloc
(16); // 'free' calls result in peaks, but after that,
/external/clang/test/PCH/
chain-openmp-threadprivate.cpp
15
extern "C" int*
malloc
(int size);
16
int *a =
malloc
(20);
/external/clang/test/Sema/
implicit-builtin-redecl.c
4
static void*
malloc
(int);
5
static void*
malloc
(int size) {
function
/external/clang/test/SemaCXX/Inputs/
malloc.h
2
extern void *
malloc
(__SIZE_TYPE__ __size) throw () __attribute__ ((__malloc__)) ;
/external/clang/test/Analysis/
malloc-overflow.c
5
extern void *
malloc
(size_t);
9
return
malloc
(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
14
return
malloc
(sizeof(int) * n); // // expected-warning {{the computation of the size of the memory allocation may overflow}}
19
return
malloc
(4 * sizeof(int)); // no-warning
29
return
malloc
(s->n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
35
return
malloc
(s2.n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
40
return
malloc
((n + 1) * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
43
extern void *
malloc
(size_t);
49
return
malloc
(n * sizeof(int)); // no-warning
55
return
malloc
(n * sizeof(int)); // no-warnin
[
all
...]
/external/compiler-rt/test/asan/TestCases/Darwin/
abort_on_error.cc
13
char *x = (char*)
malloc
(10 * sizeof(char));
sandbox-symbolizer.cc
17
char *x = (char*)
malloc
(10 * sizeof(char));
/external/compiler-rt/test/asan/TestCases/Linux/
abort_on_error.cc
14
char *x = (char*)
malloc
(10 * sizeof(char));
malloc_delete_mismatch.cc
1
// Check that we detect
malloc
/delete mismatch only if the approptiate flag
6
// Find error and provide
malloc
context.
12
// Also works if no
malloc
context is available.
22
x = (char*)
malloc
(10);
26
// CHECK: ERROR: AddressSanitizer: alloc-dealloc-mismatch (
malloc
vs operator delete) on 0x
31
// ALLOC-STACK-NEXT: #0{{.*}}
malloc
/external/compiler-rt/test/asan/TestCases/Windows/
calloc_left_oob.cc
4
#include <
malloc
.h>
calloc_right_oob.cc
4
#include <
malloc
.h>
calloc_uaf.cc
4
#include <
malloc
.h>
double_operator_delete.cc
4
#include <
malloc
.h>
fuse-lld.cc
15
char *x = (char*)
malloc
(10 * sizeof(char));
21
// CHECK:
malloc
realloc_left_oob.cc
4
#include <
malloc
.h>
realloc_right_oob.cc
4
#include <
malloc
.h>
realloc_uaf.cc
4
#include <
malloc
.h>
/external/compiler-rt/test/asan/TestCases/
sanity_check_pure_c.c
13
char *x = (char*)
malloc
(10 * sizeof(char));
19
// CHECK:
malloc
sleep_before_dying.c
6
char *x = (char*)
malloc
(10 * sizeof(char));
strip_path_prefix.c
6
char *x = (char*)
malloc
(10 * sizeof(char));
use-after-free-right.cc
13
volatile char *x = (char*)
malloc
(sizeof(char));
31
// CHECK-Linux: {{ #0 0x.* in .*
malloc
}}
use-after-free.cc
10
char *x = (char*)
malloc
(10 * sizeof(char));
28
// CHECK-Linux: {{ #0 0x.* in .*
malloc
}}
/external/compiler-rt/test/msan/
heap-origin.cc
21
char *volatile x = (char*)
malloc
(5 * sizeof(char));
27
// CHECK-ORIGINS: {{#0 0x.* in .*
malloc
}}
Completed in 374 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>