mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Add preOffset to the bindingset for simpleArrayLengthStep.
This commit is contained in:
@@ -128,7 +128,7 @@ private int getBaseSizeForPointerType(PointerType type) { result = type.getBaseT
|
||||
* steps to `array` that points to `offset + offsetDelta` in one step.
|
||||
* This predicate does not contain any recursive steps.
|
||||
*/
|
||||
bindingset[prevOffsetDelta]
|
||||
bindingset[prevOffset,prevOffsetDelta]
|
||||
predicate simpleArrayLengthStep(
|
||||
Instruction array, Offset offset, int offsetDelta, Instruction prev, Offset prevOffset,
|
||||
int prevOffsetDelta
|
||||
|
||||
Reference in New Issue
Block a user