Crinit -- Configurable Rootfs Init
mock-malloc.h File Reference

(2023-10-16, commit: 49337e0)

Header declaring a mock function for malloc(). More...

#include <stddef.h>
Include dependency graph for mock-malloc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void * __wrap_malloc (size_t size)
 

Detailed Description

Header declaring a mock function for malloc().

Function Documentation

◆ __wrap_malloc()

void* __wrap_malloc ( size_t  size)

Mock function for malloc().

Checks that the right parameters are given and return a preset pointer.