~/talk

Automatically Enforcing Rust Trait Properties

Talkat VMCAI 2024 · 2024-01-15..01-16· [rust, software-architecture]
links:none on file
links:none on file
slides:none on file

A VS Code tool automatically generates trait-check harnesses and uses Kani bounded verification to assert trait invariants (equality reflexivity/symmetry/transitivity, partial/total order, From/Into, AsMut/AsRef). It runs 42 harnesses across six crates with most checks under 10s, integrates an add trait test button and one-click run, and reports concrete counterexamples; it discovers practical bugs such as a potential multiplication overflow in PROST!'s year-to-seconds conversion and overall found 3 issues in PROST!.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.