remill

Library for lifting of x86, amd64, and aarch64 machine code to LLVM bitcode

Github星跟踪图

Remill Slack Chat

Remill is a static binary translator that translates machine code instructions into LLVM bitcode. It translates x86 and amd64 machine code (including AVX and AVX512) into LLVM bitcode. AArch64 support is underway.

Remill focuses on accurately lifting instructions. It is meant to be used as a library for other tools, e.g. McSema.

Build Status

Build Status

Additional Documentation

Getting Help

If you are experiencing undocumented problems with Remill then ask for help in the #binary-lifting channel of the Empire Hacking Slack.

Supported Platforms

Remill is supported on Linux platforms and has been tested on Ubuntu 14.04, 16.04, and 18.04. Remill also works on macOS, and has experimental support for Windows.

Dependencies

Most of Remill's dependencies can be provided by the cxx-common repository. Trail of Bits hosts downloadable, pre-built versions of cxx-common, which makes it substantially easier to get up and running with Remill. Nonetheless, the following table represents most of Remill's dependencies., Name, Version, ----, -------, Git, Latest, CMake, 3.2+, Google Flags, Latest, Google Log, Latest, Google Test, Latest, LLVM, 3.5+, Clang, 3.5+, Intel XED, Latest, Python, 2.7, Unzip, Latest, ccache, Latest, ## Getting and Building the Code

On Linux

First, update aptitude and get install the baseline dependencies.

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install \
     git \
     python2.7 \
     wget \
     curl \
     build-essential \
     libtinfo-dev \
     lsb-release \
     zlib1g-dev \
     ccache

# Ubuntu 14.04, 16.04
sudo apt-get install realpath

Next, clone the repository. This will clone the code into the remill directory.

git clone https://github.com/lifting-bits/remill.git

Next, we build Remill. This script will create another directory, remill-build,
in the current working directory. All remaining dependencies needed
by Remill will be built in the remill-build directory.

./remill/scripts/build.sh

Next, we can install Remill. Remill itself is a library, and so there is no real way
to try it. However, you can head on over to the McSema repository, which uses Remill for lifting instructions.

cd ./remill-build
sudo make install

We can also build and run Remill's test suite.

cd ./remill-build
make test_dependencies
make test

主要指标

概览
名称与所有者lifting-bits/remill
主编程语言C++
编程语言Shell (语言数: 9)
平台
许可证Apache License 2.0
所有者活动
创建于2015-10-22 13:54:19
推送于2025-05-23 18:38:59
最后一次提交2025-05-24 03:38:58
发布数49
最新版本名称v5.0.7 (发布于 )
第一版名称v2.0.0 (发布于 )
用户参与
星数1.4k
关注者数60
派生数150
提交数1.1k
已启用问题?
问题数249
打开的问题数65
拉请求数426
打开的拉请求数9
关闭的拉请求数30
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?