[−][src]Struct super_analyzer_core::results::Results
Results representation structure.
Fields
app_package: String
Application package name.
app_label: String
Application label.
app_description: String
Application description.
app_version: String
Application version string.
app_version_num: u32
Application version number.
app_min_sdk: SdkNumber
Application minimum SDK.
app_target_sdk: Option<SdkNumber>
Target SDK for the application.
app_fingerprint: FingerPrint
Fingerprint of the application,
warnings: BTreeSet<Vulnerability>
List of warnings found in the application.
low: BTreeSet<Vulnerability>
List of the potential low criticality vulnerabilities in the application.
medium: BTreeSet<Vulnerability>
List of the potential medium criticality vulnerabilities in the application.
high: BTreeSet<Vulnerability>
List of the potential high criticality vulnerabilities in the application.
critical: BTreeSet<Vulnerability>
List of the potential critical vulnerabilities in the application.
Methods
impl Results
[src]
pub fn init<P: AsRef<Path>>(config: &Config, package: P) -> Result<Self, Error>
[src]
Initializes the results structure.
pub fn set_app_package<S: Into<String>>(&mut self, package: S)
[src]
Sets the application's package.
pub fn app_package(&self) -> &str
[src]
Gets the application package.
pub fn set_app_label<S: Into<String>>(&mut self, label: S)
[src]
Sets the application's label.
pub fn set_app_description<S: Into<String>>(&mut self, description: S)
[src]
Sets the application description
pub fn set_app_version<S: Into<String>>(&mut self, version: S)
[src]
Sets the application version string.
pub fn set_app_version_num(&mut self, version: u32)
[src]
Sets the application version number.
pub fn set_app_min_sdk(&mut self, sdk: u32)
[src]
Sets the application's minimum SDK number.
pub fn set_app_target_sdk(&mut self, sdk: u32)
[src]
Sets the application's target SDK number.
pub fn add_vulnerability(&mut self, vulnerability: Vulnerability)
[src]
Adds a vulnerability to the results.
pub fn generate_report<S: AsRef<str>>(
&self,
config: &Config,
package: S
) -> Result<(), Error>
[src]
&self,
config: &Config,
package: S
) -> Result<(), Error>
Generates the report.
Trait Implementations
Auto Trait Implementations
impl Send for Results
impl Sync for Results
impl Unpin for Results
impl UnwindSafe for Results
impl RefUnwindSafe for Results
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self