Home | History | Annotate | Download | only in Analysis

Lines Matching full:malloc

1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-store=region -verify -fblocks %s
5 void *malloc(size_t);
10 unsigned char *data = (unsigned char *)malloc(42);
16 unsigned char *data = (unsigned char *)malloc(42);
21 unsigned char *data = (unsigned char *)malloc(42);
27 unsigned char *data = (unsigned char *)malloc(42);
32 unichar *data = (unichar*)malloc(42);
38 unsigned char *data = (unsigned char *)malloc(42);
43 unsigned char *data = (unsigned char *)malloc(42);
49 unsigned char *data = (unsigned char *)malloc(42);
54 unichar *data = (unichar*)malloc(42);
60 unsigned char *data = (unsigned char *)malloc(42);
68 char *bytes = (char*)malloc(12);
78 myBuffer = (UniChar *)malloc(BufferSize * sizeof(UniChar));
88 void *key = malloc(12);
89 void *val = malloc(12);
96 void *bytes = malloc(10);
101 int *x= (int*)malloc(sizeof(int));
135 void *newItem = malloc(4);