Loading...
Searching...
No Matches
java_trace_validation.h File Reference
+ Include dependency graph for java_trace_validation.h:
+ This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Checks that the structure of each step of the trace matches certain criteria.
Recursively extracts the first operand of an expression until it reaches a symbol and returns it, or returns an empty optional.
Macro Definition Documentation
◆ HELP_JAVA_TRACE_VALIDATION
#
define HELP_JAVA_TRACE_VALIDATION
Value: /*NOLINT*/ \
" {y--validate-trace} \t throw an error if the structure of the" \
" counterexample trace does not match certain assumptions (experimental," \
" currently java only)\n"
Definition at line 30 of file java_trace_validation.h.
◆ OPT_JAVA_TRACE_VALIDATION
#
define OPT_JAVA_TRACE_VALIDATION
Function Documentation
◆ can_evaluate_to_constant()
- Returns
- true iff the expression is a constant or symbol expression, i.e., one that can be evaluated to a literal, as for for a index value
Definition at line 78 of file java_trace_validation.cpp.
◆ check_address_structure()
◆ check_constant_structure()
◆ check_index_structure()
- Returns
- true iff the expression is an index expression and has a valid symbol and index value as operands
Definition at line 86 of file java_trace_validation.cpp.
◆ check_member_structure()
- Returns
- true iff the expression is a member expression (or nested member expression) of a valid symbol
Definition at line 52 of file java_trace_validation.cpp.
◆ check_struct_structure()
◆ check_symbol_structure()
- Returns
- true iff the expression is a symbol expression and has a non-empty identifier
Definition at line 21 of file java_trace_validation.cpp.
◆ check_trace_assumptions()
◆ get_inner_symbol_expr()
Recursively extracts the first operand of an expression until it reaches a symbol and returns it, or returns an empty optional.
Definition at line 39 of file java_trace_validation.cpp.
◆ valid_lhs_expr_high_level()
- Returns
- true iff the left hand side is superficially an expected expression type
Definition at line 60 of file java_trace_validation.cpp.
◆ valid_rhs_expr_high_level()
- Returns
- true iff the right hand side is superficially an expected expression type
Definition at line 67 of file java_trace_validation.cpp.