Victor Chan
26a18f1d70
Remove quotes from command option interpolation ( #876 )
...
There was a quoting bug as `INSTALLFLAGS` contains both the option key and value.
This causes the subsequent commands to look something like `python ... '--target foo'...`, causing
the command to treat the entire string `--target foo` as an option key rather than a key-value pair.
2021-01-03 08:51:50 +01:00
Israel Alberto RV
bf49bf8356
Unit test fix ( #868 )
...
* Fixed the failed unit testing; Improved the Dockerfile, again.
* Fixed missing new line joiner in the Dockerfile.
* Fixed the default Python version from 2 to 3.
* Moved the installation of the nasm and golang packages to the setup script.
* Fixed the extra quotes which fails the sudo check.
* Added to the Git ignore file the output files assembled and linked in the test binaries.
* Removed the output files from test binaries.
* Added to the Git ignore file the virtual environment directory.
* Added sudo to the remove and link the Python3 binary.
* Added commands related to GO, to check why is failing.
* Fixed the installation of GO, only install if not exists in Ubuntu.
* Fixed the first test built in Assembler. Checks if it is working in GitHub.
* Fixed the problem with all the assembler tests; Extracted the asserts into methods, avoiding duplicates.
* Fixed some test, should be fail the Travis tests.
* Fixed one test for Travis.
* Fixed the asserts, now find all ecpected items into the output.
* Fixed the split message, joined again.
* Fixed the last error test for loads binary.
* Fixed one missing number in the comparison.
* Fixed the first Lint errors.
* Added comment in the Dockerfile.
The commented line about `git submodule`.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549075767
* Removed NASM and Go from the setup.
Created a new bash script to install them and added to the Dockerfile.
https://github.com/pwndbg/pwndbg/pull/868/files#r549075931
https://github.com/pwndbg/pwndbg/pull/868/files#r549076078
* Added the setup script in the GitHub test workflow.
https://github.com/pwndbg/pwndbg/pull/868/files#r549075931
https://github.com/pwndbg/pwndbg/pull/868/files#r549076078
* Testing the emulate cases.
It should be fail. I commented the emulation for the address 0x401000.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549111511
* Fixed the different start addresses in the assembler test.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549111511
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549075485
* Experimenting with the python location.
Commented the remove python binary and added some logs.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549076170
* Removed the commands about delete Python and link the Python3.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549076170
2020-12-31 04:35:52 +01:00
roptimizer
bde3637791
added fix for i386 libc6-dbg package. ( #859 )
2020-12-02 15:14:15 +01:00
Tobias Faller
b209c2b54e
Added installation configuration for Gentoo ( #820 )
...
* Added installation configuration for Gentoo
* Added check for sudo command
2020-09-17 14:24:06 +02:00
Keun Tae (Kevin) Park
a9c43edef2
In setup.sh, remove installation of python2 for apt ( #828 )
2020-09-17 14:23:49 +02:00
Disconnect3d
d088019232
Update .travis.yml: trusty->bionic ( #796 )
...
* Update .travis.yml
* Fix py3 setup
2020-07-01 00:20:28 +02:00
Weston
677dfa2a19
Changes in dependencies needed for Ubuntu, starting from scratch. ( #763 )
...
* Added install to apt line: fixed bug mentioned by @martinclauss in #748 that might be needed for Ubuntu <20.04.
* Added git to apt-get, which is needed for a docker run -it ubuntu
2020-05-30 00:33:10 +02:00
tabell
609284cee2
support for xbps install ( #753 )
2020-05-10 21:23:59 +02:00
Weston
d3ec217e60
fix for ubuntu 20.04 ( #748 )
2020-05-04 17:48:31 +02:00
bigben93
3cf9b31841
Added suppor fot opensuse ( #734 )
2020-03-28 16:16:24 +01:00
Chiller Dragon
c46417f709
Remove useless cat from setup ( #717 )
2020-03-08 14:10:19 +01:00
Derrick McKee
e650f92c4b
adding support for clear linux ( #694 )
2019-12-12 18:07:27 +01:00
Yanick Fratantonio
203f10710e
prevent apt-get from blocking at setup time ( #680 )
2019-10-25 16:43:59 +00:00
geoffbeier
1158a3086d
Address pwndbg#674 - add gdb-gdbserver dependency ( #676 )
...
for fedora.
2019-10-08 00:54:59 +02:00
Tommaso Fontana
3582fb37c3
Added install instruction for Manjaro users on setup.sh ( #606 )
...
On manjaro the following command:
```sudo pacman -Syu pwndbg-git```
would not work.
But with yay or yoaurt it does.
2019-04-01 09:43:37 +02:00
Disconnect3d
4a341372c9
Fixes #551 - broken setup.sh for unknown distros ( #554 )
2018-10-22 23:20:40 +02:00
Disconnect3d
ab46a7943f
Improve setup.sh distro and docker handling ( #549 )
...
* Make setup.sh work with Docker on root w/o sudo
* setup.sh: fallback to apt/dnf
If the OS is not detected/supported, try checking for apt/dnf.
* setup.sh: inform about arch's AUR package
2018-10-17 18:33:15 +02:00
Claudia J.Kang
e61b055956
Added the installation script for each distros. ( #540 )
...
* Added the installation script for each distros.
This commit adds the installation script for each distros in setup.sh.
Also, the content of the script was changed to install all the required packages for pwndbg in each distros.
Fixed : #296
Signed-off-by: Claudia J. Kang <claudiajkang@gmail.com>
* Fedora installation: add make to dnf install
2018-10-11 23:51:49 +02:00
Zach Riggle
8ee0208cb7
Use "pip" versions of Capstone and Unicorn ( #176 )
...
* Use Pip version of Unicorn
* Remove capstone submodule
* Allow installation to the user site-packages for Darwin, since SIP prevents installation to the system site-packages
* Add helper functions and fix Python calls
* Remove duplicated code (rebase issues?)
2017-04-05 21:27:42 -05:00
Zach Riggle
832b8e7b73
Enhance setup.sh ( #207 )
...
* Install GDB before attempting to install Pwndbg
* Bail if GDB is not found
* Revert "Remove --target from setup.sh"
This reverts commit 62b772a3d6
.
* Revert "Remove unused variables from setup.sh"
This reverts commit 9042f5f761
.
* Remove unused variables from setup.sh
* Ensure that pip is available via ensurepip
* Upgrade pip itself
* There is no ensurepip for Ubuntu installs
* Fix typo, use correct Python
2017-04-05 14:04:45 -05:00
Zach Riggle
9042f5f761
Remove unused variables from setup.sh
2017-02-01 01:58:06 -05:00
Zach Riggle
62b772a3d6
Remove --target from setup.sh
2017-02-01 01:57:53 -05:00
Zach Riggle
3285da1754
Upgrade setup.sh to work with newer Capstone and Unicorn
2017-02-01 01:55:17 -05:00
Zach Riggle
95f7a1d94c
Fix CI regression introduced in 2bfe549
...
- Typo
- Travis does not have libc6:i386
2017-01-30 13:33:43 -05:00
Zach Riggle
2bfe549b22
Add libc6-dbg to installed packages
2017-01-29 23:28:59 -05:00
Zach Riggle
b1fc02bd50
Ignore update failures
2016-12-02 18:44:33 -05:00
Zach Riggle
7bdec11e6d
Do not use sudo for the setup.sh since this sets up the submodule files to be owned by root
...
Fixes pwndbg/pwndbg#106
2016-09-08 14:40:25 -07:00
Zach Riggle
0c9200d614
Enable caching on Travis ( #59 )
2016-06-10 12:48:58 -06:00
Zach Riggle
66b6a663bc
Explicitly set full path to Python interpreter, and site-packages directory
2016-05-27 17:15:34 -07:00
Zach Riggle
f5705206b7
Fix Python version detection in the install script
2016-05-27 14:35:46 -05:00
kernel-sanders
8e3ec3f22b
Fix line .gdbinit modification line
...
Your install instructions say to cd into the top level pwndbg directory and run ./setup.sh. This causes your last popd on line 27 to put you back there, and then line 32 adds an extra /pwndbg/ to the path of gdbinit.py so gdb can't find it on launch.
2016-05-26 21:49:19 -04:00
Gulshan Singh
155b4d274c
Add -y to apt-get install command
2016-05-24 22:32:59 -07:00
Zach Riggle
b148edfaed
Use correct Python; don't use apt on OSX
2016-05-12 12:35:35 -07:00
Zach Riggle
99360399e6
Documentation and minor additions for setup.sh
2016-05-11 19:42:13 -07:00
Zach Riggle
cdbff116d6
Update installation instructions
2016-05-11 19:36:26 -07:00