# VMDevirt - VMProtect 2/3 Static Devirtualization
VMDevirt is a project which uses LLVM to lift `vmprofiles` to LLVM IR. This lifting aims to be semantically accurate so that the generated native instructions can be executed as normal. This project only supports x86_64 PE binaries.
# Compiling
LLVM takes forever to build and a few GB's of cache space in tmp...
### Requirements
* CMake version 3 and above
* Visual Studios 2019 (Fully updated!)
### Steps
Clone the entire repo recursively:
`git clone --recursive https://githacks.org/vmp2/vmdevirt.git`
Open a console inside of `vmdevirt` folder and execute the following CMake command:
`cmake -B build`
WARNING: DO NOT USE ANY OTHER CMAKE COMMAND SUCH AS `-G` FLAG!