pub struct OracleResult {Show 13 fields
pub class: OracleClass,
pub verdict: OracleVerdict,
pub severity: Option<Severity>,
pub confidence: u8,
pub impact_class: Option<ImpactClass>,
pub reasons: Vec<ScoringReason>,
pub signals: Vec<Signal>,
pub technique_id: Option<String>,
pub vector: Option<Vector>,
pub normative_strength: Option<NormativeStrength>,
pub label: Option<String>,
pub leaks: Option<String>,
pub rfc_basis: Option<String>,
}Expand description
The result of running an oracle analyzer against a differential set.
Carries the full signal chain that produced the verdict alongside technique context and scoring breakdown.
Fields§
§class: OracleClassOracle class this result describes.
verdict: OracleVerdictconfidence in the oracle detection
severity: Option<Severity>Severity when the verdict is Confirmed or Likely; None when NotPresent.
confidence: u8Numeric confidence score (0-100). Determines verdict via threshold mapping.
impact_class: Option<ImpactClass>Impact classification based on leak type. Determines severity when gated by confidence.
reasons: Vec<ScoringReason>Breakdown of how confidence and impact were computed.
signals: Vec<Signal>typed observations from differential analysis — the atoms that determined the verdict
technique_id: Option<String>e.g. "if-none-match" — the strategy that generated the probe
vector: Option<Vector>Detection vector that elicited the differential.
normative_strength: Option<NormativeStrength>RFC mandate level. Affects confidence calibration.
label: Option<String>e.g. "Authorization-based differential"
leaks: Option<String>e.g. "Resource existence confirmed to low-privilege callers"
rfc_basis: Option<String>e.g. "RFC 9110 \u{00a7}15.5.4"
Implementations§
Source§impl OracleResult
impl OracleResult
Sourcepub fn primary_evidence(&self) -> &str
pub fn primary_evidence(&self) -> &str
Evidence from the StatusCodeDiff signal, else the first signal, else "—".
Sourcepub fn from_technique(
verdict: OracleVerdict,
severity: Option<Severity>,
evidence: String,
signal_kind: SignalKind,
confidence: u8,
technique: &Technique,
) -> Self
pub fn from_technique( verdict: OracleVerdict, severity: Option<Severity>, evidence: String, signal_kind: SignalKind, confidence: u8, technique: &Technique, ) -> Self
Builds an OracleResult with one signal and technique context populated from technique.
Sourcepub fn into_outcome(self) -> StrategyOutcome
pub fn into_outcome(self) -> StrategyOutcome
Confirmed → Positive; all other verdicts → NoSignal.
Trait Implementations§
Source§impl Clone for OracleResult
impl Clone for OracleResult
Source§fn clone(&self) -> OracleResult
fn clone(&self) -> OracleResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more