Skip to content

Virtual-machine Translation Intermediate Language

License

Notifications You must be signed in to change notification settings

vtil-project/VTIL-Core

Repository files navigation

VTIL

github-actions license discord

Virtual-machine Translation Intermediate Language

Introduction

1) What is VTIL?

VTIL Project, standing for Virtual-machine Translation Intermediate Language, is a set of tools designed around an optimizing compiler to be used for binary de-obfuscation and de-virtualization.

The main difference between VTIL and other optimizing compilers such as LLVM is that it has an extremely versatile IL that makes it trivial to lift from any architecture including stack machines. Since it is built for translation, VTIL does not abstract away the native ISA and keeps the concept of the stack, physical registers, and the non-SSA architecture of a general-purpose CPU as is. Native instructions can be emitted in the middle of the IL stream and the physical registers can be addressed from VTIL instructions freely.

VTIL also makes it trivial to emit code back into the native format at any virtual address requested without being constrained to a specific file format.

2) What is this repository?

This repository contains the core components of the VTIL Project used across the toolchain.

It is currently incomplete as the initial release is not done yet, and documentation and FAQ will be within this repository and the organization website once they're done.

Until the initial release, you can keep up to date with the VTIL project by checking my personal twitter account or the VTIL website vtil.org.

Building (Windows)

cmake -B build

Then open build\VTIL-Core.sln. You can also open this folder in a CMake-compatible IDE (Visual Studio, CLion, Qt Creator, VS Code).

Building (Linux/Mac)

cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build

Note: To build on Apple Silicon one needs to use -DCMAKE_OSX_ARCHITECTURES=x86_64.