mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Init restructuring
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import python
|
||||
import experimental.semmle.python.Concepts
|
||||
import semmle.python.dataflow.new.DataFlow
|
||||
import semmle.python.dataflow.new.TaintTracking
|
||||
import semmle.python.dataflow.new.RemoteFlowSources
|
||||
|
||||
class HeaderInjectionFlowConfig extends TaintTracking::Configuration {
|
||||
HeaderInjectionFlowConfig() { this = "HeaderInjectionFlowConfig" }
|
||||
|
||||
override predicate isSource(DataFlow::Node source) { source instanceof RemoteFlowSource }
|
||||
|
||||
override predicate isSink(DataFlow::Node sink) {
|
||||
sink = any(HeaderDeclaration headerDeclaration).getHeaderInputNode()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user