Skip to main content

Installing angrop

angrop is distributed as a Python package and can be installed via pip. It requires Python 3.6 or higher.

Requirements

Python Version: angrop requires Python >= 3.6
angrop has two main dependencies:
  • angr - The symbolic execution engine that powers angrop
  • tqdm - For progress bars during gadget finding
These dependencies will be installed automatically when you install angrop.

Installation Steps

1

Ensure Python 3.6+

Verify you have Python 3.6 or higher installed:
You should see Python 3.6.0 or higher.
2

Install angrop via pip

Install angrop using pip:
This will install angrop along with all required dependencies including angr and tqdm.
3

Verify installation

Verify the installation by checking the CLI tool:
And verify the Python API:

Alternative Installation Methods

From Source

If you want to install from source or contribute to development:
This installs angrop in editable mode, so changes to the source code are immediately reflected.

Using Docker

angrop includes a Dockerfile for containerized usage:

Troubleshooting

angr has some complex dependencies. If you encounter issues:
  1. Ensure you have a working C compiler installed
  2. Try installing in a fresh virtual environment:
  3. Check the angr installation documentation for platform-specific issues
If angrop-cli is not found after installation:
  1. Ensure pip’s bin directory is in your PATH
  2. Try running with python -m angrop.angrop_cli instead
  3. Check if it’s installed with: pip show angrop
If you get import errors:
Make sure you’re using the same Python environment where you installed angrop.

Updating angrop

To update to the latest version:

Uninstalling

To remove angrop:
This won’t remove angr and other dependencies. To remove those as well, uninstall them separately or delete the virtual environment.

Next Steps

Now that you have angrop installed, head over to the Quickstart guide to build your first ROP chain!