VMAssembler  v1.2
VMProtect 2 Virtual Instruction Assembler
Namespaces | Functions
gen_code.hpp File Reference
#include <fstream>
#include <vmprofiler.hpp>
#include <xtils.hpp>
#include "compiler.h"

Go to the source code of this file.

Namespaces

 gen
 

Functions

template<typename... Args>
std::string gen::string_format (const std::string &format, Args... args)
 function pasted from https://stackoverflow.com/questions/2342162/stdstring-formatting-like-sprintf More...
 
std::string gen::code (std::vector< vm::compiled_label_data > &labels, std::string image_path, vm::ctx_t &vmctx)
 generates c++ header file which MUST BE COMPILED USING CLANG BECAUSE MSVC CANT HANDLE HUGE STATIC INITS (6/13/2021).... More...