Lines Matching full:realloc
296 TEST(MemorySanitizer, Realloc) {
297 S4 *x = (int*)Ident(realloc(0, sizeof(S4)));
300 x = (int*)Ident(realloc(x, 2 * sizeof(S4)));
303 x = (int*)Ident(realloc(x, 3 * sizeof(S4)));
307 x[2] = 1; // Init this here. Check that after realloc it is poisoned again.
308 x = (int*)Ident(realloc(x, 2 * sizeof(S4)));
311 x = (int*)Ident(realloc(x, 3 * sizeof(S4)));