Commit Graph

37 Commits

Author SHA1 Message Date
Gulshan Singh e456b317d7 Convert all vmmap references to pwndbg.gdblib.vmmap 2022-10-13 15:23:38 -07:00
Gulshan Singh eabab316d2
Split config.py into lib/ and gdblib/ (#1134) 2022-10-13 14:50:20 +02:00
Gulshan Singh bfbb2b8652
Move symbol.py to gdblib (#1259)
* Move symbol.py to gdblib

* Renamed private methods

* Renamed pwndbg.symbol to pwndbg.gdblib.symbol

* Cleanup symbol.py

* Fix lint issues

* Handle tls error on symbol lookup

* Fix merge conflicts

* Remove old way of looking up symbols
2022-10-11 06:11:25 +02:00
Gulshan Singh 6856e9294c
Move elf.py to gdblib (#1260) 2022-10-08 23:16:57 -07:00
Gulshan Singh 63b988a997
Move file.py to gdblib and improve procinfo test (#1258) 2022-10-08 21:07:15 -07:00
Gulshan Singh bb342a9286
GDB Refactor [18/N]: Move proc to gdblib/proc.py (#1247) 2022-10-08 16:00:53 -07:00
Gulshan Singh 8fdc423841
Move net.py to lib (#1246) 2022-10-08 01:17:33 +02:00
Disconnect3d 3043c748fe
Remove badges from docs/index.md 2022-09-29 03:52:16 +02:00
Gulshan Singh ffdff0f966
Move argv.py to gdblib (#1141) 2022-09-09 22:48:56 +02:00
Gulshan Singh ccc56b9a58
Remove unused imports (#1139) 2022-09-09 04:56:26 +02:00
Gulshan Singh 2ea32b089a
Move qemu.py and remote.py to gdblib (#1130) 2022-09-07 14:15:07 +02:00
Gulshan Singh 8e212b46ef
Move strings.py and dt.py to gdblib (#1129) 2022-09-07 02:31:04 +02:00
Gulshan Singh 512db53edd
Split memory into lib/ and gdblib/ (#1128) 2022-09-07 01:27:46 +02:00
Gulshan Singh 6d573290ac
Move some modules into gdb/ (#1125) 2022-09-05 21:03:19 +02:00
Gulshan Singh a002e29bc1
Split regs.py into lib/ and gdblib/ (#1121) 2022-09-05 20:42:56 +02:00
Gulshan Singh cc50024417
Format shell scripts with shfmt (#1123)
* Add lint.sh script

* Format shell scripts with shfmt and add to lint.sh

Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
2022-09-05 13:24:52 +02:00
Gulshan Singh 2b62259d7e
GDB Refactor [2/N]: move some modules to lib/ (#1118)
* Don't exclude pwndbg/lib in .gitignore

* Move which.py to lib/which.py

* move funcparser.py and functions.py to lib/

* moved version.py to lib/

* Move tips.py to lib/

* Update pwndbg/lib/version.py

Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
2022-09-05 13:23:20 +02:00
Gulshan Singh 77380eb63c
GDB Refactor [1/N]: Split arch.py and related files into lib/ and gdb/ (#1114)
* Split arch.py and related files into lib/ and gdb/

* Rename pwndbg.gdb to pwndbg.gdblib
2022-09-05 04:14:40 +02:00
syheliel 7e8c999795
Fix IDE's auto-complete support (#1106)
Co-authored-by: syheliel <syheliel@gmail.com>
2022-08-30 20:46:16 +02:00
Disconnect3d b3a560eff0
black all da code (#1103) 2022-08-30 02:53:00 +02:00
Lukasz Taczuk d99e15985c
Adds documentation for debugging with PyCharm (#1058) 2022-08-14 22:34:36 +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
Samanta Navarro 38c38aacfa Fix typos
Typos found with codespell.
2021-12-05 13:37:10 +01:00
Disconnect3d eee5dbcbf1 Remove Py2 class object inheritance
The `class T(object):` can just be `class T:` in Py3, so this commit just removes such inheritance.
2021-10-09 19:36:16 +02:00
Nicky Lim b73973392d fix typo in dd command 2021-09-19 17:30:28 +02:00
Disconnect3d ccd8f76803
Remove travis (#816)
* Remove travis

* Remove travis
2020-08-15 20:56:08 +02:00
Paweł Płatek e3b910c5d5
Try heap (#744)
* start try_free_parser

* try_free_parser done, tests written

* add try_free to FEATURES.md

* rename current_heap to allocator
2020-04-27 14:02:09 +02:00
Chiller Dragon d2fc36701f
Happy new year 2020 (#718) 2020-03-08 14:09:55 +01:00
Anatoly Korniltsev 57cc3c2f14 Allow hexdump by module name, like vmmap (#683)
Implements #678
2019-11-03 18:44:54 +01:00
Jan Mazur 9b6d412db4 Revert "Add history command (#643)" (#658)
This reverts commit d1118f2cbb.
This commit breaks tab autocompletion.
2019-06-18 22:04:55 +02:00
Vesim d1118f2cbb Add history command (#643)
* Add history command

* Sort the imports in history.py

* Add history command to docs
2019-06-05 23:43:47 +02:00
Stuart Nevans Locke 4696c4d25a Add mkdocs documentation (#639)
* Initial setup of mkdocs

* Add documentation for every command. Also put them in some structure

* Fix typo

* Fix newline

* Update index

* fix some leakfind errors

* Some more fixes

* Fix search

* More fix
2019-05-10 19:37:41 +02:00
Disconnect3d 15c8a1184f
Fixes #391 - kills compat.py module (#452) 2018-05-04 04:41:23 +07:00
KillPinguin c4f749fcee Removed duplicate requirement (#339)
2 Lines stated "capstone"
2017-09-13 01:22:06 +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 064a2c1ea8 Add docs requirements file 2017-03-06 11:47:20 -06:00
Zach Riggle 4a96004003 Add documentation, eventually for ReadTheDocs (#169)
* First-pass for documentation, and mocking

* Add some example commands

* Add a bunch of API documentation
2017-03-06 11:36:27 -06:00