File tree Expand file tree Collapse file tree 5 files changed +165
-213
lines changed
java/ql/src/semmle/code/java Expand file tree Collapse file tree 5 files changed +165
-213
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,14 @@ import java
64
64
private import semmle.code.java.dataflow.DataFlow:: DataFlow
65
65
private import internal.DataFlowPrivate
66
66
67
+ /**
68
+ * A module importing the frameworks that provide external flow data,
69
+ * ensuring that they are visible to the taint tracking / data flow library.
70
+ */
71
+ private module Frameworks {
72
+ private import semmle.code.java.frameworks.ApacheHttp
73
+ }
74
+
67
75
private predicate sourceModelCsv ( string row ) {
68
76
row =
69
77
[
Original file line number Diff line number Diff line change @@ -163,14 +163,6 @@ private class GuiceRequestParameterSource extends RemoteFlowSource {
163
163
override string getSourceType ( ) { result = "Guice request parameter" }
164
164
}
165
165
166
- private class ApacheHttpRequestParameterSource extends RemoteFlowSource {
167
- ApacheHttpRequestParameterSource ( ) {
168
- this .asParameter ( ) instanceof ApacheHttpRequestHandlerParameter
169
- }
170
-
171
- override string getSourceType ( ) { result = "Apache HTTP request parameter" }
172
- }
173
-
174
166
private class Struts2ActionSupportClassFieldReadSource extends RemoteFlowSource {
175
167
Struts2ActionSupportClassFieldReadSource ( ) {
176
168
exists ( Struts2ActionSupportClass c |
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ private import semmle.code.java.dataflow.DataFlow
9
9
* A module importing the frameworks that implement additional flow steps,
10
10
* ensuring that they are visible to the taint tracking library.
11
11
*/
12
- module Frameworks {
12
+ private module Frameworks {
13
13
private import semmle.code.java.frameworks.jackson.JacksonSerializability
14
14
private import semmle.code.java.frameworks.android.Intent
15
15
private import semmle.code.java.frameworks.android.SQLite
You can’t perform that action at this time.
0 commit comments