https://github.com/acama/xrop
Tool to generate ROP gadgets for ARM, AARCH64, x86, MIPS, PPC, RISCV, SH4 and SPARC
https://github.com/acama/xrop
exploitation pwning rop-gadgets
Last synced: 3 months ago
JSON representation
Tool to generate ROP gadgets for ARM, AARCH64, x86, MIPS, PPC, RISCV, SH4 and SPARC
- Host: GitHub
- URL: https://github.com/acama/xrop
- Owner: acama
- Created: 2014-04-09T03:28:31.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-08-16T22:07:43.000Z (almost 2 years ago)
- Last Synced: 2024-08-16T23:23:08.372Z (almost 2 years ago)
- Topics: exploitation, pwning, rop-gadgets
- Language: C
- Homepage:
- Size: 1.92 MB
- Stars: 296
- Watchers: 17
- Forks: 55
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
xrop
=======
xrop is a simple tool to generate ROP gadgets. It supports PE, ELF, Mach-O and perhaps other executable formats. It uses the [libxdisasm](http://github.com/acama/libxdisasm) library and currently supports generating ROP gadgets for x86, x86_64, arm, ppc, mips, riscv, sh4 and sparc.
Build Instructions
-------------------
On macos there is a Homebrew tap available:
```
brew tap acama/homebrew-xrop
brew install xrop
```
On other systems, you need to build from source as of now:
```
git clone https://github.com/acama/xrop.git
cd xrop
git submodule update --init --recursive
make
sudo make install # will install in /opt/xrop
```
Changelog
---------
* v1.2 - macos (apple silicon) support.
* v1.1 - call gadgets, jmp gadgets, printing instruction opcodes.
Examples
---------
Example output for x86_64 and ARM executables