Disconnect3d
4148d1095e
Update FEATURES.md ( #2681 )
11 months ago
patryk4815
ef9a40317f
Port binja integration to aglib ( #2676 )
...
* port binja integration to aglib
* rem import
11 months ago
Dominik 'Disconnect3d' Czarnota
4b70da5a64
bump version
11 months ago
patryk4815
3420754653
Fix binja_integration.md ( #2680 )
11 months ago
k4lizen
6a779b0d86
Fix terminal size calculation ( #2675 )
...
* dont ask the debugger for terminal size when it is not the output target
* use stdout instead of stdin because of #2459
11 months ago
patryk4815
c61fcf5c0c
Enable ubuntu-arm on github actions ( #2678 )
...
* enable ubuntu-arm on github actions
11 months ago
patryk4815
7bda89c754
mention lldb in readme ( #2677 )
...
* mention lldb in readme
* mention lldb in readme
* mention lldb in readme
* mention lldb in readme
* add table
11 months ago
patryk4815
2546eef4ab
Fix poetry ( #2672 )
...
* fix pwndbg-gdb for portable build
* fix poetry lock
11 months ago
Richard Liu
e5b1925d8d
Add profiler command and lazy load functions table ( #2671 )
...
* lazy load functions table
- for faster startup times (around 8% faster)
* add profiler command
* add unit tests
* fix linter errors
* unit test fix comparison
Use `is` instead of `==` for strict equality.
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* add profiler usage and allow changing output file
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
11 months ago
Richard Liu
6912875d7a
speed up pygments lexer selection ( #2670 )
...
- select a matching lexer based on filename only
- dramatically speeds up time of the first `context` when there is debug
source code that needs to be highlighted (3-4x speedup, from 0.8s to
0.2s on my machine)
- the only chance that a lexer can be selected wrong is when a plugin lexer
has the same filename pattern as a built-in lexer (in which case the
built-in lexer will always be used)
11 months ago
CptGibbon
02590b6134
Add partial overwrite support to find_fake_fast command ( #2667 )
...
* Add partial overwrite candidate to test binary
* Add --partial-overwrite option
* Add partial overwrite test case
* Implement partial overwrite feature
11 months ago
beatweichsler
882cd5ad7f
changed 2024 to 2025 in readme ( #2668 )
...
* changed 2024 to 2025
* Update README.md
changed line 15
* removed space
---------
Co-authored-by: Beat Weichsler <beatweichsler@Beats-MacBook-Pro.local>
11 months ago
patryk4815
dd75e208eb
Add support for pwndbg (gdb) on apple silicon chips ( #2666 )
...
* bump nix
* add ci
* add pwndbg to nix darwin
* fix test
11 months ago
patryk4815
d1896f9afc
Disable stack and vmmap exploration ( #2646 )
...
* disable stack exploration
* disable stack exploration
* disable stack exploration
* disable stack exploration log
* disable stack exploration
* disable stack exploration
* disable stack exploration
* remove log
* revert old code
* lint
* add page
* add page
* unused now
* fix riscv lldb
* fix send_remote
* fix send_remote
* fix send_remote
* fix send_remote
* fix send_remote
* fix send_remote
* fix stack
* fix stack
* fix stack
* fix stack
* debug
* debug
* fix vmmap
* fix vmmap
* fix vmmap
* fix vmmap
* fix vmmap
* fix vmmap
* fix stack
* fix stack
* fix stack
* fix stack
* fix stack
* fix stack
* fix stack
* fix stack
* fix stack
* fix stack
* fix stack
* fix stack
* Fix docker
* add vmmap_load info sections
* add vmmap_load info sections
* fix kernel
* lldb add run-args
* lldb add run-args
* lldb add run-args
* lldb add run-args
* lldb add run-args
* fix elf auxv
* port vmmap to aglib
* port vmmap to aglib
* fix stack
* fix stack
* fix file_get
* fix lint
* fix sloppy_gdb_parse
* fix get_file
* fix qemu-user remote
* commit suggested changes for `send_remote`
* commit suggested changes for `send_remote`
* commit suggested changes for `get_custom_pages`
* commit suggested changes for `send_remote`
* commit suggested changes for objfile names
* commit suggested changes for comment
* commit suggested changes for get_memory_flags
* commit suggested changes for vmmap_add help
* lint
11 months ago
patryk4815
4b8ead3d16
Fix docker build failure caused by new Poetry ( #2662 )
11 months ago
Jason N. White
b06267d938
Update LICENSE.md, fix license year ( #2660 )
...
Signed-off-by: JasonnnW3000 <sufssl04@gmail.com>
11 months ago
patryk4815
ad90ec1a1a
fix hijack-fd, wrong register on x86_64 ( #2653 )
11 months ago
patryk4815
6890f2f291
Fix kernel-vmmap qemu detection ( #2652 )
...
* fix vmmap message
* lint
12 months ago
patryk4815
4e0f8a999e
Lazy argv ( #2649 )
...
* lazy argv
* lazy argv
* lazy argv
* lazy argv
* lazy argv
* lazy argv
* lazy argv
* lazy argv
* lazy argv
* fix lint
* fix regresion from PR 2240
* cleanup
* cleanup
* cleanup
12 months ago
patryk4815
2fb8a687ed
fix negative address in some places ( #2645 )
...
* fix negative
* fix negative
* fix negative
* fix negative
* fix negative
* fix negative
12 months ago
patryk4815
652b29945a
Port argv ( #2643 )
...
* Port argv
* fix update
* fix update
12 months ago
patryk4815
a476475d30
Fix binder ( #2642 )
...
* fix binder
* fix binder
* fix binder
* fix binder
* fix binder
* fix binder
* fix binder
* fix binder
* fix binder
* fix binder
12 months ago
patryk4815
f17ff92c61
Cleanup qemu-user, gdb<12, vmmap ( #2644 )
...
* cleanup qemu-user
* msg
* fix
* lint
* fix
* unused
* fix download file
* fix download file
* fix download file
* fix download file
* implement vFile api...
* implement vFile api...
* implement vFile api...
* implement vFile api...
* implement vFile api...
* implement vFile api...
* implement vFile api...
* implement vFile api...
* implement vFile api...
* implement vFile api...
* fix comments
* fix monitor
* lint
12 months ago
patryk4815
2061d74770
Add new dbg.Type methods: offsetof, enum_member ( #2639 )
...
* Add new dbg.Type methods: offsetof, enum_member
* Update pwndbg/dbg/__init__.py
* Update pwndbg/dbg/__init__.py
* fix offsetof
* fix offsetof
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
12 months ago
patryk4815
cc20bd6654
Add next part of adding kernel support for LLDB ( #2640 )
...
* add kernel support for lldb
* remove negative check
* int0
12 months ago
patryk4815
afbc93ff79
AUXV disable stack exploration ( #2641 )
...
* add auxv explore + procfs_auxv
* add auxv explore + procfs_auxv
* catch err
12 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
Disconnect3d
880f986dbd
codecov: disable PR annotations ( #2635 )
...
TL;DR: Disable annoying annotations about "this line is not covered by tests" from codecov when reviewing PRs
12 months ago
patryk4815
644f7c11c6
Port aglib.symbol + aglib.kernel + aglib.godbg ( #2605 )
...
* Move kernel files to aglib
* Rewrite to new aglib.symbol
* Fix argv error catch
* Rewrite to new aglib.symbol
* New dbg method lookup_symbol
* New dbg method lookup_symbol
* Fix symbol api
* Fix comments
* Fix symbols for gdb<15
* Fix mock lookup_symbol
* Fix godbg
* Fix lint
* Remove typeinfo.null, because crashing golang
* Fix regex names
* Fix lldb function types
* Port aglib.godbg
* Port aglib.godbg v2
* Fix gdb symbol
* Fix slab
* Fix kernel values
* Fix slab
* Fix enum v1
* Fix enum v2
* unused import
* Fix slab
* Fix kernel
* Fix args
* Hmm
* LLDB fields change type without none
* Fix test, function no args
* Fix kernel?
* Fix kernel?
* Lint
* Fix kernel slab
* Fix kernel slab
* cleanup
* gdb catch leaked error
* cleanup polish+enums
* Add new name_identifier in types
* Fix slab type
* Fix lint
* Fix `entry` / `start` commands
* Fix address to name in lldb
* lint
* Fix lldb resolve type
* cleanup, patch is in gdb
* fix docs
* Check for missing debug info
* Fix types
* Fix docs + add integration
* Fix typo
* fix func check
* change variable lookup
* fix cleanup regression
* fixy
* fixy
* add comment
* fixy
* fixy msg
12 months ago
patryk4815
f9d8fa0537
lldb add qemu-user ( #2628 )
...
* add qemu-user
* fixy
12 months ago
peace-maker
6e4f89b4ff
Fix context history with `cwatch`'d expressions ( #2617 )
...
The output of the expressions section changes even when running `context` multiple times after each other. The output variables in GDB are counted up when reexecuting the watched commands for example. The other sections don't change their output. This caused the history to be extended infinitely when using `ctxp` while having a `cwatch` command executed.
Special case the `expressions` context section in the history handling to avoid reevaluating the watched commands/expressions while browsing the history. This doesn't add the context output to the history when the expressions VALUES change somehow like it is done for the other sections, but since we cannot know if gdb counted up their output variable names from $1 to $2 or the value changed, this is a compromise.
12 months ago
patryk4815
6a983126da
Move gdb.py into dbg/gdb/__init__.py ( #2629 )
12 months ago
patryk4815
ea25cb5fb4
fix cleanup regression ( #2632 )
12 months ago
patryk4815
6a6203148b
Fix tls for aarch64 and arm ( #2626 )
...
* fix tls for aarch64 and arm
* fix comment
* arm register
* fix
12 months ago
patryk4815
f351f27780
Fix `entry` command ( #2627 )
12 months ago
patryk4815
ab43ce572f
Add hijack-fd command to modify the file descriptor of a process ( #2623 )
...
* add hijack fd
* fix comments
* lint
* lint
12 months ago
patryk4815
f0386821c8
fix lldb signed/unsiged values ( #2624 )
...
* fix lldb signed/unsiged values
12 months ago
CptGibbon
8a2debb9d6
Add hexdump to trailing user data for vis_heap_chunks command ( #2620 )
12 months ago
patryk4815
2c583c21d4
LLDB add command: `ipi` ( #2619 )
12 months ago
peace-maker
c6922cc644
Fix context history with disabled context-sections ( #2616 )
...
When gdb is started and context is disabled by clearing `context-sections` before a context output was ever issued, the context history failed to handle the empty history. It assumed that there would always be data in one of the sections after running the context command.
12 months ago
patryk4815
9c734cfc17
Fix readline bug ( #2622 )
...
* nix fmt
* lldbinit fix missing PWNDBG_NO_AUTOUPDATE
* gdb fix readline bug
* gdb fix readline bug
* add readline test
* fix block readline
* add readline test
12 months ago
patryk4815
c475417481
Improve pwndbg-lldb REPL ( #2625 )
...
* add pwndbg-lldb history file
* add pwndbg-lldb last_command
* fix arrow up key, history command
* fix arrow up key, history command
12 months ago
Matt.
6727be246f
Fix issues in the Heap Tracker ( #2604 )
...
* Allow reentrant memory management calls in the heap tracker
* Defer deletion of GDB breakpoints and improve handling of `free(0)` and `realloc(..., 0)`
* Display instances of `free(0)` in the output of the heap tracker
1 year ago
CptGibbon
1c3e9507aa
Remove vscode personalization from devcontainer ( #2602 )
1 year ago
Disconnect3d
029b36eb9b
Fix/improve UX of start/sstart/entry on remote targets ( #2600 )
...
* Fix/improve UX of start/sstart/entry on remote targets
Fixes #2584 by checking if the target is remote in `start`, `entry` and `sstart` commands.
* fix lint
1 year ago
K
21b0f6a1b1
add vmmap -C option ( #2595 )
1 year ago
koalajoe23
028fc7b757
Make setup.sh return non-zero for all errors ( #2599 )
...
When building a customized Docker image containing pwndbg using ubuntu:20.04 as base, the build process does not fail even when setup.sh exits because Ubuntu 20.04 isn't supported anymore.
I think setup.sh should make the Docker image build process fail by emitting non-zero return values.
1 year ago
patryk4815
53f77ad6a5
Fix readme: codecov wrong branch, install from tar.xz ( #2598 )
1 year ago
k4lizen
654a9c1b37
fix: dont start GdbFunction help text on a new line ( #2596 )
1 year ago
patryk4815
f63a47bade
Add workaround for deadlock in gdb, when calling gdb.execute inside stop event ( #2594 )
...
* Add workaround for deadlock in gdb, when calling gdb.execute inside stop event
* Add workaround for deadlock in gdb, when calling gdb.execute inside stop event
1 year ago