MIR2Vec embedding helpers, vocabulary, and embedder types.

Types

Name

Description

MIREmbedder

Base class for MIR embedders

MIRVocabulary

Class for storing and accessing the MIR2Vec vocabulary. The MIRVocabulary class manages seed embeddings for LLVM Machine IR

SymbolicMIREmbedder

Class for computing Symbolic embeddings Symbolic embeddings are constructed based on the entity‐level representations obtained from the MIR Vocabulary.

Type Aliases

Name

Description

Embedding

Embedding vector type shared with IR2Vec.

MachineBlockEmbeddingsMap

Map from machine basic blocks to their embeddings.

MachineInstEmbeddingsMap

Map from machine instructions to their embeddings.

Variables

Name

Description

CommonOperandWeight

Weight applied to common (non‐register) operand embeddings.

MIR2VecCategory

Command‐line option category for MIR2Vec‐related flags.

OpcWeight

Weight applied to opcode embeddings when combining entity vectors.

RegOperandWeight

Weight applied to register operand embeddings.

Created with MrDocs