https://github.com/rizinorg/rz-solver
ROP SMT-Solver using rizin analysis plugins
https://github.com/rizinorg/rz-solver
c smt-solver z3
Last synced: about 1 year ago
JSON representation
ROP SMT-Solver using rizin analysis plugins
- Host: GitHub
- URL: https://github.com/rizinorg/rz-solver
- Owner: rizinorg
- License: mit
- Created: 2024-07-27T00:21:53.000Z (almost 2 years ago)
- Default Branch: dev
- Last Pushed: 2024-10-25T22:56:29.000Z (over 1 year ago)
- Last Synced: 2025-05-04T00:16:07.403Z (about 1 year ago)
- Topics: c, smt-solver, z3
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rz-solver
## Overview
`rz-solver` is a Rizin plugin that provides a simple interface to an SMT solver, currently supporting ROP (Return-Oriented Programming) constraint solving using RzIL APIs.
## Installation
1. Configure the build using Meson:
```sh
meson --buildtype=debug --prefix=/usr/ buildDir/
```
Use `--prefix` to specify Rizin library directories.
2. Compile and install the plugin:
```sh
ninja -C buildDir/ install
```
## Usage
### ROP Example
1. Load the binary and analyze for ROP gadget info:
```sh
rizin -N binary
[0x00401000]> /Rg
```
2. Solve ROP constraints:
```sh
[0x00401000]> /Rs
Usage: /Rs[?] # ROP Gadget solver help
```