mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
C++: Fix 'begin'/'base' confusion.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
* any dataflow node `n` such that `addr <= sink.asInstruction() + delta2` for some `delta2`. We call the instruction that
|
||||
* consumes the address operand the "operation".
|
||||
*
|
||||
* For example, consider the flow from `begin + size` to `end` above. The sink is `end` on line 3 because that is a dataflow
|
||||
* For example, consider the flow from `base + size` to `end` above. The sink is `end` on line 3 because that is a dataflow
|
||||
* node whose underlying instruction non-strictly upper bounds the address operand `p` in `use(*p)`. The load attached to `*p`
|
||||
* is the "operation". To ensure that the path makes intuitive sense, we only pick operations that are control-flow reachable
|
||||
* from the dereference sink.
|
||||
|
||||
Reference in New Issue
Block a user