File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
cpp/ql/lib/semmle/code/cpp/security/InvalidPointerDereference Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 6262 *
6363 * In order to handle the above false positive, we define a barrier that identifies guards such as `p < end` that ensures that a value
6464 * is less than the pointer-arithmetic instruction that computed the invalid pointer. This is done in the `InvalidPointerToDerefBarrier`
65- * module. Since the node we're tracking isn't necessarily _equal_ to the pointer-arithmetic instruction, but rather satisfies
65+ * module. Since the node we are tracking is not necessarily _equal_ to the pointer-arithmetic instruction, but rather satisfies
6666 * `node.asInstruction() <= pai + delta`, we need to account for the delta when checking if a guard is sufficiently strong to infer
6767 * that a future dereference is safe. To do this, we check that the guard guarantees that a node `n` satisfies `n < node + d` where
6868 * `node` is a node we know is equal to the value of the dereference source (i.e., it satisfies `node.asInstruction() <= pai + delta`)
You can’t perform that action at this time.
0 commit comments