Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vtil-project/VTIL-Core

Virtual-machine Translation Intermediate Language
https://github.com/vtil-project/VTIL-Core

compiler deobfuscation devirtualizer intermediate-language optimizer optimizing-compilers virtual-machine-translation

Last synced: about 2 months ago
JSON representation

Virtual-machine Translation Intermediate Language

Awesome Lists containing this project

README

        



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](https://twitter.com/_can1357) or the VTIL website [vtil.org](https://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`.