|
ESBMC
Efficient SMT-based Context-Bounded Model Checker
|
#include <memory>#include <charconv>#include <unordered_map>#include <util/arith/fixedbv.h>#include <util/base/i2string.h>#include <util/arith/ieee_float.h>#include <irep2/irep2_type.h>#include <irep2/irep2_expr.h>#include <irep2/irep2_utils.h>#include <irep2/irep2_dispatch.h>#include <util/message/format.h>#include <util/irep/migrate.h>#include <irep2/expr_kinds.inc>Macros | |
| #define | IREP2_EXPR(kind, pretty) |
| #define | IREP2_EXPR(kind, _) |
| #define | IREP2_EXPR(kind, _) |
| #define | IREP2_EXPR(kind, _) |
| #define | IREP2_EXPR(kind, _) |
| #define | IREP2_EXPR(kind, _) |
| #define | IREP2_EXPR(kind, _) |
| #define | IREP2_EXPR(kind, _) |
| #define | IREP2_EXPR(kind, _) |
| #define | IREP2_EXPR(kind, _) |
Functions | |
| void | irep2_bad_expr_cast (unsigned actual, unsigned expected, const char *target) |
| std::string | get_expr_id (const expr2t &expr) |
| Fetch string identifier for an expression. | |
| static void | assert_type_compat_for_with (const type2tc &a, const type2tc &b) |
| printf_kindt | printf_kind_from_name (const irep_idt &name) |
| Maps the textual base_name of a printf-family symbol (e.g. | |
| void | assert_arith_2ops_consistency (const type2tc &t, expr2t::expr_ids id, const expr2tc &v1, const expr2tc &v2) |
| Debug-only consistency check for arith_2ops operands and result type. | |
Variables | |
| static const char * | expr_names [] |
| #define IREP2_EXPR | ( | kind, | |
| _ ) |
| #define IREP2_EXPR | ( | kind, | |
| _ ) |
| #define IREP2_EXPR | ( | kind, | |
| _ ) |
| #define IREP2_EXPR | ( | kind, | |
| _ ) |
| #define IREP2_EXPR | ( | kind, | |
| _ ) |
| #define IREP2_EXPR | ( | kind, | |
| _ ) |
| #define IREP2_EXPR | ( | kind, | |
| _ ) |
| #define IREP2_EXPR | ( | kind, | |
| _ ) |
| #define IREP2_EXPR | ( | kind, | |
| _ ) |
| #define IREP2_EXPR | ( | kind, | |
| pretty ) |
| void assert_arith_2ops_consistency | ( | const type2tc & | t, |
| expr2t::expr_ids | id, | ||
| const expr2tc & | v1, | ||
| const expr2tc & | v2 ) |
Debug-only consistency check for arith_2ops operands and result type.
Called from add2t/sub2t/mul2t/div2t/modulus2t constructors; no-op in Release.
| std::string get_expr_id | ( | const expr2t & | expr | ) |
Fetch string identifier for an expression.
| expr | Expression to operate upon |
| void irep2_bad_expr_cast | ( | unsigned | actual, |
| unsigned | expected, | ||
| const char * | target ) |
| printf_kindt printf_kind_from_name | ( | const irep_idt & | name | ) |
Maps the textual base_name of a printf-family symbol (e.g.
"printf", "snprintf") onto a printf_kindt. Aborts on an unknown name.
|
static |