diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/Internal/ADT/KTest.h (renamed from include/klee/Internal/ADT/BOut.h) | 32 | ||||
-rw-r--r-- | include/klee/Interpreter.h | 6 |
2 files changed, 19 insertions, 19 deletions
diff --git a/include/klee/Internal/ADT/BOut.h b/include/klee/Internal/ADT/KTest.h index 14aeb714..c6586f9e 100644 --- a/include/klee/Internal/ADT/BOut.h +++ b/include/klee/Internal/ADT/KTest.h @@ -1,4 +1,4 @@ -//===-- BOut.h --------------------------------------------------*- C++ -*-===// +//===-- KTest.h --------------------------------------------------*- C++ -*-===// // // The KLEE Symbolic Virtual Machine // @@ -7,23 +7,23 @@ // //===----------------------------------------------------------------------===// -#ifndef __COMMON_BOUT_H__ -#define __COMMON_BOUT_H__ +#ifndef __COMMON_KTEST_H__ +#define __COMMON_KTEST_H__ #ifdef __cplusplus extern "C" { #endif - typedef struct BOutObject BOutObject; - struct BOutObject { + typedef struct KTestObject KTestObject; + struct KTestObject { char *name; unsigned numBytes; unsigned char *bytes; }; - typedef struct BOut BOut; - struct BOut { + typedef struct KTest KTest; + struct KTest { /* file format version */ unsigned version; @@ -34,26 +34,26 @@ extern "C" { unsigned symArgvLen; unsigned numObjects; - BOutObject *objects; + KTestObject *objects; }; - /* returns the current .bout file format version */ - unsigned bOut_getCurrentVersion(); + /* returns the current .ktest file format version */ + unsigned kTest_getCurrentVersion(); - /* return true iff file at path matches BOut header */ - int bOut_isBOutFile(const char *path); + /* return true iff file at path matches KTest header */ + int kTest_isKTestFile(const char *path); /* returns NULL on (unspecified) error */ - BOut* bOut_fromFile(const char *path); + KTest* kTest_fromFile(const char *path); /* returns 1 on success, 0 on (unspecified) error */ - int bOut_toFile(BOut *, const char *path); + int kTest_toFile(KTest *, const char *path); /* returns total number of object bytes */ - unsigned bOut_numBytes(BOut *); + unsigned kTest_numBytes(KTest *); - void bOut_free(BOut *); + void kTest_free(KTest *); #ifdef __cplusplus } diff --git a/include/klee/Interpreter.h b/include/klee/Interpreter.h index eca6e59e..14e653c1 100644 --- a/include/klee/Interpreter.h +++ b/include/klee/Interpreter.h @@ -14,7 +14,7 @@ #include <map> #include <set> -struct BOut; +struct KTest; namespace llvm { class Function; @@ -102,7 +102,7 @@ public: // supply a test case to replay from. this can be used to drive the // interpretation down a user specified path. use null to reset. - virtual void setReplayOut(const struct BOut *out) = 0; + virtual void setReplayOut(const struct KTest *out) = 0; // supply a list of branch decisions specifying which direction to // take on forks. this can be used to drive the interpretation down @@ -111,7 +111,7 @@ public: // supply a set of symbolic bindings that will be used as "seeds" // for the search. use null to reset. - virtual void useSeeds(const std::vector<struct BOut *> *seeds) = 0; + virtual void useSeeds(const std::vector<struct KTest *> *seeds) = 0; virtual void runFunctionAsMain(llvm::Function *f, int argc, |