Patryk Sondej
ef63660217
bump 2025.04.18
8 months ago
patryk4815
9eab50b2f0
New release 2025.04.13 ( #2870 )
...
* release tool
* bump 2025.04.13
* fix lint for release script
8 months ago
k4lizen
21dcc0a321
Documentation versioning ( #2853 )
...
* add documentation versioning
* allow release docs workflow dispatch
* remove deploy prefix; move docs workflow
---------
Co-authored-by: patryk4815 <patryk.sondej@grupawp.pl>
8 months ago
patryk4815
70bd59b9a1
Fix compatibility issues with Windows ( #2855 )
...
* add pyreadline3 for windows
* fix terminal for windows
* fix disasm mmap for windows
* fix lint
* Update pwndbg/dbg/lldb/repl/readline.py
* small fix for readline
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
8 months ago
k4lizen
aeefc471dd
Refactor Docs ( #2827 )
...
* add comments in mkdocs, autogenerate nav
* reorganize the docs folder structure so they look good when the nav is autogenerated
* add really cool Source page
* fix edit, hide nav in setup, cleanup mkdocstrings config a bit
* fix doc CI build failure
* cleanup mkdocs.yml
* allow mkdocstrings to use linter
* remove empty files
* show parameters cleaner
according to the google style guide, we shouldn't specify types when they are in annotation, so using table which always shows types doesn't make sense
8 months ago
patryk4815
ef858d7b44
bump unicorn-2.1.3 ( #2776 )
9 months ago
patryk4815
0d7a135085
bump 2025.02.19 ( #2754 )
...
* bump 2025.02.19
* bump in docs
10 months ago
Disconnect3d
22298d01f7
Bump version to 2025.02.16 ( #2747 )
10 months ago
patryk4815
a0e39b06de
bump unicorn to 2.1.2 ( #2731 )
...
* bump unicorn to 2.1.2
* fix lock
10 months ago
patryk4815
85582c0ccf
Remove poetry and add uv packet manager ( #2726 )
...
* replace poetry.lock with uv.lock
* replace poetry.lock with uv.lock
* replace poetry.lock with uv.lock
* setup.sh port to uv
* gdbinit / lldbinit port to update deps in uv
* lint port to uv
* lint
* lint
* docker-compose is legacy command
* fix setup install info
* fix update deps
* port setup-dev to uv
* port dockerfiles
* fix portable suffix
* fix setup
* fix setup
* port nix poetry na uv
* fix var naming
* change poetry to uv in github actions
* fix readthedocs
* bugs
* ok
* patch lldb / gdb
* fix pyenv
* overlay tblgen lldb
* new uv lock
* fix for portable
* rewrite flake to new cross system
* fix ci
* fix mkdocs & mypy
* fast lint
* fix mkdocs
* fix lint
* rm mips
* small refactor
* fix ppc64
* add ppc64le
10 months ago
patryk4815
12207c8687
Add feature to dump kernel nftables ( #2679 )
...
* init add knft
* Update pwndbg/commands/knft.py
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* Update pwndbg/commands/knft.py
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* Update pwndbg/commands/knft.py
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* Update pwndbg/commands/knft.py
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* Update pwndbg/commands/knft.py
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* Update pwndbg/commands/knft.py
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* Update pwndbg/commands/knft.py
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* Update pwndbg/commands/knft.py
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* fixy
* fixy
* fixy
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
10 months ago
Dominik 'Disconnect3d' Czarnota
4b70da5a64
bump version
11 months ago
patryk4815
9f1753f4d0
Port kernel vmmap to aglib ( #2634 )
...
* Port kernel vmmap to aglib
* fix
* add comment
* add comment
* fix page
* fix page
* lint
* lint
* Update pwndbg/aglib/kernel/vmmap.py
* Update pwndbg/aglib/kernel/__init__.py
* Update pwndbg/aglib/kernel/vmmap.py
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
12 months ago
patryk4815
773cec7c4a
Cleanup gdblib ( #2592 )
...
* Cleanup gdblib
* Fix prompt hook
* Fix prompt hook
* Sync gdblib.memory with aglib.memory. There as missing event pause/resume
* Fix typing for kernel macros and binder
* Fix typing binder
* Update pwndbg/aglib/proc.py
* Update pwndbg/aglib/memory.py
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
1 year ago
Aaron Adams
4fa42857ec
refactor: create ptmalloc2 and jemalloc command categories ( #2575 )
1 year ago
patryk4815
64bd3fee8e
Port to aglib: ropgadget ( #2563 )
...
* Port to aglib: ropgadget, rop
* rop: fix capstone mode
* rop: fix msg
1 year ago
patryk4815
0076f108ab
Port to aglib: dt ( #2568 )
...
* dt: move dir
* dt: port to aglib
1 year ago
patryk4815
cd89c9d26c
Add nix tests ( #2557 )
...
* Fix terminal width to 80 columns in qemu-tests - same as PR #2444
* Add the ability to run tests with nix on ubuntu
* setup-dev.sh: add --install-only option
* bump poetry.lock
* workflows: add nix tests on ubuntu
* workflows: enable --nix flag in tests
* workflows: enable pwndbg-dev in tests
* setup-dev: install libc 32bit dbg symbols
* workflows: bump timeout 40min
* tests: fix link
* steup-dev: fix lint
* tests: fix tmpdir
1 year ago
patryk4815
d96815153a
bump: capstone=5.0.3 & unicorn=2.1.1 ( #2451 )
...
* bump: capstone=5.0.3 & unicorn=2.1.0
* archlinux: fix usage of correct versions of Python dependencies
* bump: unicorn=2.1.1
* portable: remove unneeded proot
* bump: nixpkgs & poetry2nix
* fix pycache for release nix
1 year ago
patryk4815
c80793f41e
add python3.10, add debian12, drop python3.8, drop ubuntu20.04, drop debian11 ( #2421 )
...
* drop ubuntu-20.04
* bump debian11->debian12
* bump python3.8->3.10
* bump py3.10 dependencies
* fix mypy/lint errors
1 year ago
Matt.
c2bf902ea7
Port Pwndbg to LLDB ( #2382 )
...
* Port Pwndbg to LLDB
* Fix splitting mistakes
* I love typos
* We already check for Python 3.11 manually
* Update pwndbg/dbg/lldb/__init__.py
Co-authored-by: patryk4815 <bux.patryk@gmail.com>
* Fix use of wrong variable name that was preventing the vmmap from being used in LLDB memory reads
* Use cached vmmap for `read_memory` in LLDB
* Fix Pwndbg CLI jank
* Try using SBAddress to resolve objfile names in LLDB vmmap
* Fix missing changes in `pwndbg.gdblib`
* Update pwndbg/aglib/arch.py
* Update pwndbg/aglib/arch.py
* Remove outdated comment about `pwndbg.aglib.arch`
* Update pwndbg/dbg/lldb/repl/io.py
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* Fix lints
* Fix new test so that it points to `pwndbg.aglib.disasm`
* Fix lints
---------
Co-authored-by: patryk4815 <bux.patryk@gmail.com>
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
1 year ago
Disconnect3d
0c6085d564
Bump version to 2024.08.29 ( #2401 )
1 year ago
Lennard Hofmann
b4a1b9a177
Delete pwndbg.constants in favor of pwnlib ( #2180 )
...
* bump pwntools to 4.14.0b0
Run ./setup.sh or ./setup-dev.sh to upgrade.
This is required for RISC-V syscall numbers.
* Delete pwndbg.constants in favor of pwnlib
1 year ago
patryk4815
620f38008c
fix nix + charset + bump dependencies ( #2355 )
...
* fix charset issues
* use '.skip-venv' in nix'ed pwndbg
* bump nix & python dependencies, gdb15.1, python3.12.4
1 year ago
dependabot[bot]
85bf10879a
Bump setuptools in the pip group across 1 directory ( #2308 )
...
Bumps the pip group with 1 update in the / directory: [setuptools](https://github.com/pypa/setuptools ).
Updates `setuptools` from 69.5.1 to 70.0.0
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v69.5.1...v70.0.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
dependency-group: pip
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Matt
aa566e595a
Expand Debugger-agnostic API and split `pwndbg.dbg.evaluate_expression` ( #2280 )
1 year ago
OBarronCS
0ab077ffde
Import disasm folder gdblib ( #2260 )
1 year ago
Matt
2ecdce4ea8
Move main configuration object from `pwndbg.gdblib.config` to `pwndbg.config` ( #2244 )
...
* Split move from `pwndbg.gdblib.config` to `pwndbg.config`
* Move `pwndbg.config` to `pwndbg`
* Fix lints and pytest mocks
1 year ago
Matt
d38e57639f
Move pwndbg/{heap,disasm} into gdblib ( #2206 )
2 years ago
dependabot[bot]
05926d0250
--- ( #2178 )
...
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
dependency-group: pip
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
peace-maker
90dc42e5b2
Additional type hints ( #2120 )
...
* Additional type hints
Activate `vermin --eval-annotations` to catch invalid type hints for Python 3.8.
Use `typing_extensions.ParamSpec` to avoid hiding function arguments through decorators.
* Fix safe linking detection
* Fix cast of glibc_version parameter in < Python 3.10
* Use "queue.Queue[int]" for Python 3.8 compatibility
* Address review
* Add comments and address review
2 years ago
Gulshan Singh
5e77036b77
Add script to generate command documentation ( #2161 )
...
* Add mdutils to docs dependencies
* Add script to generate the command docs
---
Co-authored-by: Niko <nikoshell20@gmail.com>
2 years ago
Gulshan Singh
33e91c2bab
Minor docs/website cleanup ( #2159 )
...
* Move docs dependencies into pyproject, install with poetry in GH action
* Remove old sphinx files
* Remove custom theme dir
* Hide navigation and toc on the blog page
* Remove fetch-depth from docs GH workflow
* Source venv before running mkdocs build
* Remove caching from docs GH workflow
* Remove python version in docs GH workflow
2 years ago
CptGibbon
c2ace79eac
Use ruff as the default Python formatter in devcontainer.json ( #2148 )
...
* Set default devcontainer formatter to ruff
Update devcontainer.json to use charliermarsh.ruff as the default formatter.
This should bring the devcontainer environment in line with the CI-enforced formatting & linting.
* Remove black & pylint extensions from devcontainer.json
The black & pylint extensions are no longer used, ruff is now responsible for formatting and linting.
* Set source.organizeImports to "explicit"
The previous setting of true is deprecated
* Remove tool.black from pyproject.toml
* Remove tool.pylint from pyproject.toml
* Don't let ruff organize imports
Leave it to isort
2 years ago
Gulshan Singh
8e641929f9
Upgrade dev dependencies ( #2137 )
...
* Upgrade dev dependencies
2 years ago
Gulshan Singh
90933c3b58
Upgrade all dependencies ( #2128 )
...
* Upgrade dependencies
---------
Co-authored-by: patryk4815 <patryk.sondej@gmail.com>
2 years ago
Gulshan Singh
060106b1e6
Switch from `black` to `ruff format` in lint script ( #2130 )
...
* Update ruff version
* Switch from black to ruff format
* Reformat with ruff format
* Remove dependency on black
2 years ago
charif
7df87c93c6
improve kbase ( #2097 )
...
Fix kbase for newer kernels and allow automatically rebasing kernel symbol information
2 years ago
jetchirag
ebcff7cd59
WIP: Fix Flake8 warnings ( #2101 )
...
* Fix F811
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
* A003 doesn't flag anymore, rule was changed
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
* W505
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
* Revert "W505"
This reverts commit 2494a34c20 .
* Revert "A003 doesn't flag anymore, rule was changed"
This reverts commit d342ac7aae .
* Removed a commented line
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
* Mistakenly modified another variable
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
* Replace not None assertion to not empty string
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
---------
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
2 years ago
jetchirag
e7548c7f14
Fix flake8 warnings ( #2100 )
...
* Initial commit for running GH tests
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
* Removed/Fixed unused variables - flake8 F841 warnings
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
---------
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@outlook.com>
2 years ago
dependabot[bot]
f55198b6e1
Bump black from 24.2.0 to 24.3.0 ( #2079 )
...
Bumps [black](https://github.com/psf/black ) from 24.2.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.2.0...24.3.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Gulshan Singh
da817b2378
Install dev dependencies with poetry ( #2065 )
...
* Add dev dependencies to pyproject.toml
* Add poetry.toml file
* Remove dev-requirements and install dev dependencies with poetry
* Update pwndbg.nix
2 years ago
Gulshan Singh
da3f0f3b26
Re-enable attr-defined typecheck error for some modules ( #2060 )
2 years ago
Gulshan Singh
c2b96d268f
Add more type annotations ( #2059 )
2 years ago
Gulshan Singh
037cb8a1f4
Re-enable name-defined type checks in auxv.py ( #2058 )
2 years ago
Gulshan Singh
d346499d19
Add ipython as a dependency ( #2041 )
2 years ago
Gulshan Singh
3d57de2eda
Enable more lint checks ( #2048 )
...
* pyupgrade py36-plus
* Enable ruff C4 checks and fix issues
* Enable ruff ISC checks and fix issues
* Enable ruff SLOT checks and fix issues
* Enable ruff FLY checks and fix issues
* Enable some RET ruff checks and fix errors
* Enable PGH ruff checks and fix errors
* Fixed some more lint issues
2 years ago
Gulshan Singh
5ab3ed0888
Update dev requirements ( #2046 )
...
* Update dev-requirements
* Reformat after black upgrade
* Update ruff configuration after version upgrade
* Fix new ruff errors
2 years ago
Gulshan Singh
03f4dd0638
Disallow any-generics ( #2045 )
2 years ago
Matt
0cb1ce61d4
Add support for glibc heap UAF detection ( #1841 )
...
* Add support for breaking on UAF
* Small fixes and documentation
* Add a command to enable and disable tracking, better diagnostics
* Add initial support for calloc and realloc
* Better safeguard against matching ld.so malloc
* Small fixes
* Better interface for managing the heap tracker. More terse and information dense diagnostics
* Add warning and fix lints
* Update poetry lock
2 years ago