CBMC
|
Defines string constraints. More...
Go to the source code of this file.
Classes | |
class | string_constraintt |
struct | string_not_contains_constraintt |
Constraints to encode non containement of strings. More... | |
struct | std::hash< string_not_contains_constraintt > |
Functions | |
std::string | to_string (const string_constraintt &expr) |
Used for debug printing. More... | |
std::string | to_string (const string_not_contains_constraintt &expr) |
Used for debug printing. More... | |
void | replace (const union_find_replacet &replace_map, string_not_contains_constraintt &constraint) |
bool | operator== (const string_not_contains_constraintt &left, const string_not_contains_constraintt &right) |
Defines string constraints.
These are formulas talking about strings. We implemented two forms of constraints: string_constraintt
are formulas of the form \(\forall univ\_var \in [lb,ub[. prem => body\), and not_contains_constraintt of the form: \(\forall x \in [lb,ub[. p(x) => \exists y \in [lb,ub[. s1[x+y] \ne s2[y]\).
Definition in file string_constraint.h.
bool operator== | ( | const string_not_contains_constraintt & | left, |
const string_not_contains_constraintt & | right | ||
) |
Definition at line 83 of file string_constraint.cpp.
void replace | ( | const union_find_replacet & | replace_map, |
string_not_contains_constraintt & | constraint | ||
) |
Definition at line 70 of file string_constraint.cpp.
|
inline |
Used for debug printing.
expr | constraint to render |
Definition at line 110 of file string_constraint.h.
std::string to_string | ( | const string_not_contains_constraintt & | expr | ) |
Used for debug printing.
[in] | expr | constraint to render |
Definition at line 58 of file string_constraint.cpp.