mate_common.models.cpg_types.llvm module

class mate_common.models.cpg_types.llvm.LLVMConstantData(value)

Bases: enum.Enum

Types of constant data in LLVM.

CONSTANT_AGGREGATE_ZERO = 'ConstantAggregateZero'
CONSTANT_DATA_ARRAY = 'ConstantDataArray'
CONSTANT_DATA_VECTOR = 'ConstantDataVector'
CONSTANT_FP = 'ConstantFP'
CONSTANT_INT = 'ConstantInt'
CONSTANT_POINTER_NULL = 'ConstantPointerNull'
CONSTANT_TOKEN_NONE = 'ConstantTokenNone'
CONSTANT_UNDEF = 'UndefValue'
class mate_common.models.cpg_types.llvm.Opcode(value)

Bases: enum.Enum

Valid values for the opcode attribute.

ADD = 'add'
ADDRSPACECAST = 'addrspacecast'
ALLOCA = 'alloca'
AND = 'and'
ASHR = 'ashr'
ATOMICCMPXCHG = 'atomiccmpxchg'
ATOMICRMW = 'atomicrmw'
BITCAST = 'bitcast'
BR = 'br'
CALL = 'call'
CALLSITE = 'callsite'
CATCHPAD = 'catchpad'
CATCHRET = 'catchret'
CATCHSWITCH = 'catchswitch'
CLEANUPPAD = 'cleanuppad'
CLEANUPRET = 'cleanupret'
EXTRACTELEMENT = 'extractelement'
EXTRACTVALUE = 'extractvalue'
FADD = 'fadd'
FCMP = 'fcmp'
FDIV = 'fdiv'
FENCE = 'fence'
FMUL = 'fmul'
FNEG = 'fneg'
FPEXT = 'fpext'
FPTOSI = 'fptosi'
FPTOUI = 'fptoui'
FPTRUNC = 'fptrunc'
FREM = 'frem'
FSUB = 'fsub'
GETELEMENTPTR = 'getelementptr'
ICMP = 'icmp'
INDIRECTBR = 'indirectbr'
INSERTELEMENT = 'insertelement'
INSERTVALUE = 'insertvalue'
INTTOPTR = 'inttoptr'
INVOKE = 'invoke'
LANDINGPAD = 'landingpad'
LOAD = 'load'
LSHR = 'lshr'
MUL = 'mul'
OR = 'or'
PHI = 'phi'
PTRTOINT = 'ptrtoint'
RESUME = 'resume'
RET = 'ret'
SDIV = 'sdiv'
SELECT = 'select'
SEXT = 'sext'
SHL = 'shl'
SHUFFLEVECTOR = 'shufflevector'
SITOFP = 'sitofp'
SREM = 'srem'
STORE = 'store'
SUB = 'sub'
SWITCH = 'switch'
TRUNC = 'trunc'
UDIV = 'udiv'
UITOFP = 'uitofp'
UNREACHABLE = 'unreachable'
UREM = 'urem'
VAARG = 'vaarg'
XOR = 'xor'
ZEXT = 'zext'