Module Opcode
Provides Opcode
s that specify the operation performed by an Instruction
, as well as metadata
about those opcodes, such as operand kinds and memory accesses.
Import path
import semmle.code.cpp.ir.implementation.Opcode
Imports
MemoryAccessKind |
Provides classes that describe how a particular |
Classes
ArithmeticOpcode |
The |
BinaryArithmeticOpcode |
The |
BinaryBitwiseOpcode |
The |
BinaryOpcode |
The |
BitwiseOpcode |
The |
BufferAccessOpcode |
An opcode that accesses a memory buffer. |
BuiltInOperationOpcode |
The |
CatchOpcode |
The |
CompareOpcode |
The |
ConvertToBaseOpcode |
The |
CopyOpcode |
The |
EntireAllocationAccessOpcode |
An opcode that access an entire memory allocation. |
EntireAllocationReadOpcode |
An opcode that reads from an entire memory allocation. |
EntireAllocationWriteOpcode |
An opcode that write to an entire memory allocation. |
EscapedReadOpcode |
An opcode that might read from any escaped memory location. |
EscapedWriteOpcode |
An opcode that might write to any escaped memory location. |
IndirectMemoryAccessOpcode |
An opcode that accesses a single memory location via an |
IndirectReadOpcode |
An opcode that reads from a single memory location via an |
IndirectWriteOpcode |
An opcode that writes to a single memory location via an |
MayReadOpcode |
An opcode whose read memory access is a |
MayWriteOpcode |
An opcode whose write memory access is a |
Opcode |
An opcode that specifies the operation performed by an |
OpcodeWithLoad |
An opcode that reads a value from memory. |
PointerArithmeticOpcode |
The |
PointerOffsetOpcode |
The |
ReadSideEffectOpcode |
The |
RelationalOpcode |
The |
ReturnOpcode |
The |
SideEffectOpcode |
The |
SizedBufferAccessOpcode |
An opcode that accesses a memory buffer whose size is determined by a |
SizedBufferReadOpcode |
An opcode that reads from a memory buffer whose size is determined by a |
SizedBufferWriteOpcode |
An opcode that writes to a memory buffer whose size is determined by a |
ThrowOpcode |
The |
UnaryArithmeticOpcode |
The |
UnaryBitwiseOpcode |
The |
UnaryOpcode |
The |
UnsizedBufferAccessOpcode |
An opcode that accesses a memory buffer of unknown size. |
UnsizedBufferReadOpcode |
An opcode that reads from a memory buffer of unknown size. |
UnsizedBufferWriteOpcode |
An opcode that writes to a memory buffer of unknown size. |
WriteSideEffectOpcode |
The |
Modules
Opcode |
Provides |