pub struct VerifyArgs {
pub prepare_targets: bool,
pub postfix_repeat: PostfixRepeat,
pub mode: VerifyMode,
pub skip_invariant: bool,
pub crate_name: Option<String>,
pub module: Option<String>,
pub debug_contracts: bool,
}Expand description
Arguments for the verify command.
Fields§
§prepare_targets: boolIdentify all functions annotated with #[rapx::verify] and print each target, its unsafe callees, and their safety contracts.
postfix_repeat: PostfixRepeatNumber of extra SCC postfix repetitions allowed during path enumeration.
auto (default): automatic loop-depth detection for InBound and Align.
A number ≥ 0 sets a fixed repeat count.
mode: VerifyModeVerification mode: scan auto-detects unannotated unsafe targets (default), targeted verifies #[rapx::verify] functions.
skip_invariant: boolSkip struct invariant checks and derive safety via constructor-mutator-method chains.
Works with both scan and targeted modes.
crate_name: Option<String>Filter verification targets to only those within the specified crate
(Rust crate name or Cargo package name, e.g. std, core, my-crate).
Useful for standard-library workspaces and sub-workspaces.
module: Option<String>Filter verification targets to only those within the specified module path
(e.g. my_module::inner). When combined with --crate, the path is
interpreted relative to that crate. Applies to all verification modes.
debug_contracts: boolPrint all contract resolutions for every verification target: each unsafe callee with its resolved contracts, and the caller’s own contracts (expanded form). Useful for debugging missing or unexpected contract resolutions.
Trait Implementations§
Source§impl Args for VerifyArgs
impl Args for VerifyArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§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 VerifyArgs
impl Clone for VerifyArgs
Source§fn clone(&self) -> VerifyArgs
fn clone(&self) -> VerifyArgs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for VerifyArgs
impl Debug for VerifyArgs
Source§impl FromArgMatches for VerifyArgs
impl FromArgMatches for VerifyArgs
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.Auto Trait Implementations§
impl DynSend for VerifyArgs
impl DynSync for VerifyArgs
impl Freeze for VerifyArgs
impl RefUnwindSafe for VerifyArgs
impl Send for VerifyArgs
impl Sync for VerifyArgs
impl Unpin for VerifyArgs
impl UnsafeUnpin for VerifyArgs
impl UnwindSafe for VerifyArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more