Skip to content

Commit 6363ff3

Browse files
committed
QLDoc
1 parent 7a1b854 commit 6363ff3

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

java/ql/lib/semmle/code/java/frameworks/android/Fragment.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** Provides classes and predicates related to Android Fragments. */
2+
13
import java
24

35
/** The class `android.app.Fragment` */

java/ql/lib/semmle/code/java/security/FragmentInjection.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** Provides classes and predicates to reason about Android Fragment injection vulnerabilities. */
2+
13
import java
24
private import semmle.code.java.dataflow.TaintTracking
35
private 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
*/
4547
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+
*/
4652
abstract predicate step(DataFlow::Node n1, DataFlow::Node n2);
4753
}
4854

java/ql/lib/semmle/code/java/security/FragmentInjectionQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** Provides classes and predicates to be used in queries related to Android Fragment injection. */
2+
13
import java
24
import semmle.code.java.dataflow.FlowSources
35
import semmle.code.java.dataflow.TaintTracking

0 commit comments

Comments
 (0)