globally rename Fail* to FAIL*
Change-Id: Ief2cb687cc69dd92c2e04f9314f0f1347e0a84ed
This commit is contained in:
@ -93,7 +93,7 @@ bool CoolChecksumExperiment::run()
|
||||
#endif
|
||||
|
||||
#elif 1
|
||||
// FIXME consider moving experiment repetition into Fail* or even the
|
||||
// FIXME consider moving experiment repetition into FAIL* or even the
|
||||
// SAL -- whether and how this is possible with the chosen backend is
|
||||
// backend specific
|
||||
for (int i = 0; i < 2000; ++i) {
|
||||
|
||||
@ -152,7 +152,7 @@ private:
|
||||
/**
|
||||
* Adds the value of the config file to the parameter list and
|
||||
* parse the parameter list. This function makes use of the
|
||||
* CommandLine Parser from the fail* framework.
|
||||
* CommandLine Parser from the FAIL* framework.
|
||||
*/
|
||||
void parseOptions(L4SysConfig&);
|
||||
|
||||
|
||||
@ -34,7 +34,7 @@ you to read this whole document before investigating further.
|
||||
\section{Overview}
|
||||
|
||||
This is the user manual of the \lfs{} generic system test framework.
|
||||
The framework builds on Fail* and provides means to perform fault injection
|
||||
The framework builds on FAIL* and provides means to perform fault injection
|
||||
experiments for applications running on top of the Fiasco.OC/L4Re
|
||||
microkernel-based operating system as well as the underlying microkernel.
|
||||
|
||||
@ -47,13 +47,13 @@ microkernel-based operating system as well as the underlying microkernel.
|
||||
\noindent \lfs{} currently works for x86/32 running in Fail/Bochs only.
|
||||
This is partly due to some issues with timing --- as soon as a valid model of
|
||||
time in the target emulator as well as an assembler/disassembler functionality
|
||||
in the Fail* framework are established, I would recommend a backend change, as
|
||||
in the FAIL* framework are established, I would recommend a backend change, as
|
||||
Bochs' reliability is very limited.
|
||||
|
||||
\section{Framework Setup}
|
||||
|
||||
To prepare a fault injection campaign you will first need to configure and
|
||||
build Fail* itself. This process is described in \texttt{doc/how-to-build.txt}.
|
||||
build FAIL* itself. This process is described in \texttt{doc/how-to-build.txt}.
|
||||
The following CMake flags need to be set:
|
||||
|
||||
\begin{itemize}[itemsep=0em]
|
||||
@ -94,7 +94,7 @@ in Bochs.
|
||||
|
||||
\section{Client Setup}
|
||||
|
||||
Now that we have Fail* and the L4Re setup running, we can prepare our fault
|
||||
Now that we have FAIL* and the L4Re setup running, we can prepare our fault
|
||||
injection campaign. This requires three (+ one optional) steps:
|
||||
\begin{enumerate}[topsep=0em,itemsep=0em]
|
||||
\item \emph{OPTIONAL:} If we want to perform a campaign that only targets
|
||||
@ -203,7 +203,7 @@ be added to specify the host name or ip addr. of the machine running
|
||||
|
||||
Each experiment client processes exactly one experiment
|
||||
and exits. To complete your campaign, you should use the \verb+client.sh+
|
||||
script in the \texttt{scripts} subdirectory of Fail*.
|
||||
script in the \texttt{scripts} subdirectory of FAIL*.
|
||||
|
||||
|
||||
\section{Get your results}
|
||||
|
||||
@ -126,7 +126,7 @@ bool NanoJPEGCampaign::run()
|
||||
// all IN registers close an equivalence class and generate experiments
|
||||
for (Udis86Helper::UDRegisterSet::const_iterator it = in_regs.begin();
|
||||
it != in_regs.end(); ++it) {
|
||||
// determine Fail* register ID and bitmask
|
||||
// determine FAIL* register ID and bitmask
|
||||
uint64_t access_mask;
|
||||
fail::GPRegisterId reg = udis_helper.udisGPRToFailBochsGPR(*it, access_mask);
|
||||
uint64_t remaining_access_mask = access_mask;
|
||||
@ -168,7 +168,7 @@ bool NanoJPEGCampaign::run()
|
||||
// special case: empty EC!
|
||||
for (Udis86Helper::UDRegisterSet::const_iterator it = out_regs.begin();
|
||||
it != out_regs.end(); ++it) {
|
||||
// determine Fail* register ID and bitmask
|
||||
// determine FAIL* register ID and bitmask
|
||||
uint64_t access_mask;
|
||||
fail::GPRegisterId reg = udis_helper.udisGPRToFailBochsGPR(*it, access_mask);
|
||||
uint64_t remaining_access_mask = access_mask;
|
||||
@ -213,7 +213,7 @@ bool NanoJPEGCampaign::run()
|
||||
// close all open ECs
|
||||
for (map<GPRegisterId, std::list<std::pair<unsigned, uint64_t> > >::iterator it = reg_cascade.begin();
|
||||
it != reg_cascade.end(); ++it) {
|
||||
// determine Fail* register ID and bitmask
|
||||
// determine FAIL* register ID and bitmask
|
||||
uint64_t access_mask = 0xffffffffULL;
|
||||
fail::GPRegisterId reg = it->first;
|
||||
uint64_t remaining_access_mask = access_mask;
|
||||
|
||||
Reference in New Issue
Block a user