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

Predicate getStartBitOffset

Gets the start bit offset of a MemoryLocation, if any.

Import path

import semmle.code.cpp.ir.implementation.aliased_ssa.internal.AliasedSSA
int getStartBitOffset(VariableMemoryLocation location)