File tree Expand file tree Collapse file tree
java/ql/src/semmle/code/java/frameworks/guava Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /**
2+ * Definitions for tracking taint steps throught the Guava framework.
3+ */
4+
15import java
26private import Strings
37private import Splitter
@@ -10,7 +14,7 @@ abstract class GuavaTaintPropagationMethod extends Method {
1014 /**
1115 * Holds if this method propagates taint between the given source and sink.
1216 * `src` and `sink` are indicies of arguments to this method, or -1 to represent the qualifier.
13- * `sink` ca also be -2 to represent the return value.
17+ * `sink` can also be -2 to represent the return value.
1418 */
1519 abstract predicate propagatesTaint ( int src , int sink ) ;
1620}
Original file line number Diff line number Diff line change 1+ /**
2+ * Definitions for tracking taint steps through the methods of `com.google.common.base.Joiner`.
3+ */
4+
15import java
26import Guava
37
Original file line number Diff line number Diff line change 1+ /**
2+ * Definitions for tracking taint steps through the methods of `com.google.common.base.Splitter`.
3+ */
4+
15import java
26import Guava
37
Original file line number Diff line number Diff line change 1+ /**
2+ * Definitions for tracking taint steps through the methods of `com.google.common.base.Strings`.
3+ */
4+
15import java
26import Guava
37
You can’t perform that action at this time.
0 commit comments