Module align

Module align 

Source
Expand description

SMT lowering for the Align safety property.

This module reduces:

Align(p, T)

to the common SMT obligation:

Aligned { place: p, align: align_of(T) }

The common model then proves the obligation by asking whether the path facts plus the negated alignment goal are satisfiable.

Functionsยง

check ๐Ÿ”’
Check Align by lowering it to SmtObligation::Aligned.
check_for_checkpoint ๐Ÿ”’
Check Align at a return checkpoint for struct invariant verification.