# lifting-bits/remill

> Remill is a static binary translator that translates machine code instructions into LLVM bitcode. It handles AArch64, SPARC32, SPARC64, x86 and amd64 machine code, including AVX and AVX512. It is meant to be used as a library by other tools, and its code is written in C++.

Source: https://github.com/lifting-bits/remill
Indexed: commit 66c488c on 2026-11-22 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: App
- Language: C++
- Stars: 1,932 at index time
- License: Apache-2.0
- Code health: 6.8/10, Fair
- Last commit: 2026-11-10
- Contributors: 69

## Install

From the README: https://github.com/lifting-bits/remill

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

Move into the remill folder.
    cd remill

Build the dependencies, including LLVM, with the superbuild in the dependencies directory.
    cmake -G Ninja -S dependencies -B dependencies/build

Build the dependencies in the dependencies/build directory.
    cmake --build dependencies/build

Configure Remill itself in the build directory, pointing it at the dependencies install prefix.
    cmake -G Ninja -B build -DCMAKE_PREFIX_PATH:PATH=$(pwd)/dependencies/install -DCMAKE_BUILD_TYPE=Release

Build Remill.
    cmake --build build

## How it works

Machine code instructions go in and LLVM bitcode comes out. The core lifting code lives in lib, which holds 120 of the 239 files, with header files in include. The top-level CMakeLists.txt configures the build, while dependencies/CMakeLists.txt is a superbuild that builds dependencies such as LLVM into dependencies/install. Python helpers in scripts, including the entry points diff_tester_export_insns/run.py and replace_pc_relative_disactions/main.py, are each packaged with a pyproject.toml. Tests are kept in tests, with 11 files, and test_runner_lib holds 3 more.

- scripts/diff_tester_export_insns/diff_tester_export_insns/run.py: entry point
- scripts/replace_pc_relative_disactions/replace_pc_relative_disactions/main.py: entry point
- .github/actions/prepare_git_user/action.yml: central file
- .github/workflows/build.yml: central file
- .github/workflows/docker-publish.yml: central file
Modules: lib, include, scripts, tests, bin, test_runner_lib, generated, root. 239 files, 125,407 lines, 7,545 symbols.

## Code health

- Score: 6.8/10 (Fair)
- Rank: #171 of 265 ranked repos
- Hotspots: none
- Lowest file: lib/BC/Util.cpp
- Dead code: 3 findings

## Maintenance

- Last commit 2026-11-10, 608 commits
- 69 contributors, bus factor 2

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/lifting-bits/remill/security

## More

- Page: https://repowise.dev/repo/lifting-bits/remill
- Ask this codebase: https://repowise.dev/repo/lifting-bits/remill/chat
- Docs: https://repowise.dev/repo/lifting-bits/remill/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/lifting-bits/remill
