mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-12 19:55:14 +02:00
[pitboss/grind] cleanup session-0012 (20260521T201327Z-3848)
This commit is contained in:
parent
3c427436aa
commit
ca4349ded5
10 changed files with 25 additions and 63 deletions
|
|
@ -2715,10 +2715,6 @@ fn sink_in_entrypoint(ctx: &AnalysisContext, sink: NodeIndex) -> bool {
|
|||
}
|
||||
|
||||
impl CfgAnalysis for UnguardedSink {
|
||||
fn name(&self) -> &'static str {
|
||||
"unguarded-sink"
|
||||
}
|
||||
|
||||
fn run(&self, ctx: &AnalysisContext) -> Vec<CfgFinding> {
|
||||
let doms = dominators::compute_dominators(ctx.cfg, ctx.entry);
|
||||
let sink_nodes = dominators::find_sink_nodes(ctx.cfg);
|
||||
|
|
@ -2976,7 +2972,6 @@ impl CfgAnalysis for UnguardedSink {
|
|||
|
||||
findings.push(CfgFinding {
|
||||
rule_id: "cfg-unguarded-sink".to_string(),
|
||||
title: "Unguarded sink".to_string(),
|
||||
severity,
|
||||
confidence,
|
||||
span: sink_info.ast.span,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue