patryk4815
4f7acd53e5
Fix `procinfo` for cross-namespace (root → netns) process attach ( #2937 )
...
* - Use process network namespace instead of debugger network namespace for /proc/net/* files.
- Add tcp6 support
* - use tid
* - fix format ipv6
* fix lint
* add test + fixes
* convert little to big endian
* convert little to big endian
8 months ago
patryk4815
a2fa68f7ed
Port procinfo ( #2550 )
...
* Port commands to agnostic: procinfo, pid. Additionally drop unused android support.
Later we should check android support and implement it proper.
* procinfo: drop class
1 year ago
Matt.
c3732892ff
Remove `gdblib.arch` in favor of `aglib.arch` ( #2454 )
1 year ago
Disconnect3d
c4b71af356
Typing fixes ( #1970 )
...
* FIX: updating type hints batch 1
* FIX: linter errors
* FIX: more type hints update
* FIX: more type hints update
* FIX: more type hints update
* FIX: more type hints update
* FIX: more type hints update
* FIX: revert gdb.execute fixes
* FIX: revert return pid
* FIX: revert gdb.execute fixes
* FIX: fixing suggestions
* FIX: reverting type changes
* FIX: reverting some logic changes that I did
* FIX: minor fixes
* FIX: more reverts
* FIX: revert logic fix
* FIX: revert logic fix
* FIX: revert changes
* FIX: temporarily silent the mypy error exit status
* Update proc.py
* Update config.py
Removing a redundant self.triggers key setting since its a defaultdict!
* Update lint.sh
* Fix some mypy lint issues
* fix mypy lints
* fix mypy lints
* fix mypy lints
* fix mypy lints
* fix mypy lint
* Fix mypy lint
* fix mypy lints
* fix mypy lint
* ignore mypy lint
* ignore mypy lint
* typing fixes
* reformat
---------
Co-authored-by: HackSys Team <ashfaq_ansari1989@hotmail.com>
2 years ago
Disconnect3d
9e9f328ccc
Update code to Python >= 3.8 ( #1840 )
...
* isort: import __future__ annotations & pyupgrade to 3.8
* dev-requirements.txt: update vermin to 1.5.2 & dont use --quiet
* pyupgrade 3.8 fixes
* fixes
* update vermin to 3.8-
2 years ago
Gulshan Singh
37376c8ac7
Covert printf format strings to f-strings ( #1735 )
3 years ago
Disconnect3d
94599bcc42
Fix procinfo command ( #1544 ) on QEMU targets and with abstract UDS ( #1545 )
...
* Fix procinfo command (#1544 ) with abstract UDS
* Update pwndbg/gdblib/file.py
3 years ago
Gulshan Singh
301d0b9ccd
Type fixes ( #1517 )
...
* More type fixes
* Don't call Arch.__init__ directly
* Fix context type error
* Fix disasm type error
3 years ago
Gulshan Singh
241da50582
Add safe type hints ( #1469 )
3 years ago
Gulshan Singh
2be84a9b4d
Fix some mypy errors
3 years ago
Gulshan Singh
63b988a997
Move file.py to gdblib and improve procinfo test ( #1258 )
3 years ago
Gulshan Singh
8fdc423841
Move net.py to lib ( #1246 )
3 years ago