libfiu is a C library for fault injection.
It provides functions to mark "points of failure" inside your code (the core API), and functions to enable/disable the failure of those points (the control API).
The core API is used inside the code wanting to perform failure injection on. The control API is used inside the testing code, in order to control the injection of failures.
It also comes with some tools that can be used to perform fault injection in the POSIX API without having to modify the application's source code, that can help to test failure handling in an easy and reproducible way.
libfiu is licensed in the public domain, completely open source, so you can run the software anywhere, and link the library with whatever you want.
What's New in This Release: [ read full changelog ]
· This version mostly fixes some bugs in the wrapping of malloc()-related functions and in the backtrace-triggered failure points.