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.
1 parent edfe2d7 commit 77ec181Copy full SHA for 77ec181
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