Skip to content

Commit 46832d0

Browse files
committed
C++: Rename 'delta1' and 'delta2' in documentation.
1 parent e75f604 commit 46832d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@
3737
* `deltaDerefSinkAndDerefAddress >= 0`. The load attached to `*p` is the "operation". To ensure that the path makes
3838
* intuitive sense, we only pick operations that are control-flow reachable from the dereference sink.
3939
*
40-
* To compute the amount of the dereference is away from the final entry of the allocation, we sum the two deltas `delta1` and
41-
* `delta2`. This is done in the `operationIsOffBy` predicate (which is the only predicate exposed by this file).
40+
* To compute the amount of the dereference is away from the final entry of the allocation, we sum the two deltas
41+
* `deltaDerefSourceAndPai` and `deltaDerefSinkAndDerefAddress`. This is done in the `operationIsOffBy` predicate
42+
* (which is the only predicate exposed by this file).
4243
*
4344
* Handling false positives:
4445
*

0 commit comments

Comments
 (0)