We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce34d91 commit b890b16Copy full SHA for b890b16
1 file changed
cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
@@ -435,13 +435,13 @@ private Instruction skipConversion(Instruction instr) {
435
* before entering `setter`.
436
*/
437
private class StoreChainEndInstructionSideEffect extends StoreChainEndInstruction, ChiInstruction {
438
- SideEffectInstruction sideEffect;
+ WriteSideEffectInstruction sideEffect;
439
FieldAddressInstruction fi;
440
441
StoreChainEndInstructionSideEffect() {
442
not this.isResultConflated() and
443
this.getPartial() = sideEffect and
444
- fi = skipConversion*(sideEffect.getAnOperand().getDef())
+ fi = skipConversion*(sideEffect.getArgumentDef())
445
}
446
447
override FieldAddressInstruction getFieldInstruction() { result = fi }
0 commit comments