Featured answer
Give me an overview of remill
Read the answerHide the answer
Remill is a static binary translator and library, written in C++, that turns machine code instructions into LLVM bitcode for AArch64, SPARC32, SPARC64, x86 and amd64, including AVX and AVX512. Other tools are meant to use it as a library. 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, and dependencies/CMakeLists.txt is a superbuild that builds dependencies such as LLVM into dependencies/install. Python helpers in scripts, such as diff_tester_export_insns/run.py and replace_pc_relative_disactions/main.py, each have a pyproject.toml, and tests are kept in tests with 11 files plus 3 more in test_runner_lib. To start reading, open lib for the lifting logic, compare it with the Service group in the layer chart, which has 120 files, and then check tests for examples.
| Layer | Files |
|---|---|
| Application | 20 |
| Service | 120 |
| Data | 1 |
| Config | 3 |
| API | 51 |
| Docs & Tooling | 29 |
Basis: Inferred · knowledge graph· as of 66c488c