patryk4815
145d5c9673
Bump gdb from pypi + fix gdb-pt-dump dependency ( #3445 )
...
* bump gdb
* fix test test
2 weeks ago
OBarronCS
9763fc3437
Replace all occurrences of pwndbg.aglib.regs[x] with pwndbg.aglib.regs.read_read("x") for register reads. Remove __getitem__ from the regs module. ( #3440 )
2 weeks ago
OBarronCS
755ff4ccc2
Remove duplicate GDB tests ( #3397 )
1 month ago
Will Rosenberg
3029957148
fix get_file() checking relative paths ( #3386 )
...
* fix get_file() handling of relative paths
* aglib get_file test
* fix typo
* lint formatting
1 month ago
marywinter3
39083a134c
Hexdump command ( #3337 )
...
* Add option to dump memory as code
* Change for loops
* Change return
* Add tests.
* Fix bug with backslash
1 month ago
OBarronCS
85b93a792a
Manually propagate register values across instructions while disassembling ( #2963 )
...
* Manually propagate register values across instructions while disassembling, allowing better annotations when emulation is unavailable
* Add comment
* More comments
* Comment
* Comment fix
* Local variable change
* Print register writes in instruction debug print
* Clear register set when encountering branch with undetermined result
* Update tests
* lint
* Fix dbg tests
* Update dev docs related to reasoning about process state
2 months ago
Matt.
630eac36c8
Port tests to debugger-agnostic test group: Second Batch ( #3189 )
...
* Add even even more tests
* Fix 0
* Fix 1
* Add heap tests
* Fix 0
* Match new module layout
* Fix a couple of tests
* Backport test binary changes to GDB suite
4 months ago
jxuanli
9aabc0b83d
Supporting kernel debugging in the absence of provided type information ( #3116 )
...
* recoverying from rm -rf
* refactored kconfig
* collapsing merge history
* cleaning up
* refactored out buddydump and slab type helpers
* improving bud and slub
* improved arch specific symbol handling
* improved handling of vmemmap and vmalloc bases when symbols do not exist
* misc
* doc
* properly naming kernel symbol files
* try except for cases where ptrace_scope is enabled
* fixing test
5 months ago
Rachit Kumar Pandey
2f19e96f49
feat(cyclic): Add --detect flag in cyclic command ( #3162 )
...
* feat(cyclic): Add --detect flag to find patterns in registers
* regenerate docs
* Update pwndbg/commands/cyclic.py
* add tests for `cyclic --detect`
* Add timeout argument for --detect
* update docs
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
5 months ago
patryk4815
72dc157686
Drop external `ps` calls in favor of `psutil` ( #3179 )
...
* Drop external `ps` calls in favor of `psutil`
* if pid is None, return
* fix test
5 months ago
patryk4815
f7f8b31f4f
add relative imports into tests ( #3161 )
...
* add relative imports into tests
* fix lint
* fix run
* fix imports
* fix lint
* fix mocks
* fix unit_tests
* fix collect
* fix execute with nix
* fix qemu-system
5 months ago
Elijah Hauber
0abe0a8066
Add tests for issue #2621 ( #3148 )
...
* Add tests for issue #2621
https://github.com/pwndbg/pwndbg/issues/2621#issuecomment-2595162380
* Update to use xuntil, use threading event, and reduce time for timeout
* fix f-string mistake
5 months ago
patryk4815
df12edc0d5
Use gdb/lldb from pypi ( #3119 )
...
* add lldb/gdb pypi
* add gdb
* debug
* debug
* fix paths
* fix lldb
* add lldb-server
* bump lock
* fix nix
* fix lint
* rename gdbinit
* fix pwndbg nix
* revert missing files
* fix docs
* fix docs
* remove .skip-venv, not needed anymore
* cleanup version comment
* fix lint script
* lint
* fix nix develop
* fix docs
* fix docs script
* use 'pwndbg' binary for tests
* lint
* fix kernel tests
* fix ubuntu22.04
* bump lldb
* refactor gdbinit/lldbinit
* test1
* fix logger
* fix tests no-home
6 months ago
Jason An
c82fbcd11f
Various arch fixes for Go dumping ( #3128 )
6 months ago
Jason An
a6cf06b8cf
Add support for dumping Go swissmaps ( #3127 )
6 months ago
Disconnect3d
dc46ade886
Disable Go dumping tests until we handle Go 1.24 properly ( #3122 )
...
* Disable Go dumping tests until we handle Go 1.24 properly
* Update test_go.py
* Skip tests instead of xfail
6 months ago
Matt.
31dd105e52
Rework structure of testing framework ( #3101 )
...
* First draft
* Second draft
* Add `TEST_USE_GDBINIT` toggle to gdb test library
* Fix qemu-system tests
* Split `qemu` into `qemu-user` and `qemu-system`
* Fix qemu-user tests
* Add coverage information for parallel tests
* Update dockerignore and documentation
* Update docs/contributing/writing-tests.md
---------
Co-authored-by: patryk4815 <bux.patryk@gmail.com>
6 months ago