VTIL-Samples
This repository contains a number of samples to get you started with VTILs API.
Building (Visual Studio)
Open the project as folder in Visual Studio 2019 and let it generate the CMake files. Once the generation has ended you can launch the examples.
Building (macos)
First install LLVM 10 and Ninja:
brew install llvm@10 ninja
Then set your compiler environment to use libc++ and brew's llvm:
export CC="/usr/local/opt/llvm/bin/clang"
export CXX="/usr/local/opt/llvm/bin/clang++"
export LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"
Then clone the repo and build:
git clone https://github.com/vtil-project/VTIL-Samples
cd VTIL-Samples
mkdir build && cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
Examples
Logger
This example demonstrates VTILs versatile logging capabilities.
Intro
A very basic example of VTILs basic_block
functionality. Based on https://0xnobody.github.io/devirtualization-intro/
Simplification
A short introduction into assembly simplification using VTILs optimizer passes.