From 811921cfc620b261e4d76a8f2ccb438651f40fc7 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Mon, 1 May 2023 13:57:33 +0900 Subject: Half-bake decision clustering --- lib/Core/Executor.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'lib/Core/Executor.h') diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h index af3a3778..89819157 100644 --- a/lib/Core/Executor.h +++ b/lib/Core/Executor.h @@ -15,7 +15,6 @@ #ifndef KLEE_EXECUTOR_H #define KLEE_EXECUTOR_H -#include "Differentiator.h" #include "ExecutionState.h" #include "UserSearcher.h" @@ -109,6 +108,12 @@ public: RNG theRNG; private: + typedef std::vector TestArgs; + /// :rev (:var val) stdout + typedef std::map, + std::string>> TestOuts; + std::unique_ptr kmodule; InterpreterHandler *interpreterHandler; Searcher *searcher; @@ -119,7 +124,7 @@ private: std::set states; std::set exitStates; std::map metaEnvVars; - std::vector diffTests; + std::map diffTests; StatsTracker *statsTracker; TreeStreamWriter *pathWriter, *symPathWriter; SpecialFunctionHandler *specialFunctionHandler; @@ -602,7 +607,12 @@ public: MergingSearcher *getMergingSearcher() const { return mergingSearcher; }; void setMergingSearcher(MergingSearcher *ms) { mergingSearcher = ms; }; }; - + +/// Return if name matches arg\d\d +bool isSymArg(std::string); + +/// Return if name matches out!.*\d +bool isSymOut(std::string); } // End klee namespace #endif /* KLEE_EXECUTOR_H */ -- cgit 1.4.1