Lines Matching refs:Ident
121 char *x = Ident((char*)calloc(1, size)); in TEST()
128 free(Ident(x)); in TEST()
132 free(Ident(malloc(Ident(1 << 27)))); // Try to drain the quarantine. in TEST()
205 long double *p = Ident(new long double[10]); in TEST()
206 EXPECT_DEATH(Ident(p)[12] = 0, "WRITE of size 1[026]"); in TEST()
207 EXPECT_DEATH(Ident(p)[0] = Ident(p)[12], "READ of size 1[026]"); in TEST()
208 delete [] Ident(p); in TEST()
227 Packed5 *p = Ident(new Packed5[2]); in TEST()
230 delete [] Ident(p); in TEST()
235 int *x = Ident(new int); in TEST()
236 delete Ident(x); in TEST()
250 delete Ident(x); in TEST()
263 StructWithBitFields_8_24 *x = Ident(new StructWithBitFields_8_24); in TEST()
266 delete Ident(x); in TEST()
317 EXPECT_DEATH(Ident((char*)malloc(size))[-1] = 0, buff); in TestLargeMalloc()
331 EXPECT_DEATH(Ident((char*)malloc(n_megs << 20))[-1] = 0, in TEST()
340 Ident(p)[idx] = 0; in MemalignRun()
358 free(Ident(malloc(size))); in ManyThreadsWorker()
391 int *ptr2 = Ident((int*)malloc(0)); in TEST()
392 ptr2 = Ident((int*)realloc(ptr2, sizeof(*ptr2))); in TEST()
399 void *ptr = Ident(malloc(42)); in TEST()
406 void *ptr = Ident(malloc(42)); in TEST()
413 void *ptr = Ident(malloc(0)); in TEST()
437 char *array = Ident((char*)malloc(kArraySize)); in TEST()
438 int *int_ptr = Ident(new int); in TEST()
454 Ident(x); in WrongFree()
489 char *A = Ident((char*)&a); in SizedStackTest()
527 Ident(XXX); in TEST()
528 Ident(YYY); in TEST()
529 EXPECT_DEATH(Ident(ZZZ)[-1] = 0, ASAN_PCRE_DOTALL "XXX.*YYY.*ZZZ"); in TEST()
538 char *D = Ident(d);
578 int *A = Ident(&a); in LongJmpFunc1()
579 int *B = Ident(&b); in LongJmpFunc1()
586 int *A = Ident(a); in TouchStackFunc()
607 int *A = Ident(&a); in UnderscopeLongJmpFunc1()
608 int *B = Ident(&b); in UnderscopeLongJmpFunc1()
618 int *A = Ident(&a); in SigLongJmpFunc1()
619 int *B = Ident(&b); in SigLongJmpFunc1()
632 int *A = Ident(&a); in BuiltinLongJmpFunc1()
633 int *B = Ident(&b); in BuiltinLongJmpFunc1()
679 int *A = Ident(&a); in ThrowFunc()
680 int *B = Ident(&b); in ThrowFunc()
701 int *A = Ident(&a); in ThreadStackReuseFunc1()
702 int *B = Ident(&b); in ThreadStackReuseFunc1()
726 char *a = Ident((char*)malloc(Ident(12))); in TEST()
798 char *s = Ident((char*)malloc(size)); in MallocAndMemsetString()
835 int size = Ident(4096); in TEST()
836 char *s = Ident((char*)malloc(size)); in TEST()
982 char *x = Ident((char*)malloc(8)); in UseThenFreeThenUse()
994 free(strdup(Ident("123"))); in TEST()
1009 glob5[Ident(0)] = 0; in TEST()
1010 glob5[Ident(1)] = 0; in TEST()
1011 glob5[Ident(2)] = 0; in TEST()
1012 glob5[Ident(3)] = 0; in TEST()
1013 glob5[Ident(4)] = 0; in TEST()
1015 EXPECT_DEATH(glob5[Ident(5)] = 0, in TEST()
1017 EXPECT_DEATH(glob5[Ident(5+6)] = 0, in TEST()
1019 Ident(static110); // avoid optimizations in TEST()
1020 static110[Ident(0)] = 0; in TEST()
1021 static110[Ident(109)] = 0; in TEST()
1022 EXPECT_DEATH(static110[Ident(110)] = 0, in TEST()
1024 EXPECT_DEATH(static110[Ident(110+7)] = 0, in TEST()
1027 Ident(func_static15); // avoid optimizations in TEST()
1028 func_static15[Ident(0)] = 0; in TEST()
1029 EXPECT_DEATH(func_static15[Ident(15)] = 0, in TEST()
1031 EXPECT_DEATH(func_static15[Ident(15 + 9)] = 0, in TEST()
1034 Ident(fs1); in TEST()
1035 Ident(fs2); in TEST()
1036 Ident(fs3); in TEST()
1040 EXPECT_DEATH(fs2[Ident(-1)] = 0, "is located.*of global variable"); in TEST()
1042 EXPECT_DEATH(Ident(Ident(ConstGlob)[8]), in TEST()
1044 EXPECT_DEATH(Ident(Ident(StaticConstGlob)[5]), in TEST()
1053 const char *p = Ident(zoo); in TEST()
1054 EXPECT_DEATH(Ident(p[15]), "is ascii string 'FOOBAR123'"); in TEST()
1059 const char *p = Ident(zoo); in TEST()
1061 EXPECT_DEATH(Ident(p[15]), "zoo.*asan_test."); in TEST()
1066 return Ident(&a); in ReturnsPointerToALocalObject()
1071 int *(*f)() = Ident(ReturnsPointerToALocalObject); in TEST()
1084 Ident(x)[0] = 0; in FuncWithStack()
1085 Ident(x)[kSize-1] = 0; in FuncWithStack()
1090 Ident(LargeStack)[0] = 0; in LotsOfStackReuse()
1102 Ident(LargeStack)[0] = 0; in LotsOfStackReuse()
1144 Ident(large_stack); in StackReuseAndException()
1180 *Ident(&a) = *Ident(&a); in TEST()
1186 Ident(foo)[10] = 0; in NoSanitizeAddress()
1191 Ident(NoSanitizeAddress)(); in TEST()
1213 EXPECT_DEATH(free(Ident(new int)), in TEST()
1215 EXPECT_DEATH(free(Ident(new int[2])), in TEST()
1218 delete (Ident(new int[2])), in TEST()
1220 EXPECT_DEATH(delete (Ident((int *)malloc(2 * sizeof(int)))), in TEST()
1222 EXPECT_DEATH(delete [] (Ident(new int)), in TEST()
1224 EXPECT_DEATH(delete [] (Ident((int*)malloc(2 * sizeof(int)))), in TEST()
1237 Ident(a)[20] = 0; in SimpleBugOnSTack()
1276 Ident(a)[10] = 0; in TEST()
1283 Ident(a); in TEST()
1284 Ident(b); in TEST()
1285 Ident(c); in TEST()
1286 Ident(a)[5] = 0; in TEST()
1287 Ident(b)[105] = 0; in TEST()
1288 Ident(a)[5] = 0; in TEST()
1306 delete [] (Ident(new char [8644])); in TEST()
1309 EXPECT_DEATH(x[Ident(8192)] = 0, "AddressSanitizer: heap-buffer-overflow"); in TEST()
1310 delete [] Ident(x); in TEST()
1321 memcpy(Ident(&a), Ident(&b), sizeof(long double)); in TEST()
1322 memcpy(Ident(&c), Ident(&b), sizeof(long double)); in TEST()
1330 pthread_getschedparam(pthread_self(), &policy, Ident(¶m) + 2), in TEST()
1333 pthread_getschedparam(pthread_self(), Ident(&policy) - 1, ¶m), in TEST()