mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
Conform Config modules to naming convention
This commit is contained in:
@@ -15,7 +15,7 @@ import java
|
|||||||
import ArraySizing
|
import ArraySizing
|
||||||
import semmle.code.java.dataflow.TaintTracking
|
import semmle.code.java.dataflow.TaintTracking
|
||||||
|
|
||||||
private module BoundedFlowSourceConf implements DataFlow::ConfigSig {
|
private module BoundedFlowSourceConfig implements DataFlow::ConfigSig {
|
||||||
predicate isSource(DataFlow::Node source) {
|
predicate isSource(DataFlow::Node source) {
|
||||||
source instanceof BoundedFlowSource and
|
source instanceof BoundedFlowSource and
|
||||||
// There is not a fixed lower bound which is greater than zero.
|
// There is not a fixed lower bound which is greater than zero.
|
||||||
@@ -27,7 +27,7 @@ private module BoundedFlowSourceConf implements DataFlow::ConfigSig {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module BoundedFlowSourceFlow = DataFlow::Make<BoundedFlowSourceConf>;
|
module BoundedFlowSourceFlow = DataFlow::Make<BoundedFlowSourceConfig>;
|
||||||
|
|
||||||
import BoundedFlowSourceFlow::PathGraph
|
import BoundedFlowSourceFlow::PathGraph
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ predicate isSafeSecureCookieSetting(Expr e) {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
private module SecureCookieConfiguration implements DataFlow::ConfigSig {
|
private module SecureCookieConfig implements DataFlow::ConfigSig {
|
||||||
predicate isSource(DataFlow::Node source) {
|
predicate isSource(DataFlow::Node source) {
|
||||||
exists(MethodAccess ma, Method m | ma.getMethod() = m |
|
exists(MethodAccess ma, Method m | ma.getMethod() = m |
|
||||||
m.getDeclaringType() instanceof TypeCookie and
|
m.getDeclaringType() instanceof TypeCookie and
|
||||||
@@ -47,7 +47,7 @@ private module SecureCookieConfiguration implements DataFlow::ConfigSig {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module SecureCookieFlow = DataFlow::Make<SecureCookieConfiguration>;
|
module SecureCookieFlow = DataFlow::Make<SecureCookieConfig>;
|
||||||
|
|
||||||
from MethodAccess add
|
from MethodAccess add
|
||||||
where
|
where
|
||||||
|
|||||||
Reference in New Issue
Block a user