klee
SeedInfo.h
Go to the documentation of this file.
1//===-- SeedInfo.h ----------------------------------------------*- C++ -*-===//
2//
3// The KLEE Symbolic Virtual Machine
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef KLEE_SEEDINFO_H
11#define KLEE_SEEDINFO_H
12
14
15extern "C" {
16 struct KTest;
17 struct KTestObject;
18}
19
20namespace klee {
21 class ExecutionState;
22 class TimingSolver;
23 class MemoryObject;
24
25 class SeedInfo {
26 public:
29 unsigned inputPosition;
30 std::set<struct KTestObject*> used;
31
32 public:
33 explicit
34 SeedInfo(KTest *_input) : assignment(true),
35 input(_input),
36 inputPosition(0) {}
37
39 bool byName);
40
43 void patchSeed(const ExecutionState &state,
44 ref<Expr> condition,
45 TimingSolver *solver);
46 };
47}
48
49#endif /* KLEE_SEEDINFO_H */
ExecutionState representing a path under exploration.
std::set< struct KTestObject * > used
Definition: SeedInfo.h:30
KTest * input
Definition: SeedInfo.h:28
KTestObject * getNextInput(const MemoryObject *mo, bool byName)
Definition: SeedInfo.cpp:24
unsigned inputPosition
Definition: SeedInfo.h:29
Assignment assignment
Definition: SeedInfo.h:27
void patchSeed(const ExecutionState &state, ref< Expr > condition, TimingSolver *solver)
Definition: SeedInfo.cpp:62
SeedInfo(KTest *_input)
Definition: SeedInfo.h:34
Definition: main.cpp:291
Definition: KTest.h:25