1#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_LIB_FINAL_STATE_H_
2#define BACKENDS_P4TOOLS_MODULES_TESTGEN_LIB_FINAL_STATE_H_
8#include "backends/p4tools/common/lib/model.h"
9#include "backends/p4tools/common/lib/trace_event.h"
11#include "midend/coverage.h"
13#include "backends/p4tools/modules/testgen/lib/concolic.h"
14#include "backends/p4tools/modules/testgen/lib/execution_state.h"
16namespace P4::P4Tools::P4Testgen {
23 std::reference_wrapper<AbstractSolver>
solver;
26 std::reference_wrapper<const ExecutionState> state;
29 std::reference_wrapper<const Model> finalModel;
32 std::vector<std::reference_wrapper<const TraceEvent>> trace;
43 bool postProcess =
true);
72 [[nodiscard]]
const std::vector<std::reference_wrapper<const TraceEvent>> *
getTraces()
const;
Provides a higher-level interface for an SMT solver.
Definition solver.h:24
std::set< const IR::Node *, SourceIdCmp > CoverageSet
Definition coverage.h:39
Definition phv/solver/action_constraint_solver.cpp:33