mirror of https://github.com/pwndbg/pwndbg.git
Update installation instructions
parent
d13b9e85ce
commit
cdbff116d6
@ -0,0 +1,8 @@
|
||||
[submodule "capstone"]
|
||||
path = capstone
|
||||
url = https://github.com/aquynh/capstone
|
||||
branch = next
|
||||
[submodule "unicorn"]
|
||||
path = unicorn
|
||||
url = https://github.com/unicorn-engine/unicorn
|
||||
branch = master
|
||||
@ -0,0 +1 @@
|
||||
Subproject commit 4d36deb1b6e19824644cbb50e62fc311b5569400
|
||||
@ -0,0 +1,23 @@
|
||||
#!/bin/bash -ex
|
||||
sudo apt-get update
|
||||
sudo apt-get install python-dev python3-dev python-pip python3-pip libglib2.0-dev
|
||||
|
||||
# Update all submodules
|
||||
git submodule update --init --recursive
|
||||
|
||||
# Install Python dependencies
|
||||
sudo pip install -Ur requirements.txt
|
||||
|
||||
PYTHON=$(gdb -batch -q --nx -ex 'pi import sys; print(sys.executable)')
|
||||
|
||||
for directory in capstone unicorn; do
|
||||
pushd $directory
|
||||
sudo ./make.sh install
|
||||
cd bindings/python
|
||||
sudo ${PYTHON} setup.py install
|
||||
popd
|
||||
done
|
||||
|
||||
if ! grep pwndbg ~/.gdbinit &>/dev/null; then
|
||||
echo "source $PWD/pwndbg/gdbinit.py" >> ~/.gdbinit
|
||||
fi
|
||||
@ -0,0 +1 @@
|
||||
Subproject commit 4b3bbe4759fe0f4764aefef6a8354897076504f0
|
||||
Loading…
Reference in new issue