Failmalloc 0.1 review
DownloadFailmalloc generates a shared library which can be loaded by LD_PRELOAD or linked at compilation time
|
|
Failmalloc generates a shared library which can be loaded by LD_PRELOAD or linked at compilation time. Failmalloc is meant to demonstrate what really happens if memory allocation fails, which is a necessary part of testing the robustness of a program.
Failmalloc inserts hooks into your program which induce failures of memory allocation calls. The functions "malloc", "realloc", and "memalign" are hooked, but other functions which use one of these functions are also affected.
Failmalloc 0.1 keywords