Lines Matching refs:Ident
102 char *x = Ident((char*)calloc(1, size)); in TEST()
109 free(Ident(x)); in TEST()
113 free(Ident(malloc(Ident(1 << 27)))); // Try to drain the quarantine. in TEST()
186 long double *p = Ident(new long double[10]); in TEST()
187 EXPECT_DEATH(Ident(p)[12] = 0, "WRITE of size 1[026]"); in TEST()
188 EXPECT_DEATH(Ident(p)[0] = Ident(p)[12], "READ of size 1[026]"); in TEST()
189 delete [] Ident(p); in TEST()
208 Packed5 *p = Ident(new Packed5[2]); in TEST()
211 delete [] Ident(p); in TEST()
216 int *x = Ident(new int); in TEST()
217 delete Ident(x); in TEST()
231 delete Ident(x); in TEST()
244 StructWithBitFields_8_24 *x = Ident(new StructWithBitFields_8_24); in TEST()
247 delete Ident(x); in TEST()
293 EXPECT_DEATH(Ident((char*)malloc(size))[-1] = 0, buff); in TestLargeMalloc()
306 EXPECT_DEATH(Ident((char*)malloc(n_megs << 20))[-1] = 0, in TEST()
314 Ident(p)[idx] = 0; in MemalignRun()
332 free(Ident(malloc(size))); in ManyThreadsWorker()
364 int *ptr2 = Ident((int*)malloc(0)); in TEST()
365 ptr2 = Ident((int*)realloc(ptr2, sizeof(*ptr2))); in TEST()
372 void *ptr = Ident(malloc(42)); in TEST()
379 void *ptr = Ident(malloc(42)); in TEST()
386 void *ptr = Ident(malloc(0)); in TEST()
410 char *array = Ident((char*)malloc(kArraySize)); in TEST()
411 int *int_ptr = Ident(new int); in TEST()
427 Ident(x); in WrongFree()
462 char *A = Ident((char*)&a); in SizedStackTest()
500 Ident(XXX); in TEST()
501 Ident(YYY); in TEST()
502 EXPECT_DEATH(Ident(ZZZ)[-1] = 0, ASAN_PCRE_DOTALL "XXX.*YYY.*ZZZ"); in TEST()
511 char *D = Ident(d);
551 int *A = Ident(&a); in LongJmpFunc1()
552 int *B = Ident(&b); in LongJmpFunc1()
559 int *A = Ident(a); in TouchStackFunc()
580 int *A = Ident(&a); in UnderscopeLongJmpFunc1()
581 int *B = Ident(&b); in UnderscopeLongJmpFunc1()
591 int *A = Ident(&a); in SigLongJmpFunc1()
592 int *B = Ident(&b); in SigLongJmpFunc1()
606 int *A = Ident(&a); in BuiltinLongJmpFunc1()
607 int *B = Ident(&b); in BuiltinLongJmpFunc1()
652 int *A = Ident(&a); in ThrowFunc()
653 int *B = Ident(&b); in ThrowFunc()
674 int *A = Ident(&a); in ThreadStackReuseFunc1()
675 int *B = Ident(&b); in ThreadStackReuseFunc1()
697 char *a = Ident((char*)malloc(Ident(12))); in TEST()
769 char *s = Ident((char*)malloc(size)); in MallocAndMemsetString()
806 int size = Ident(4096); in TEST()
807 char *s = Ident((char*)malloc(size)); in TEST()
954 char *x = Ident((char*)malloc(8)); in UseThenFreeThenUse()
966 free(strdup(Ident("123"))); in TEST()
981 glob5[Ident(0)] = 0; in TEST()
982 glob5[Ident(1)] = 0; in TEST()
983 glob5[Ident(2)] = 0; in TEST()
984 glob5[Ident(3)] = 0; in TEST()
985 glob5[Ident(4)] = 0; in TEST()
987 EXPECT_DEATH(glob5[Ident(5)] = 0, in TEST()
989 EXPECT_DEATH(glob5[Ident(5+6)] = 0, in TEST()
991 Ident(static110); // avoid optimizations in TEST()
992 static110[Ident(0)] = 0; in TEST()
993 static110[Ident(109)] = 0; in TEST()
994 EXPECT_DEATH(static110[Ident(110)] = 0, in TEST()
996 EXPECT_DEATH(static110[Ident(110+7)] = 0, in TEST()
999 Ident(func_static15); // avoid optimizations in TEST()
1000 func_static15[Ident(0)] = 0; in TEST()
1001 EXPECT_DEATH(func_static15[Ident(15)] = 0, in TEST()
1003 EXPECT_DEATH(func_static15[Ident(15 + 9)] = 0, in TEST()
1006 Ident(fs1); in TEST()
1007 Ident(fs2); in TEST()
1008 Ident(fs3); in TEST()
1012 EXPECT_DEATH(fs2[Ident(-1)] = 0, "is located.*of global variable"); in TEST()
1014 EXPECT_DEATH(Ident(Ident(ConstGlob)[8]), in TEST()
1016 EXPECT_DEATH(Ident(Ident(StaticConstGlob)[5]), in TEST()
1025 const char *p = Ident(zoo); in TEST()
1026 EXPECT_DEATH(Ident(p[15]), "is ascii string 'FOOBAR123'"); in TEST()
1031 const char *p = Ident(zoo); in TEST()
1033 EXPECT_DEATH(Ident(p[15]), "zoo.*asan_test."); in TEST()
1038 return Ident(&a); in ReturnsPointerToALocalObject()
1043 int *(*f)() = Ident(ReturnsPointerToALocalObject); in TEST()
1056 Ident(x)[0] = 0; in FuncWithStack()
1057 Ident(x)[kSize-1] = 0; in FuncWithStack()
1062 Ident(LargeStack)[0] = 0; in LotsOfStackReuse()
1074 Ident(LargeStack)[0] = 0; in LotsOfStackReuse()
1110 Ident(large_stack); in StackReuseAndException()
1142 *Ident(&a) = *Ident(&a); in TEST()
1148 Ident(foo)[10] = 0; in NoSanitizeAddress()
1153 Ident(NoSanitizeAddress)(); in TEST()
1170 EXPECT_DEATH(free(Ident(new int)), in TEST()
1172 EXPECT_DEATH(free(Ident(new int[2])), in TEST()
1174 EXPECT_DEATH(delete (Ident(new int[2])), in TEST()
1176 EXPECT_DEATH(delete (Ident((int*)malloc(2 * sizeof(int)))), in TEST()
1178 EXPECT_DEATH(delete [] (Ident(new int)), in TEST()
1180 EXPECT_DEATH(delete [] (Ident((int*)malloc(2 * sizeof(int)))), in TEST()
1193 Ident(a)[20] = 0; in SimpleBugOnSTack()
1232 Ident(a)[10] = 0; in TEST()
1239 Ident(a); in TEST()
1240 Ident(b); in TEST()
1241 Ident(c); in TEST()
1242 Ident(a)[5] = 0; in TEST()
1243 Ident(b)[105] = 0; in TEST()
1244 Ident(a)[5] = 0; in TEST()
1261 delete [] (Ident(new char [8644])); in TEST()
1264 EXPECT_DEATH(x[Ident(8192)] = 0, "AddressSanitizer: heap-buffer-overflow"); in TEST()
1265 delete [] Ident(x); in TEST()
1275 memcpy(Ident(&a), Ident(&b), sizeof(long double)); in TEST()
1276 memcpy(Ident(&c), Ident(&b), sizeof(long double)); in TEST()
1284 pthread_getschedparam(pthread_self(), &policy, Ident(¶m) + 2), in TEST()
1287 pthread_getschedparam(pthread_self(), Ident(&policy) - 1, ¶m), in TEST()