Closed timberjack closed 9 years ago
Your understanding of what fi_cycle is doing is correct. Basically, it tells you in which invocation of the fault injection site the fault should be injected. So perhaps the word cycle is a misnomer - it should be execution count. That said, the parameter should influence faultinjection.exe. We'll look into this issue.
@karfair can you please take a look at this and see if we're able to reproduce this issue ? Thanks,
From what I understand, the injectfault.py script either generates a random fi_cycle or reads a fi_cycle from the input.yaml and writes it into llfi.config.runtime.txt. The fault injection executable then automatically reads the injection settings from this file, so the fi_cycle specified in the input.yaml will influence the execution of faultinjection.exe.
It looks like this is a non-issue as the fault injection executable does take the fi_cycle into account, so I'm closing it. Please reopen it if there is still an issue. Thanks.
Dear author,
I am trying to study into the scripts of LLFI recently.
About the problem, I feel it is a little bit odd about fi_cycle. I think this variable is defined to be a param to stand for in which cycle the fault should be injected to (I am not sure this understanding), but I find that in "injectfault.py" script, fi_cycle is just read from input.yaml or generated randomly, without influencing the execution of faultinjection.exe. Does it mean that fi_cycle does actually no effect?
Thanks, Xianan