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 ccb28ed commit fc39df2Copy full SHA for fc39df2
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaInternalsCommon.qll
@@ -41,7 +41,9 @@ predicate ignoreInstruction(Instruction instr) {
41
instr instanceof AliasedUseInstruction or
42
instr instanceof InitializeNonLocalInstruction or
43
instr instanceof ReturnIndirectionInstruction or
44
- instr instanceof UninitializedGroupInstruction
+ instr instanceof UninitializedGroupInstruction or
45
+ // We exclude instruction belonging to functions that have a summary.
46
+ instr.getEnclosingFunction() = any(SummarizedCallable sc).getUnderlyingCallable()
47
)
48
}
49
0 commit comments