Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 1 month ago
JSON representation
Virtual-machine Translation Intermediate Language
- Host: GitHub
- URL: https://github.com/vtil-project/VTIL-Core
- Owner: vtil-project
- License: bsd-3-clause
- Created: 2020-04-01T02:36:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-05T23:16:37.000Z (about 1 year ago)
- Last Synced: 2024-08-01T17:23:40.057Z (4 months ago)
- Topics: compiler, deobfuscation, devirtualizer, intermediate-language, optimizer, optimizing-compilers, virtual-machine-translation
- Language: C++
- Homepage:
- Size: 3.84 MB
- Stars: 1,316
- Watchers: 58
- Forks: 165
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-repositories - vtil-project / VTIL-Core
README
VTIL
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`.