No-cheating mode #1292
Replies: 3 comments 1 reply
-
With regards to When building a verified application, then I would like to know whether some of my dependencies are using assumes/external body. Having a tool like cargo-geiger for "cheats" that produces a report or so that shows 1) what is trusted and 2) the usages of assumes/external_body |
Beta Was this translation helpful? Give feedback.
-
@Chris-Hawblitzel: on a list of modules at the root of the crate, you can @Chris-Hawblitzel, @utaal: instead let's have a crate-root-level mechanism to mark allowed @Chris-Hawblitzel: Verus can enforce a policy that |
Beta Was this translation helpful? Give feedback.
-
Note that we also discussed connecting There's also some older but possibly relevant discussion w.r.t. trusted/untrusted splits. |
Beta Was this translation helpful? Give feedback.
-
Suggested by @parno.
As discussed in the Verus meeting on October 1st 2024 with @parno, @Chris-Hawblitzel, @jonhnet, @tjhance, @utaal, @jaybosamiya.
Chris suggests that a flag
--no-cheating
should be command line, not an attribute like#[deny(cheating)]
.@utaal, @Chris-Hawblitzel, @jaybosamiya: for crafting a specific policy for
#[verifier::external_body]
we may want rust-alikeforbid
,deny
,allow
.@jonhnet, @parno: consider adding a list of files that allow
#[allow(cheating)]
. Tool enforces that are transitively closed.Beta Was this translation helpful? Give feedback.
All reactions