Add mechanism to set custom malloc/realloc/free implementations
The motivation is to be able in particular to limit allocations done by malloc/realloc well before the operating system would reject them.
The motivation is to be able in particular to limit allocations done by malloc/realloc well before the operating system would reject them.