def METHOD_NAME(self, ptr, size):
    """
    Handler for any libc `realloc` SimProcedure call. If the heap has faithful support for `realloc`, it ought to be
    implemented in a `realloc` function (as opposed to the `_realloc` function).
    :param ptr: the location in memory to be reallocated
    :param size: the new size desired for the allocation
    """
    raise NotImplementedError(f"{self.METHOD_NAME.__func__.__name__} not implemented for {self.__class__.__name__}")