The dciao-kernelstructs experiment does a trace imported by the DCiAOKernelImporter: bin/import-trace -t trace.pb -i DCiAOKernelImporter --elf-file app.elf Pruned by the basic method: bin/prune-trace and does CiAO fault injection experiments, where the results are stored in the database. Change-Id: I485dc2e5097b3ebaf354241f474ee3d317213707
21 lines
386 B
C++
21 lines
386 B
C++
#include <iostream>
|
|
#include <cstdlib>
|
|
|
|
#include "cpn/CampaignManager.hpp"
|
|
#include "util/CommandLine.hpp"
|
|
#include "campaign.hpp"
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
fail::CommandLine &cmd = fail::CommandLine::Inst();
|
|
for (int i = 1; i < argc; ++i)
|
|
cmd.add_args(argv[i]);
|
|
|
|
DCIAOKernelCampaign c;
|
|
if (fail::campaignmanager.runCampaign(&c)) {
|
|
return 0;
|
|
} else {
|
|
return 1;
|
|
}
|
|
}
|