1#ifndef BACKENDS_P4TOOLS_COMMON_LIB_VARIABLES_H_
2#define BACKENDS_P4TOOLS_COMMON_LIB_VARIABLES_H_
5#include "lib/cstring.h"
17namespace ToolsVariables {
22static const cstring VALID =
"*valid";
28const IR::StateVariable &getStateVariable(
const IR::Type *type,
cstring name);
34const IR::SymbolicVariable *getSymbolicVariable(
const IR::Type *type,
cstring name);
39const IR::TaintExpression *getTaintExpression(
const IR::Type *type);
45IR::StateVariable getHeaderValidity(
const IR::Expression *headerRef);
49IR::StateVariable convertReference(
const IR::Expression *ref);