Skip to content

Commit 33e991b

Browse files
committed
C++: Fix QLDoc.
1 parent af07efe commit 33e991b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cpp/ql/lib/semmle/code/cpp/security/InvalidPointerDereference/InvalidPointerToDereference.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ private module InvalidPointerToDerefBarrier {
143143
}
144144

145145
/**
146-
* Gets an instruction `instr` such that `instr < derefSource - deltaDerefSinkAndDerefAddress`
147-
* for some `derefSource`.
146+
* Gets an address operand whose definition `instr` satisfies `instr < pai`.
148147
*/
149148
AddressOperand getABarrierAddressOperand(PointerArithmeticInstruction pai) {
150149
result.getDef() = getABarrierInstruction(pai)

0 commit comments

Comments
 (0)