Module verifier

Module verifier 

Source
Expand description

Forward visitor for relevant MIR items.

This module consumes the MIR items produced by backward_visit and visits them in path order. The current implementation is a skeleton: it records simple value/fact summaries and leaves unsupported MIR effects as notes so later property checkers can be added incrementally.

StructsΒ§

CallSummary
Summary for a retained call terminator.
ForwardVerifier
Visits relevant MIR items forward and builds an abstract state.
ForwardVisitResult
Result produced by visiting relevant MIR items forward.
ValueDefinition
One local definition observed while replaying retained MIR items.

EnumsΒ§

AbstractValue
Abstract value assigned to a MIR local by the forward visitor.
ForwardStep
One step visited by the forward visitor.
StateFact
Fact recorded from a relevant MIR item.

FunctionsΒ§

aggregate_name πŸ”’
Return a compact aggregate kind name.
align_guard_value πŸ”’
allocation_object_for_source πŸ”’
chosen_successor πŸ”’
Return the next MIR block after block in a finite verification path.
chosen_switch_value πŸ”’
Return the concrete SwitchInt value that selects the next path block.
const_int_from_debug πŸ”’
Extract a small integer constant from rustc’s debug representation.
const_int_value πŸ”’
copy_chain_places πŸ”’
extract_const_param_name πŸ”’
find_cmp_source πŸ”’
fixed_allocation_elements πŸ”’
is_const_zero πŸ”’
is_power_of_two πŸ”’
known_alignment_of πŸ”’
maybe_uninit_inner_ty_name πŸ”’
operand_place πŸ”’
Convert an operand into a place key when it names a MIR place.
resolve_value_chain πŸ”’
value_from_operand πŸ”’
Convert a MIR operand to an abstract value.