Skip to content

Commit 03825a6

Browse files
committed
Add comment to Sink's predicates
1 parent fc27c6c commit 03825a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

python/ql/src/experimental/semmle/python/security/injection/RegexInjection.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,14 @@ class RegexInjectionSink extends DataFlow::Node {
2626
)
2727
}
2828

29+
/**
30+
* Gets the argument containing the executed expression.
31+
*/
2932
string getRegexModule() { result = regexModule }
3033

34+
/**
35+
* Gets the mthod used to execute the regular expression.
36+
*/
3137
Attribute getRegexMethod() { result = regexMethod }
3238
}
3339

0 commit comments

Comments
 (0)