struct ClapAnalysisCtrl {
analyze: Vec<String>,
no_cross_function_analysis: bool,
adaptive_depth: bool,
unconstrained_depth: bool,
include: Vec<String>,
}
Expand description
Arguments that control the flow analysis
Fields§
§analyze: Vec<String>
Target this function as analysis target. Command line version of
#[paralegal::analyze]
). Must be a full rust path and resolve to a
function. May be specified multiple times and multiple, comma separated
paths may be supplied at the same time.
no_cross_function_analysis: bool
Disables all recursive analysis (both paralegal_flow’s inlining as well as Flowistry’s recursive analysis).
adaptive_depth: bool
Generate PDGs that span all called functions which can attach markers
unconstrained_depth: bool
Generate PDGs that span to all functions for which we have source code.
If no depth option is specified this is the default right now but that is not guaranteed to be the case in the future. If you want to guarantee this is used explicitly supply the argument.
include: Vec<String>
Crates that should be recursed into.
Trait Implementations§
Source§impl Args for ClapAnalysisCtrl
impl Args for ClapAnalysisCtrl
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 FromArgMatches for ClapAnalysisCtrl
impl FromArgMatches for ClapAnalysisCtrl
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 TryFrom<ClapAnalysisCtrl> for AnalysisCtrl
impl TryFrom<ClapAnalysisCtrl> for AnalysisCtrl
Auto Trait Implementations§
impl Freeze for ClapAnalysisCtrl
impl RefUnwindSafe for ClapAnalysisCtrl
impl Send for ClapAnalysisCtrl
impl Sync for ClapAnalysisCtrl
impl Unpin for ClapAnalysisCtrl
impl UnwindSafe for ClapAnalysisCtrl
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
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