Class VirtualVariable
Represents a set of MemoryLocations that cannot overlap with
MemoryLocations outside of the set. The VirtualVariable will be
represented by a MemoryLocation that totally overlaps all other
MemoryLocations in the set.
Import path
import semmle.code.cpp.ir.implementation.aliased_ssa.internal.AliasedSSADirect supertypes
Indirect supertypes
Known direct subtypes
Inherited predicates
| canDefineReadOnly | Holds if a definition of this location can be the definition of a read-only use location. | from MemoryLocation0 |
| canReuseSsa | from MemoryLocation0 | |
| getAnAllocation | Gets an allocation associated with this | from MemoryLocation0 |
| getIRFunction | from MemoryLocation0 | |
| getIRType | from MemoryLocation0 | |
| getLocation | from MemoryLocation0 | |
| getType | from MemoryLocation0 | |
| getUniqueId | from MemoryLocation0 | |
| getVirtualVariable | from MemoryLocation0 | |
| isAlwaysAllocatedOnStack | Holds if the location always represents memory allocated on the stack (for example, a variable with automatic storage duration). | from MemoryLocation0 |
| isMayAccess | from MemoryLocation0 | |
| isReadOnly | Holds if the location cannot be overwritten except by definition of a | from MemoryLocation0 |
| toString | from MemoryLocation0 | |
| toStringInternal | from MemoryLocation0 |