Added BasicBlock- and CallRegionPruner

Implemented two instantiations of Fault-Space Regions (FSR) as a program-structure-guided approximation of fault spaces based on the precise Def/Use-Pruning using basic blocks or function calls.

Further reading:
Program-Structure-Guided Approximation of Large Fault Spaces
Oskar Pusz and Daniel Kiechle and Christian Dietrich and Daniel Lohmann
In: 24th Pacific Rim International Symposium on Dependable Computing (PRDC'19)
IEEE Computer Science Press, 2019

Some configurations for bochs and generic-experiment
This commit is contained in:
Oskar Pusz
2019-10-28 09:51:07 +01:00
parent aec09d1565
commit 956112cc01
7 changed files with 552 additions and 3 deletions

View File

@ -11,10 +11,11 @@ protected:
int m_method_id;
fail::Database *db;
std::vector<fail::Database::Variant> m_variants;
std::string m_variants_sql;
std::string m_variants_sql, trace_file;
public:
void set_db(fail::Database *db) { this->db = db; }
void set_traceFile(std::string trace_file) { this->trace_file = trace_file; }
bool init(
const std::vector<std::string>& variants,
@ -43,6 +44,8 @@ public:
* is incapable of working in the desired mode.
*/
virtual bool set_incremental(bool incremental) { return !incremental; }
virtual ~Pruner() {}
};
#endif