1#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_EBPF_TEST_BACKEND_H_
2#define BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_EBPF_TEST_BACKEND_H_
11#include "backends/p4tools/common/lib/model.h"
12#include "backends/p4tools/common/lib/trace_event.h"
14#include "lib/big_int_util.h"
16#include "backends/p4tools/modules/testgen/core/program_info.h"
17#include "backends/p4tools/modules/testgen/core/symbolic_executor/symbolic_executor.h"
18#include "backends/p4tools/modules/testgen/lib/execution_state.h"
19#include "backends/p4tools/modules/testgen/lib/test_backend.h"
20#include "backends/p4tools/modules/testgen/lib/test_spec.h"
22namespace P4::P4Tools::P4Testgen::EBPF {
30 static const int ZERO_PKT_WIDTH = 32;
31 static const big_int ZERO_PKT_VAL;
32 static const big_int ZERO_PKT_MAX;
34 static const std::vector<std::string> SUPPORTED_BACKENDS;
43 const IR::Expression *outputPacketExpr,
const IR::Expression *outputPortExpr,
44 const std::vector<std::reference_wrapper<const TraceEvent>> *programTraces)
override;