Failmalloc 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.
tags memory allocation
Download Failmalloc 0.1
Other software in this category
- Desktop Environment
- Science and Engineering
- Text Editing&Processing