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

Class GroupedVirtualVariable

Import path

import semmle.code.cpp.ir.implementation.aliased_ssa.internal.AliasedSSA

Direct supertypes

Indirect supertypes

Inherited fields

Inherited predicates

canDefineReadOnly

Holds if a definition of this location can be the definition of a read-only use location.

from MemoryLocation0
canReuseSsafrom MemoryLocation0
getAnAllocation

Gets an allocation of this memory location.

from GroupedMemoryLocation
getGroup

Gets the set of allocations associated with this memory location.

from GroupedMemoryLocation
getIRFunctionfrom GroupedMemoryLocation
getIRTypefrom MemoryLocation0
getLocationfrom GroupedMemoryLocation
getTypefrom GroupedMemoryLocation
getUniqueIdfrom GroupedMemoryLocation
getVirtualVariablefrom GroupedMemoryLocation
isAll

Holds if this memory location represents all the enclosing allocations.

from GroupedMemoryLocation
isAlwaysAllocatedOnStack

Holds if the location always represents memory allocated on the stack (for example, a variable with automatic storage duration).

from MemoryLocation0
isMayAccessfrom GroupedMemoryLocation
isReadOnly

Holds if the location cannot be overwritten except by definition of a MemoryLocation for which def.canDefineReadOnly() holds.

from MemoryLocation0
isSome

Holds if this memory location represents one or more of the enclosing allocations.

from GroupedMemoryLocation
toStringfrom MemoryLocation0
toStringInternalfrom GroupedMemoryLocation

Charpred