allocation by intercepting calls to malloc (3), calloc (3), free (3), and realloc (3); optionally ... products of arguments ( nmemb * size ) of all calloc (3) calls, and sum of len…