Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start a SAW Rust verification tutorial #1939

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Start a SAW Rust verification tutorial #1939

merged 1 commit into from
Dec 19, 2023

Conversation

RyanGlScott
Copy link
Contributor

@RyanGlScott RyanGlScott commented Sep 15, 2023

This patch adds an incomplete tutorial on how to use SAW to verify Rust code, which complements the existing tutorial that covers LLVM and JVM verification. This tutorial currently covers everything that has been implemented in SAW, which includes:

  • mir-json
  • mir_verify basics
  • References
  • Arrays
  • Tuples
  • Structs
  • Enums
  • mir_fresh_expanded_value
  • Slices
  • Overrides
  • Statics

The final section of the tutorial describes a case study using SAW to verify a real-world piece of Rust code that implements the Salsa20 stream cipher.

Related to #1859.

This patch adds an incomplete tutorial on how to use SAW to verify Rust code,
which complements the existing tutorial that covers LLVM and JVM verification.
This tutorial currently covers everything that has been implemented in SAW,
which includes:

* `mir-json`
* `mir_verify` basics
* References
* Arrays
* Tuples
* Structs
* Enums
* `mir_fresh_expanded_value`
* Slices
* Overrides
* Statics

The final section of the tutorial describes a case study using SAW to verify a
real-world piece of Rust code that implements the Salsa20 stream cipher.

Related to #1859.
@RyanGlScott RyanGlScott marked this pull request as ready for review December 17, 2023 20:28
@RyanGlScott RyanGlScott added the crucible/mir Related to crucible-mir verification label Dec 19, 2023
@RyanGlScott RyanGlScott merged commit 2d0e3d1 into master Dec 19, 2023
38 checks passed
@RyanGlScott RyanGlScott deleted the T1859-tutorial branch December 19, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crucible/mir Related to crucible-mir verification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant