mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Comment change.
This commit is contained in:
@@ -79,7 +79,7 @@ predicate isNonConst(DataFlow::Node node) {
|
||||
// The function's output must also not be const to be considered a non-const source
|
||||
exists(Function func, CallInstruction call |
|
||||
// NOTE: could use `Call` getAnArgument() instead of `CallInstruction` but requires two
|
||||
// variables representing the same call.
|
||||
// variables representing the same call in ordoer to use `callOutput` below.
|
||||
exists(Expr arg | call.getPositionalArgumentOperand(_).getDef().getUnconvertedResultExpression() = arg and
|
||||
arg = node.asDefiningArgument()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user