libfiu - Fault injection in userspace
About
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.
It's licensed in the public domain, completely open source, so you can run the software anywhere, and link the library with whatever you want.
Documentation
The recommended starting point is the user guide, which has a general introduction and code examples.There is also a guide on how to simulate failures in POSIX functions, and manpages for libfiu (the library itself), and the fiu-run and fiu-ctrl utilities.
Download
The current version is 0.13 (released on 2009-07-13): You can also browse all released files.Debian users can also install it using apt-get install libfiu-dev fiu-utils [python-fiu] (note it may be an older version).
Patches are welcome. The source code is managed using git. You can browse the repository or clone it by running:
git clone git://blitiri.com.ar/libfiu
If you want to be notified about new releases, you can use identi.ca, twitter, freshmeat, or just send me an email.
Alberto Bertogli (albertito@blitiri.com.ar) - Last updated 28/Mar/2010