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+
13import java
24
35/** 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+
13import java
24private import semmle.code.java.dataflow.TaintTracking
35private import semmle.code.java.dataflow.ExternalFlow
@@ -43,6 +45,10 @@ abstract class FragmentInjectionSink extends DataFlow::Node { }
4345 * Extend this class to add additional taint steps that should apply to `FragmentInjectionTaintConf`.
4446 */
4547class 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+ */
4652 abstract predicate step ( DataFlow:: Node n1 , DataFlow:: Node n2 ) ;
4753}
4854
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+
13import java
24import semmle.code.java.dataflow.FlowSources
35import semmle.code.java.dataflow.TaintTracking
You can’t perform that action at this time.
0 commit comments