VMAssembler  v1.2
VMProtect 2 Virtual Instruction Assembler
Public Member Functions | List of all members
vm::compiler_t Class Reference

class containing member functions used to encode and encrypted virtual instructions... More...

#include <compiler.h>

Public Member Functions

 compiler_t (vm::ctx_t *vmctx)
 default constructor More...
 
std::vector< vlabel_data > * encode ()
 encode virtual instructions from parser::virt_labels More...
 
std::vector< compiled_label_dataencrypt ()
 encrypt virtual instructions from parser::virt_labels More...
 

Detailed Description

class containing member functions used to encode and encrypted virtual instructions...

Constructor & Destructor Documentation

◆ compiler_t()

vm::compiler_t::compiler_t ( vm::ctx_t *  vmctx)
explicit

default constructor

Parameters
vmctxpointer to a vm context object which has already been init...

Member Function Documentation

◆ encode()

std::vector< vlabel_data > * vm::compiler_t::encode ( )

encode virtual instructions from parser::virt_labels

Returns
returns a vector of labels containing encoded virtual instructions

◆ encrypt()

std::vector< compiled_label_data > vm::compiler_t::encrypt ( )

encrypt virtual instructions from parser::virt_labels

Returns
returns a vector of compiled labels containing encoded and encrypted virtual instructions...

The documentation for this class was generated from the following files: