File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
java/ql/lib/semmle/code/java/security Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,6 @@ private predicate objectToString(MethodAccess ma) {
34
34
)
35
35
}
36
36
37
- private class StringContainer extends RefType {
38
- StringContainer ( ) {
39
- this instanceof TypeString or
40
- this instanceof StringBuildingType or
41
- this .hasQualifiedName ( "java.util" , "StringTokenizer" ) or
42
- this .( Array ) .getComponentType ( ) instanceof StringContainer
43
- }
44
- }
45
-
46
37
/**
47
38
* A taint-tracking configuration to reason about the use of potentially insecure cryptographic algorithms.
48
39
*/
@@ -53,7 +44,7 @@ module InsecureCryptoConfig implements DataFlow::ConfigSig {
53
44
54
45
predicate isBarrier ( DataFlow:: Node n ) {
55
46
objectToString ( n .asExpr ( ) ) or
56
- not n .getType ( ) .getErasure ( ) instanceof StringContainer
47
+ n .getType ( ) .getErasure ( ) instanceof TypeObject
57
48
}
58
49
}
59
50
You can’t perform that action at this time.
0 commit comments