Skip to content

Commit

Permalink
Remove SystemProperty from FlowSources
Browse files Browse the repository at this point in the history
  • Loading branch information
JLLeitschuh committed Mar 10, 2022
1 parent ecb8911 commit 1c98642
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions java/ql/lib/semmle/code/java/dataflow/FlowSources.qll
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import java
import semmle.code.java.dataflow.DataFlow
import semmle.code.java.dataflow.TaintTracking
import semmle.code.java.dataflow.DefUse
import semmle.code.java.environment.SystemProperty
import semmle.code.java.frameworks.Jdbc
import semmle.code.java.frameworks.Networking
import semmle.code.java.frameworks.Properties
Expand Down Expand Up @@ -183,8 +182,6 @@ class EnvInput extends LocalUserInput {
// Results from various specific methods.
this.asExpr().(MethodAccess).getMethod() instanceof EnvReadMethod
or
this.asExpr() = getSystemProperty(_)
or
// Access to `System.in`.
exists(Field f | this.asExpr() = f.getAnAccess() | f instanceof SystemIn)
or
Expand Down

0 comments on commit 1c98642

Please sign in to comment.