mirror of
https://github.com/github/codeql.git
synced 2026-05-14 19:29:28 +02:00
Rust: Add MaD barriers, since we have that feature now.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
import rust
|
||||
private import codeql.rust.dataflow.DataFlow
|
||||
private import codeql.rust.dataflow.FlowBarrier
|
||||
private import codeql.rust.dataflow.FlowSink
|
||||
private import codeql.rust.Concepts
|
||||
|
||||
@@ -49,6 +50,13 @@ module Xxe {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A barrier for XXE vulnerabilities from model data.
|
||||
*/
|
||||
private class ModelsAsDataBarrier extends Barrier {
|
||||
ModelsAsDataBarrier() { barrierNode(this, "xxe") }
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user