Home | History | Annotate | Download | only in Analysis

Lines Matching full:malloc

1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc -analyzer-store=region -verify %s
4 void *malloc(size_t);
11 malloc(4);
20 return malloc(10);
29 char *x = (char*)malloc(12);
35 char *x = (char*)malloc(12);
45 char *x = (char*)malloc(12);
64 v.push_back(malloc(4));
73 result.a = malloc(4);
78 // Malloc checker used to report leaks for the following two test cases.