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 108d517 commit d733264Copy full SHA for d733264
cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
@@ -246,6 +246,9 @@ class DefinitionByReferenceNode extends InstructionNode {
246
result =
247
instr.getPrimaryInstruction().(CallInstruction).getStaticCallTarget().getName() +
248
" output argument"
249
+ or
250
+ not exists(instr.getPrimaryInstruction().(CallInstruction).getStaticCallTarget()) and
251
+ result = "output argument"
252
}
253
254
0 commit comments