mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
Conform Config modules to naming convention
This commit is contained in:
@@ -15,7 +15,7 @@ import java
|
||||
import ArraySizing
|
||||
import semmle.code.java.dataflow.TaintTracking
|
||||
|
||||
private module BoundedFlowSourceConf implements DataFlow::ConfigSig {
|
||||
private module BoundedFlowSourceConfig implements DataFlow::ConfigSig {
|
||||
predicate isSource(DataFlow::Node source) {
|
||||
source instanceof BoundedFlowSource and
|
||||
// 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
|
||||
|
||||
|
||||
@@ -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) {
|
||||
exists(MethodAccess ma, Method m | ma.getMethod() = m |
|
||||
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
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user