#include "string_refinement_util.h"#include <numeric>#include <util/arith_tools.h>#include <util/expr_util.h>#include <util/magic.h>#include <util/namespace.h>#include <util/std_expr.h>#include <util/unicode.h>Go to the source code of this file.
expr is an array of characters Definition at line 45 of file string_refinement_util.cpp.
type is an pointer of characters. The meaning of "subtype" is in the algebraic datatype sense: for example, the subtypes of a struct are the types of its components, the subtype of a pointer is the type it points to, etc... Definition at line 40 of file string_refinement_util.cpp.
Distinguish char array from other types.
For now, any unsigned bitvector type is considered a character.
Definition at line 26 of file string_refinement_util.cpp.
For now, any unsigned bitvector type is considered a character.
Definition at line 34 of file string_refinement_util.cpp.
For now, any unsigned bitvector type of width smaller or equal to 16 is considered a character.
Definition at line 20 of file string_refinement_util.cpp.
Construct a string from a constant array.
length represented by the array assuming each field in arr represents a character. Definition at line 52 of file string_refinement_util.cpp.