We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8774b4a commit 896e087Copy full SHA for 896e087
cpp/ql/lib/semmle/code/cpp/ir/implementation/aliased_ssa/Instruction.qll
@@ -1084,6 +1084,12 @@ class BinaryInstruction extends Instruction {
1084
or
1085
op1 = this.getRightOperand() and op2 = this.getLeftOperand()
1086
}
1087
+
1088
+ /**
1089
+ * Gets the instruction whose result provides the value of the left or right
1090
+ * operand of this binary instruction.
1091
+ */
1092
+ Instruction getAnInput() { result = this.getLeft() or result = this.getRight() }
1093
1094
1095
/**
0 commit comments