mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Add comment to Sink's predicates
This commit is contained in:
@@ -26,8 +26,14 @@ class RegexInjectionSink extends DataFlow::Node {
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the argument containing the executed expression.
|
||||
*/
|
||||
string getRegexModule() { result = regexModule }
|
||||
|
||||
/**
|
||||
* Gets the mthod used to execute the regular expression.
|
||||
*/
|
||||
Attribute getRegexMethod() { result = regexMethod }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user