mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
9 lines
329 B
Plaintext
9 lines
329 B
Plaintext
import cpp
|
|
import experimental.semmle.code.cpp.rangeanalysis.ArrayLengthAnalysis
|
|
|
|
from Instruction array, Length length, int delta, Offset offset, int offsetDelta
|
|
where
|
|
knownArrayLength(array, length, delta, offset, offsetDelta) and
|
|
array.getAUse() instanceof ArgumentOperand
|
|
select array, length, delta, offset, offsetDelta
|