Skip to content

Commit

Permalink
Updating how to install angr
Browse files Browse the repository at this point in the history
  • Loading branch information
bannsec committed May 8, 2020
1 parent 320952d commit 53b466e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN dpkg --add-architecture i386 && \
apt install -y python3 python3-pip python3-venv git libc6:i386 libncurses5:i386 libstdc++6:i386 multiarch-support adb bsdutils git wget curl bison flex pkg-config && \
mkdir -p /opt && cd /opt && mkdir cmake && cd cmake && wget -O cmake.sh https://github.com/`wget -q -O- https://github.com/Kitware/CMake/releases/latest | grep download | grep Linux | grep \.sh | cut -d '"' -f 2` && chmod +x cmake.sh && ./cmake.sh --skip-license && export PATH=$PWD/bin:$PATH && \
mkdir -p /opt && cd /opt && git clone https://github.com/radareorg/radare2.git && cd radare2 && ./sys/install.sh && r2pm init && r2pm install r2ghidra-dec && \
python3 -m pip install angr && python3 -m pip install --process-dependency-links https://github.com/angr/angr-targets/archive/master.zip
cd /opt && git clone --depth=1 https://github.com/angr/angr-dev.git && cd angr-dev && echo I know this is a bad idea. | ./setup.sh -i

COPY . /opt/revenge/

Expand Down
12 changes: 9 additions & 3 deletions docs/overview/plugins/angr/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,18 @@ The current requirements to use the `angr` plugin are:
Setup
=====

You can install `angr` with:
As of writing, the version of `angr` in pypi is very out of date and will not
work correctly for `revenge`. You will need to perform a dev install until
`angr` pushes a new build.

.. code-block:: bash
pip install angr
pip install --process-dependency-links https://github.com/angr/angr-targets/archive/master.zip
git clone --depth=1 https://github.com/angr/angr-dev.git
cd angr-dev
./setup.sh -e angr -i
Note the `-e`. Choose whichever python virtual environment you have `revenge`
installed in.

angr also has pre-built docker containers available which alleviate build
issues.
Expand Down

0 comments on commit 53b466e

Please sign in to comment.