Commit Graph

19 Commits

Author SHA1 Message Date
Disconnect3d 446f5d5ae2
add patch command (#1150)
* add patch command

This commit adds the `patch`, `patch_list` and `patch_revert` commands
and adds the `pwntools==4.8.0` as Pwndbg dependency.

The current implementation could be further improved by:
- adding tests :)
- maybe moving `patch_list` and `patch_revert` to `patch --list` and
  `patch --revert` flags?
- better handling of incorrect args/pwnlib exceptions

* lint
2022-09-20 00:30:45 +02:00
Gulshan Singh ccc56b9a58
Remove unused imports (#1139) 2022-09-09 04:56:26 +02:00
Gulshan Singh 544ea0eab7
Linting/formatting improvements (#1138)
* Fix flake8 F403 warnings

* Fix more flake8 errors and warnings

* Run isort on the root directory
2022-09-09 04:46:46 +02:00
Disconnect3d b3a560eff0
black all da code (#1103) 2022-08-30 02:53:00 +02:00
Janusz Kamieński 4a7f9ada3d
Remove Python 2 legacy code (#1052)
* remove py2 coding notations from files

* remove six package use and replace with proper py3 code

* remove py2 futures use

* replace unicode string literals with string literals

* remove python2 urlparse import in favor of python3 urllib.parse

* keep ida_script in py2 version

* remove hashbang python lines as the files are never ran directly
2022-08-10 22:47:09 +02:00
Your Name f8860ec936 fix path 2022-07-28 04:10:07 +02:00
disconnect3d 34f6cb2800 Make virtualenv warning more robust 2022-07-16 09:25:15 -07:00
Wiktor f21d568576 [#1035] Use virtualenv when available 2022-07-16 17:00:26 +01:00
Disconnect3d 301012abf2
Py3k (#817)
* Py3k

* Dont run py2 on CI

* Don't launch futurize on CI

* Move to latest isort options

* Modernize imports (isort>=5)

* Fix removed jump dir
2020-08-15 21:27:47 +02:00
Zach Riggle efe6c8b148 Sort inputs 2017-02-10 14:38:27 -05:00
Disconnect3d 94bc5910d9 Add check for UTF-8 encoding (#131) (#135)
Also moved workaround from #117 to common place - gdbinit.py
2016-11-18 09:43:33 -08:00
Zach Riggle eae961289c Add shebang and encoding to each file 2016-09-12 19:35:46 -07:00
Zach Riggle 373272aecd sixize 2016-06-14 12:32:22 -07:00
Zach Riggle d97847b872 Add isort, config, and pre-CI hook 2016-06-14 12:31:56 -07:00
Zach Riggle d13b9e85ce Add print_function to everything 2016-05-06 19:26:42 -07:00
Zach Riggle 1b36cbc5a3 Sort imports 2015-04-13 16:22:08 -04:00
Zach Riggle 27180e0dfa Rename module to pwndbg 2015-03-09 19:55:33 -07:00
Zach Riggle ca801c0d6d wip 2015-02-22 13:34:13 -08:00
Zach Riggle bc849f4e40 First commit, very dirty 2015-02-13 08:08:56 -08:00