CodeQL library for C/C++
codeql/cpp-all 0.13.0 (changelog, source)
Search

Predicate getUsedInterval

Holds if the operand totally overlaps with its definition and consumes the bit range [startBitOffset, endBitOffset).

Import path

import semmle.code.cpp.ir.implementation.raw.internal.IRConstruction
predicate getUsedInterval(Operand operand, int startBit, int endBit)