Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a41c2d8 commit 2ae15f9Copy full SHA for 2ae15f9
1 file changed
java/ql/src/semmle/code/java/dataflow/internal/TaintTrackingUtil.qll
@@ -377,19 +377,6 @@ private predicate taintPreservingQualifierToMethod(Method m) {
377
or
378
m = any(ProtobufMessageLite p).getAGetterMethod()
379
380
- m instanceof MapMethod and
381
- (
382
- m.getName().regexpMatch("get|entrySet|keySet|values")
383
- )
384
- or
385
- m.getDeclaringType().getSourceDeclaration().getASourceSupertype*().hasQualifiedName("java.util", "List") and
386
387
- m.getName().regexpMatch("get|toArray|subList|spliterator|set|iterator|listIterator") or
388
- (m.getName().regexpMatch("remove") and not m.getReturnType() instanceof BooleanType)
389
390
391
- m instanceof StringReplaceMethod
392
393
exists(SpringUntrustedDataType dt |
394
m.(GetterMethod) = dt.getAMethod()
395
)
0 commit comments