B2R2: Practical Binary Reversing
B2R2 is a binary reversing framework for binary inspection, disassembly, control-flow recovery, and LowUIR lifting. It gives you both command-line tools for quick inspection and F# APIs for writing repeatable binary analysis scripts.
This tutorial uses B2R2 from a local terminal. You will install the B2R2 CLI as a
.NET global tool, inspect small binaries with command-line tools, call B2R2 APIs
from F# .fsx scripts, and solve hands-on reversing problems with downloaded
tutorial files.
Learning Flow
Section titled “Learning Flow”- Install .NET SDK
- Install the B2R2 CLI tool
- Inspect binaries with B2R2 CLI
- Use B2R2 APIs from F# scripts
- Solve hands-on problems
Prerequisites
Section titled “Prerequisites”- A local terminal
- .NET SDK
- Tutorial files downloaded from this website
Start with Setup if your machine does not already have .NET and the B2R2 CLI installed. Then try Basic CLI Tools and read Using B2R2 APIs before starting the hands-on problems.