We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 383b2e1 + 77ec181 commit 51c08f1Copy full SHA for 51c08f1
java/ql/src/utils/modelgenerator/internal/CaptureModelsSpecific.qll
@@ -236,7 +236,7 @@ predicate apiSource(DataFlow::Node source) {
236
string asInputArgumentSpecific(DataFlow::Node source) {
237
exists(int pos |
238
source.(DataFlow::ParameterNode).isParameterOf(_, pos) and
239
- result = "Argument[" + pos + "]"
+ if pos >= 0 then result = "Argument[" + pos + "]" else result = qualifierString()
240
)
241
or
242
source.asExpr() instanceof J::FieldAccess and
0 commit comments