CBMC
value_set.cpp File Reference

Value Set. More...

#include "value_set.h"
#include <util/arith_tools.h>
#include <util/bitvector_expr.h>
#include <util/byte_operators.h>
#include <util/c_types.h>
#include <util/format_expr.h>
#include <util/format_type.h>
#include <util/namespace.h>
#include <util/pointer_expr.h>
#include <util/pointer_offset_size.h>
#include <util/prefix.h>
#include <util/range.h>
#include <util/simplify_expr.h>
#include <util/std_code.h>
#include <util/symbol.h>
#include <util/xml.h>
#include <ostream>
#include "add_failed_symbols.h"
+ Include dependency graph for value_set.cpp:

Go to the source code of this file.

Functions

static bool suffix_starts_with_field (const std::string &suffix, const std::string &field)
 Check if 'suffix' starts with 'field'. More...
 
static std::string strip_first_field_from_suffix (const std::string &suffix, const std::string &field)
 

Detailed Description

Value Set.

Definition in file value_set.cpp.

Function Documentation

◆ strip_first_field_from_suffix()

static std::string strip_first_field_from_suffix ( const std::string &  suffix,
const std::string &  field 
)
static

Definition at line 442 of file value_set.cpp.

◆ suffix_starts_with_field()

static bool suffix_starts_with_field ( const std::string &  suffix,
const std::string &  field 
)
static

Check if 'suffix' starts with 'field'.

Suffix is delimited by periods and '[]' (array access) tokens, so we're looking for ".field($|[]|.)"

Definition at line 430 of file value_set.cpp.