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 3fcb825 commit 65a538eCopy full SHA for 65a538e
cpp/ql/lib/experimental/semmle/code/cpp/ir/dataflow/internal/SsaInternalsCommon.qll
@@ -11,7 +11,9 @@ private import DataFlowUtil
11
* corresponding `(Indirect)OperandNode`.
12
*/
13
predicate ignoreOperand(Operand operand) {
14
- operand = any(Instruction instr | ignoreInstruction(instr)).getAnOperand()
+ operand = any(Instruction instr | ignoreInstruction(instr)).getAnOperand() or
15
+ operand = any(Instruction instr | ignoreInstruction(instr)).getAUse() or
16
+ operand instanceof MemoryOperand
17
}
18
19
/**
0 commit comments