Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 320b5ca

Browse files
committed
C++: Ignore more instructions for dataflow.
1 parent 7658df9 commit 320b5ca

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ predicate ignoreInstruction(Instruction instr) {
2828
instr instanceof PhiInstruction or
2929
instr instanceof ReadSideEffectInstruction or
3030
instr instanceof ChiInstruction or
31-
instr instanceof InitializeIndirectionInstruction
31+
instr instanceof InitializeIndirectionInstruction or
32+
instr instanceof AliasedDefinitionInstruction or
33+
instr instanceof InitializeNonLocalInstruction
3234
)
3335
}
3436

0 commit comments

Comments
 (0)