1#ifndef BACKENDS_P4TOOLS_COMMON_LIB_VARIABLES_H_
2#define BACKENDS_P4TOOLS_COMMON_LIB_VARIABLES_H_
5#include "lib/cstring.h"
19namespace ToolsVariables {
24static const cstring VALID =
"*valid"_cs;
30const IR::StateVariable &getStateVariable(
const IR::Type *type,
cstring name);
36const IR::SymbolicVariable *getSymbolicVariable(
const IR::Type *type,
cstring name);
41const IR::TaintExpression *getTaintExpression(
const IR::Type *type);
47IR::StateVariable getHeaderValidity(
const IR::Expression *headerRef);
51IR::StateVariable convertReference(
const IR::Expression *ref);