Skip to content

Commit 98265dd

Browse files
committed
Revert "C++: Don't generate dataflow nodes for instructions inside summarized callables."
This reverts commit fc39df2.
1 parent 67a9051 commit 98265dd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaInternalsCommon.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ predicate ignoreInstruction(Instruction instr) {
4141
instr instanceof AliasedUseInstruction or
4242
instr instanceof InitializeNonLocalInstruction or
4343
instr instanceof ReturnIndirectionInstruction or
44-
instr instanceof UninitializedGroupInstruction or
45-
// We exclude instructions belonging to functions that have a summary.
46-
instr.getEnclosingFunction() = any(SummarizedCallable sc).getUnderlyingCallable()
44+
instr instanceof UninitializedGroupInstruction
4745
)
4846
}
4947

0 commit comments

Comments
 (0)