We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec816f8 commit e2a142eCopy full SHA for e2a142e
java/ql/lib/semmle/code/java/security/UnsafeHostnameVerificationQuery.qll
@@ -65,6 +65,17 @@ module TrustAllHostnameVerifierConfig implements DataFlow::ConfigSig {
65
"|(set)?(accept|trust|ignore|allow)(all|every|any)" +
66
"|(use|do|enable)insecure|(set|do|use)?no.*(check|validation|verify|verification)|disable).*$")
67
}
68
+
69
+ predicate observeDiffInformedIncrementalMode() { any() }
70
71
+ Location getASelectedSourceLocation(DataFlow::Node source) {
72
+ isSource(source) and
73
+ (
74
+ result = source.getLocation()
75
+ or
76
+ result = source.asExpr().(ClassInstanceExpr).getConstructedType().getLocation()
77
+ )
78
+ }
79
80
81
/** Data flow to model the flow of a `TrustAllHostnameVerifier` to a `set(Default)HostnameVerifier` call. */
0 commit comments