File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
java/ql/lib/semmle/code/java Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change
1
+ /** Provides classes and predicates related to Android Fragments. */
2
+
1
3
import java
2
4
3
5
/** The class `android.app.Fragment` */
Original file line number Diff line number Diff line change
1
+ /** Provides classes and predicates to reason about Android Fragment injection vulnerabilities. */
2
+
1
3
import java
2
4
private import semmle.code.java.dataflow.TaintTracking
3
5
private import semmle.code.java.dataflow.ExternalFlow
@@ -43,6 +45,10 @@ abstract class FragmentInjectionSink extends DataFlow::Node { }
43
45
* Extend this class to add additional taint steps that should apply to `FragmentInjectionTaintConf`.
44
46
*/
45
47
class FragmentInjectionAdditionalTaintStep extends Unit {
48
+ /**
49
+ * Holds if the step from `node1` to `node2` should be considered a taint
50
+ * step for the `FragmentInjectionTaintConf` configuration.
51
+ */
46
52
abstract predicate step ( DataFlow:: Node n1 , DataFlow:: Node n2 ) ;
47
53
}
48
54
Original file line number Diff line number Diff line change
1
+ /** Provides classes and predicates to be used in queries related to Android Fragment injection. */
2
+
1
3
import java
2
4
import semmle.code.java.dataflow.FlowSources
3
5
import semmle.code.java.dataflow.TaintTracking
You can’t perform that action at this time.
0 commit comments