mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Revert "C++: Don't generate dataflow nodes for instructions inside summarized callables."
This reverts commit fc39df28b0.
This commit is contained in:
@@ -41,9 +41,7 @@ predicate ignoreInstruction(Instruction instr) {
|
||||
instr instanceof AliasedUseInstruction or
|
||||
instr instanceof InitializeNonLocalInstruction or
|
||||
instr instanceof ReturnIndirectionInstruction or
|
||||
instr instanceof UninitializedGroupInstruction or
|
||||
// We exclude instructions belonging to functions that have a summary.
|
||||
instr.getEnclosingFunction() = any(SummarizedCallable sc).getUnderlyingCallable()
|
||||
instr instanceof UninitializedGroupInstruction
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user