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()
307 EXPECT_DEATH(Ident((char*)malloc(n_megs << 20))[-1] = 0, in TEST()
316 Ident(p)[idx] = 0; in MemalignRun()
334 free(Ident(malloc(size))); in ManyThreadsWorker()
366 int *ptr2 = Ident((int*)malloc(0)); in TEST()
367 ptr2 = Ident((int*)realloc(ptr2, sizeof(*ptr2))); in TEST()
374 void *ptr = Ident(malloc(42)); in TEST()
381 void *ptr = Ident(malloc(42)); in TEST()
388 void *ptr = Ident(malloc(0)); in TEST()
412 char *array = Ident((char*)malloc(kArraySize)); in TEST()
413 int *int_ptr = Ident(new int); in TEST()
429 Ident(x); in WrongFree()
464 char *A = Ident((char*)&a); in SizedStackTest()
502 Ident(XXX); in TEST()
503 Ident(YYY); in TEST()
504 EXPECT_DEATH(Ident(ZZZ)[-1] = 0, ASAN_PCRE_DOTALL "XXX.*YYY.*ZZZ"); in TEST()
513 char *D = Ident(d);
553 int *A = Ident(&a); in LongJmpFunc1()
554 int *B = Ident(&b); in LongJmpFunc1()
561 int *A = Ident(a); in TouchStackFunc()
582 int *A = Ident(&a); in UnderscopeLongJmpFunc1()
583 int *B = Ident(&b); in UnderscopeLongJmpFunc1()
593 int *A = Ident(&a); in SigLongJmpFunc1()
594 int *B = Ident(&b); in SigLongJmpFunc1()
607 int *A = Ident(&a); in BuiltinLongJmpFunc1()
608 int *B = Ident(&b); in BuiltinLongJmpFunc1()
653 int *A = Ident(&a); in ThrowFunc()
654 int *B = Ident(&b); in ThrowFunc()
675 int *A = Ident(&a); in ThreadStackReuseFunc1()
676 int *B = Ident(&b); in ThreadStackReuseFunc1()
698 char *a = Ident((char*)malloc(Ident(12))); in TEST()
770 char *s = Ident((char*)malloc(size)); in MallocAndMemsetString()
807 int size = Ident(4096); in TEST()
808 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()
1175 EXPECT_DEATH(free(Ident(new int)), in TEST()
1177 EXPECT_DEATH(free(Ident(new int[2])), in TEST()
1180 delete (Ident(new int[2])), in TEST()
1182 EXPECT_DEATH(delete (Ident((int *)malloc(2 * sizeof(int)))), in TEST()
1184 EXPECT_DEATH(delete [] (Ident(new int)), in TEST()
1186 EXPECT_DEATH(delete [] (Ident((int*)malloc(2 * sizeof(int)))), in TEST()
1199 Ident(a)[20] = 0; in SimpleBugOnSTack()
1238 Ident(a)[10] = 0; in TEST()
1245 Ident(a); in TEST()
1246 Ident(b); in TEST()
1247 Ident(c); in TEST()
1248 Ident(a)[5] = 0; in TEST()
1249 Ident(b)[105] = 0; in TEST()
1250 Ident(a)[5] = 0; in TEST()
1267 delete [] (Ident(new char [8644])); in TEST()
1270 EXPECT_DEATH(x[Ident(8192)] = 0, "AddressSanitizer: heap-buffer-overflow"); in TEST()
1271 delete [] Ident(x); in TEST()
1281 memcpy(Ident(&a), Ident(&b), sizeof(long double)); in TEST()
1282 memcpy(Ident(&c), Ident(&b), sizeof(long double)); in TEST()
1290 pthread_getschedparam(pthread_self(), &policy, Ident(&param) + 2), in TEST()
1293 pthread_getschedparam(pthread_self(), Ident(&policy) - 1, &param), in TEST()