pub struct ArWrapper { /* private fields */ }
Expand description
Wrap Clang
Implementations§
Trait Implementations§
source§impl ToolWrapper for ArWrapper
impl ToolWrapper for ArWrapper
source§fn parse_args<S>(&mut self, args: &[S]) -> Result<&mut Self, Error>
fn parse_args<S>(&mut self, args: &[S]) -> Result<&mut Self, Error>
Set the wrapper arguments parsing a command line set of arguments
source§fn add_configuration(&mut self, configuration: Configuration) -> &mut Self
fn add_configuration(&mut self, configuration: Configuration) -> &mut Self
Add a
Configuration
source§fn configurations(&self) -> Result<Vec<Configuration>, Error>
fn configurations(&self) -> Result<Vec<Configuration>, Error>
Get the list of requested
Configuration
ssource§fn ignore_configurations(&self) -> Result<bool, Error>
fn ignore_configurations(&self) -> Result<bool, Error>
Whether to ignore the configured
Configurations
. Useful for e.g. nested calls to
libafl_cc
from libafl_libtool
.source§fn command_for_configuration(
&mut self,
configuration: Configuration
) -> Result<Vec<String>, Error>
fn command_for_configuration( &mut self, configuration: Configuration ) -> Result<Vec<String>, Error>
Command to run the compiler for a given
Configuration
source§fn is_linking(&self) -> bool
fn is_linking(&self) -> bool
Get if in linking mode
Auto Trait Implementations§
impl Freeze for ArWrapper
impl RefUnwindSafe for ArWrapper
impl Send for ArWrapper
impl Sync for ArWrapper
impl Unpin for ArWrapper
impl UnwindSafe for ArWrapper
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
Mutably borrows from an owned value. Read more