3 // All sizes are divisible by 16 -- no slop.
7 // Allocating/freeing in an ignored function: ignored.
8 int* ignored_x1
= malloc(400);
9 int* ignored_x2
= malloc(400);
14 void ignore2(int* x
, int* ignored_x
)
16 // Growing/shrinking a non-ignored block in an ignored function: ignored.
20 // Growing/shrinking an ignored block in an ignored function: ignored.
21 ignored_x
= realloc(ignored_x
, 800);
22 ignored_x
= realloc(ignored_x
, 400);
33 // Get an ignored block.
34 ignored_x
= ignore1();
36 // Growing/shrinking a non-ignored block in a non-ignored function:
41 // Growing/shrinking an ignored block in a non-ignored function: ignored.
42 ignored_x
= realloc(ignored_x
, 800);
43 ignored_x
= realloc(ignored_x
, 400);
45 ignore2(x
, ignored_x
);
47 x
= realloc(ignored_x
, 0); // equivalent to 'free(ignored_x)'.