故障注入的C库 libfiu

Public Domain
C/C++
Linux
2012-03-30
红薯

libfiu是一个故障注入的C库。它提供用于标识“故障点”(“核心API”)里面的代码,功能启用/禁用这些点的失败(“控制API”)。核心API内部使用上要执行故障注入代码。控制API用于内部测试代码,以控制注入失败。

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 on which you want to perform failure injection. The control API is used inside the testing code in order to control the injection of failures.

加载中

评论(0)

暂无评论

暂无资讯

暂无问答

Linux调试工具

1. 使用printf调试 #ifdef DEBUG Printf(“valriable x has value = %d\n”, x) #endif 然后在编译选项中加入-DDEBUG 更复杂的调试应用如: #define BASIC_DEBUG 1 #define EXTRA_DEBUG 2 #d...

08/11 00:08
4
0

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部