/ropv

A tool to search gadgets for your ROP programs. Supports ELF files from RISC-V architecture

Primary LanguageCGNU General Public License v2.0GPL-2.0

NOTICE

This program was a Bachelor's Degree Final Project that I finished last year. I no longer mantain it so it may contain bugs and has limited functionality as I didn't implement all the features I wanted to. The last working branch is capstone. In addition, the paper is available here

Synopsis

ropv is a Return Oriented Programming (ROP) gadget finder for RISC-V binaries. The program only displays gadgets, it can't create rop chains.

Installation

First you will need the Capstone Engine, available through this link. You can also find it in this repo.

To build the program execute the Makefile

Usage

Usage: ropv [OPTION...] file
Tool for ROP explotation (ELF binaries & RISC-V architecture)

    -a, --all                  Show all gadgets. Option selected by default
    -r, --ret                  Show only RET gadgets
    -j, --jop                  Show only JOP gadgets
    -s, --sys                  Show only SYSCALL gadgets
    -?, --help                 Give this help list
    --usage                    Give a short usage message
    -V, --version              Print program version

Report bugs to comes.josep2@gmail.com.