Module Opcode

Import path

import semmle.code.cpp.ir.implementation.Opcode

Classes

ArithmeticOpcode
BinaryArithmeticOpcode
BinaryBitwiseOpcode
BinaryOpcode
BitwiseOpcode
BufferAccessOpcode

An opcode that accesses a buffer via an AddressOperand.

BuiltInOperationOpcode
CatchOpcode
CompareOpcode
ConvertToBaseOpcode
CopyOpcode
MayWriteSideEffectOpcode

An opcode that may overwrite some, all, or none of an existing set of memory locations. Modeled as a read of the original contents, plus a “may” write of the new contents.

MemoryAccessOpcode
MustWriteSideEffectOpcode

An opcode that definitely writes to a set of memory locations as a side effect.

Opcode
OpcodeWithCondition
OpcodeWithLoad

An opcode that reads a value from memory.

PointerArithmeticOpcode
PointerOffsetOpcode
ReadSideEffectOpcode

An opcode that reads from a set of memory locations as a side effect.

RelationalOpcode
ReturnOpcode
SideEffectOpcode
SizedBufferAccessOpcode

An opcode that accesses a buffer via an AddressOperand with a BufferSizeOperand specifying the number of elements accessed.

ThrowOpcode
UnaryArithmeticOpcode
UnaryBitwiseOpcode
UnaryOpcode
WriteSideEffectOpcode

An opcode that writes to a set of memory locations as a side effect.

Modules