alloc: Add IOT SDK specific dynamic memory management
The added functions for dynamic memory management currently map to the
standard library functions. However, they can be extended to provide
more useful information.
The module is also useful for the purpose of mocking dynamic memory
allocation in unit tests to simulate behaviours when dynamic memory
allocation fails. This is because googletest also uses the standard
library dynamic memory management functions and mocking such functions
leads to errors with the test framework.
Signed-off-by:
Hugues Kamba-Mpiana <hugues.kambampiana@arm.com>
Loading
Please register or sign in to comment