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 af07efe commit 33e991bCopy full SHA for 33e991b
cpp/ql/lib/semmle/code/cpp/security/InvalidPointerDereference/InvalidPointerToDereference.qll
@@ -143,8 +143,7 @@ private module InvalidPointerToDerefBarrier {
143
}
144
145
/**
146
- * Gets an instruction `instr` such that `instr < derefSource - deltaDerefSinkAndDerefAddress`
147
- * for some `derefSource`.
+ * Gets an address operand whose definition `instr` satisfies `instr < pai`.
148
*/
149
AddressOperand getABarrierAddressOperand(PointerArithmeticInstruction pai) {
150
result.getDef() = getABarrierInstruction(pai)
0 commit comments