Lines Matching refs:Realloc
280 TEST(MemorySanitizer, Realloc) {
281 S4 *x = (int*)Ident(realloc(0, sizeof(S4)));
284 x = (int*)Ident(realloc(x, 2 * sizeof(S4)));
287 x = (int*)Ident(realloc(x, 3 * sizeof(S4)));
291 x[2] = 1; // Init this here. Check that after realloc it is poisoned again.
292 x = (int*)Ident(realloc(x, 2 * sizeof(S4)));
295 x = (int*)Ident(realloc(x, 3 * sizeof(S4)));