pub struct ParsedCodeAnalysis {
pub unsafe_blocks: Vec<UnsafeBlock>,
pub unwrap_usages: Vec<UnwrapUsage>,
pub hardcoded_secrets: Vec<HardcodedSecret>,
pub command_executions: Vec<CommandExecution>,
pub path_operations: Vec<PathOperation>,
pub network_operations: Vec<NetworkOperation>,
pub crypto_operations: Vec<CryptoOperation>,
pub solana_operations: Vec<SolanaOperation>,
pub function_signatures: Vec<FunctionSignature>,
pub imports: Vec<ImportDeclaration>,
pub string_literals: Vec<StringLiteral>,
}Expand description
Structured analysis result from parsing Rust code
Fields§
§unsafe_blocks: Vec<UnsafeBlock>§unwrap_usages: Vec<UnwrapUsage>§hardcoded_secrets: Vec<HardcodedSecret>§command_executions: Vec<CommandExecution>§path_operations: Vec<PathOperation>§network_operations: Vec<NetworkOperation>§crypto_operations: Vec<CryptoOperation>§solana_operations: Vec<SolanaOperation>§function_signatures: Vec<FunctionSignature>§imports: Vec<ImportDeclaration>§string_literals: Vec<StringLiteral>Trait Implementations§
Source§impl Clone for ParsedCodeAnalysis
impl Clone for ParsedCodeAnalysis
Auto Trait Implementations§
impl Freeze for ParsedCodeAnalysis
impl RefUnwindSafe for ParsedCodeAnalysis
impl Send for ParsedCodeAnalysis
impl Sync for ParsedCodeAnalysis
impl Unpin for ParsedCodeAnalysis
impl UnsafeUnpin for ParsedCodeAnalysis
impl UnwindSafe for ParsedCodeAnalysis
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
Converts
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> ⓘ
Converts
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