pub struct ProVerifOptions {
pub assume_items: Vec<InclusionClause>,
pub result_errors: bool,
pub keep_trait_calls: Vec<String>,
}Fields§
§assume_items: Vec<InclusionClause>Items for which hax should extract a default-valued process
macro with a corresponding type signature. This flag expects a
space-separated list of inclusion clauses. An inclusion clause
is a Rust path prefixed with +, +! or -. - means
implementation only, +! means interface only and + means
implementation and interface. Rust path chunks can be either a
concrete string, or a glob (just like bash globs, but with
Rust paths).
result_errors: boolModel Result::Err values. By default, a Result<T, E> is
modelled by its Ok payload alone and producing an Err ends
the trace: error paths are pruned, which keeps the state space
small. With this flag, Ok and Err are kept as constructors,
so error paths stay reachable. The extracted model then needs
result_errors.pvl instead of result.pvl.
keep_trait_calls: Vec<String>Trait items whose calls hax keeps as calls of the trait item,
rather than of the impl they dispatch to, so that a hand-written
library can model them once for every impl. This flag expects a
space-separated list of Rust paths, whose chunks can be globs
(e.g. tls_codec::**).
Implementations§
Trait Implementations§
Source§impl Args for ProVerifOptions
impl Args for ProVerifOptions
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for ProVerifOptions
impl Clone for ProVerifOptions
Source§impl CommandFactory for ProVerifOptions
impl CommandFactory for ProVerifOptions
Source§impl Debug for ProVerifOptions
impl Debug for ProVerifOptions
Source§impl<'de> Deserialize<'de> for ProVerifOptions
impl<'de> Deserialize<'de> for ProVerifOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ProVerifOptions
Source§impl FromArgMatches for ProVerifOptions
impl FromArgMatches for ProVerifOptions
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Hash for ProVerifOptions
impl Hash for ProVerifOptions
Source§impl JsonSchema for ProVerifOptions
impl JsonSchema for ProVerifOptions
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more