pub struct SandboxFinding {
pub rule_id: SandboxRuleId,
pub line: usize,
pub evidence: String,
}Expand description
What: Record evidence for one deterministic static PKGBUILD finding.
Inputs:
- Produced from one matched source line during text-only analysis.
Output:
- Stable rule ID, one-based line number, and a bounded source excerpt.
Details:
- Evidence is not executed, expanded, or parsed as full shell syntax.
- A finding flags review-worthy text, not a proven exploit or reputation score.
Fields§
§rule_id: SandboxRuleIdStable rule identifier describing the matched construct.
line: usizeOne-based PKGBUILD line containing the evidence.
evidence: StringBounded source excerpt retained exactly for caller review.
Trait Implementations§
Source§impl Clone for SandboxFinding
impl Clone for SandboxFinding
Source§fn clone(&self) -> SandboxFinding
fn clone(&self) -> SandboxFinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SandboxFinding
impl Debug for SandboxFinding
Source§impl<'de> Deserialize<'de> for SandboxFinding
impl<'de> Deserialize<'de> for SandboxFinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SandboxFinding
Source§impl PartialEq for SandboxFinding
impl PartialEq for SandboxFinding
Source§impl Serialize for SandboxFinding
impl Serialize for SandboxFinding
impl StructuralPartialEq for SandboxFinding
Auto Trait Implementations§
impl Freeze for SandboxFinding
impl RefUnwindSafe for SandboxFinding
impl Send for SandboxFinding
impl Sync for SandboxFinding
impl Unpin for SandboxFinding
impl UnsafeUnpin for SandboxFinding
impl UnwindSafe for SandboxFinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.