LLFI is an LLVM based fault injection tool, that injects faults into the LLVM IR of the application source code. The faults can be injected into specific program points, and the effect can be easily tracked back to the source code. Please refer to the paper below. NOTE: If you publish a paper using LLFI, please add it to PaperLLFI.bib
When fault injection is performed the llfi.stat files are not generated and it results as follows: (This occurs only for 32-bit system and works fine for 64-bit)
factorial-faultinjection.exe: /home/nithyan/Installer-Package/llfisrc/runtime_lib/FaultInjectionLib.c:135: preFunc: Assertion `opcodecyclearray[opcode] >= 0 && "opcode does not exist, need to update instructions.def"' failed.
Kernel: Forcing run
Run fault injection executable with default timeout 500
======Fault Injection======
---FI Config #0---
[>--------------------------------------------------] 0.0% (0 / 2) factorial-faultinjection.exe: /home/nithyan/Installer-Package/llfisrc/runtime_lib/FaultInjectionLib.c:135: preFunc: Assertion `opcodecyclearray[opcode] >= 0 && "opcode does not exist, need to update instructions.def"' failed.
When fault injection is performed the llfi.stat files are not generated and it results as follows: (This occurs only for 32-bit system and works fine for 64-bit)
factorial-faultinjection.exe: /home/nithyan/Installer-Package/llfisrc/runtime_lib/FaultInjectionLib.c:135: preFunc: Assertion `opcodecyclearray[opcode] >= 0 && "opcode does not exist, need to update instructions.def"' failed.
Kernel: Forcing run
Run fault injection executable with default timeout 500
======Fault Injection======
---FI Config #0---
[>--------------------------------------------------] 0.0% (0 / 2) factorial-faultinjection.exe: /home/nithyan/Installer-Package/llfisrc/runtime_lib/FaultInjectionLib.c:135: preFunc: Assertion `opcodecyclearray[opcode] >= 0 && "opcode does not exist, need to update instructions.def"' failed.
[=========================>-------------------------] 50.0% (1 / 2)
[==================================================>] 100.0% (2 / 2)