Commit Graph

455 Commits (82dc478359fc55f97250306351cace61559f8e93)

Author SHA1 Message Date
jxuanli 7e41119045
Adding an extra x64 register set for qemu-system kernel pwning (#2932)
7 months ago
OBarronCS 205b0fd791
PLT command - search all .plt.* sections (#2945)
7 months ago
k4lizen 05bd01a140
Don't print all pwndbg function on startup (#2962)
7 months ago
k4lizen c8793b87d3
Test that gdb and argparse give the same help message (#2961)
7 months ago
patryk4815 4f7acd53e5
Fix `procinfo` for cross-namespace (root → netns) process attach (#2937)
7 months ago
OBarronCS 59e570033f
Update register definitions + manually emulated register set (#2927)
7 months ago
OBarronCS 9539d50d49
Switch to Zig for cross-architecture compiling (#2935)
7 months ago
k4lizen afc2c83342
Remove shell commands and cleanup command parsing (#2919)
7 months ago
patryk4815 5ca7930a50
Cleanup sys.exit, os._exit, flush stdout, fix tests (#2931)
7 months ago
patryk4815 6204a19b34
tests: remove netcat-openbsd dependency (#2929)
8 months ago
OBarronCS 33e699708a
Run all mips32 tests as little-endian and big-endian (#2930)
8 months ago
OBarronCS 47107b0aad
Do not halt emulator on branches in MIPS (#2921)
8 months ago
OBarronCS 79706d7315
Fix ARM IT blocks in disassembly (#2922)
8 months ago
k4lizen 52a4be5e50
Improve convenience function helps and autogenerate documentation (#2900)
8 months ago
OBarronCS 8ec3de322f
Update zig 0.10.1->0.13.0 (#2914)
8 months ago
OBarronCS 232f5a1b06
Cross architecture sanity check tests (#2745)
8 months ago
OBarronCS 357738c53c
PwndbgArchitecture (#2771)
8 months ago
OBarronCS f86570ae44
Small Refactor to DisassemblyAssistant (#2879)
8 months ago
OBarronCS 2ae0144759
Fix stepsyscall + add a test (#2884)
8 months ago
OBarronCS d29f8a74d2
Upgrade to Capstone V6 (#2766)
8 months ago
Disconnect3d df0c4a7f8a
tests: add libcinfo command tests (#2872)
8 months ago
Disconnect3d d8fa9d1c93
Fix "set glibc 2.31" which got broken recently (#2871)
8 months ago
k4lizen c5d0edefe5
Enforce - (instead of _) in command names (#2857)
8 months ago
patryk4815 e29b9bb44a
Fix read_memory (#2840)
8 months ago
k4lizen 2f6b5bbaea
Cleanup configurable parameters (#2856)
8 months ago
davi 42e5bd60b0
Dump the TLS address by default (#2847)
8 months ago
peace-maker 37b033779a
Highlight breakpoints in `nearpc` output (#2828)
8 months ago
davi 107a8f1bac
hexdump: check if address is valid (#2833)
8 months ago
tesuji 2c3d11a801
Prefer relative paths for vmmap output (#2822)
8 months ago
Gaurav Verma a82e152f94
feat(commands/hexdump): Add configurable size limit (#2803)
9 months ago
k4lizen 9cc021849a
Add telescope-frame-print-retaddr and telescope-frame-print-retaddr (#2780)
9 months ago
k4lizen 20db9470cc
Reduce context shaking when quickly stepping (#2758)
9 months ago
Kevin 8ed8be13df
Add test for mixed case handling in hex2ptr_common (#2778)
9 months ago
peace-maker 61a91fee31
Fix TUI context sections display after #2743 (#2764)
9 months ago
Loren Van Spronsen 9f7fe96a17
Allow dumpargs to format bit flags (#2740)
10 months ago
k4lizen 7d8084188a
Redirect user to vis_heap_chunks help when chunks are ommited (#2723)
10 months ago
Tanmay R K b38223c9e5
load symbols from header files #1973 (#2661)
10 months ago
OBarronCS 5248b61f64
Pwndbg architecture name list (#2712)
10 months ago
patryk4815 8b2952ef1b
Fix gdb16+ (#2686)
11 months ago
Richard Liu e5b1925d8d
Add profiler command and lazy load functions table (#2671)
11 months ago
CptGibbon 02590b6134
Add partial overwrite support to find_fake_fast command (#2667)
11 months ago
patryk4815 dd75e208eb
Add support for pwndbg (gdb) on apple silicon chips (#2666)
11 months ago
patryk4815 644f7c11c6
Port aglib.symbol + aglib.kernel + aglib.godbg (#2605)
12 months ago
peace-maker 6e4f89b4ff
Fix context history with `cwatch`'d expressions (#2617)
12 months ago
CptGibbon 8a2debb9d6
Add hexdump to trailing user data for vis_heap_chunks command (#2620)
12 months ago
patryk4815 9c734cfc17
Fix readline bug (#2622)
12 months ago
patryk4815 773cec7c4a
Cleanup gdblib (#2592)
1 year ago
Disconnect3d 5e7b406dff
Fix #2549: block config.<name> assignments (#2585)
1 year ago
Disconnect3d ccb2fadce4
Improve tests.py stats handling (#2586)
1 year ago
Aaron Adams 4fa42857ec
refactor: create ptmalloc2 and jemalloc command categories (#2575)
1 year ago
patryk4815 0076f108ab
Port to aglib: dt (#2568)
1 year ago
patryk4815 cd89c9d26c
Add nix tests (#2557)
1 year ago
patryk4815 1ab71ff7a0
tests: add pytest duration (#2541)
1 year ago
Dejan cd918e435a
addressify #2506 (#2516)
1 year ago
patryk4815 a534af1c28
Port a lot of tests to aglib (#2519)
1 year ago
Aaron Adams f26453884f
Fix jemalloc and qemu tests on nixos (#2515)
1 year ago
Aadish Jain f7bb9b59a8
Solving issue #2485 (#2495)
1 year ago
jetchirag 3ecca0fc1e
Basic jemalloc command for printing arenas info with bin (#2176)
1 year ago
Disconnect3d 3226ade3ff
Fix memory.poke and make memory.peek return bytearray (#2483)
1 year ago
Matt. f945b417da
Fixes the `-t bytes -x` combinantion in `search` command and adds more tests to it (#2476)
1 year ago
charif eccfd91d86
add kallsyms + klookup (#2462)
1 year ago
Matt. c3732892ff
Remove `gdblib.arch` in favor of `aglib.arch` (#2454)
1 year ago
OBarronCS b5e865430a
Make annotation reg/memory assignment symbol configurable (#2449)
1 year ago
peace-maker 6892a09c5a
Fix terminal width to 80 columns in tests (#2444)
1 year ago
peace-maker 5553a93a3e
Add history of context output (#2439)
1 year ago
peace-maker c6c5f1dec1
Add `context [section(s)] [--on|--off]` to disable sections (#2442)
1 year ago
peace-maker 34f58d8fdf
Fix attachp tests when ptrace_scope is missing (#2438)
1 year ago
peace-maker 41c0b84011
Make last_signal context section selectable (#2437)
1 year ago
OBarronCS f492622924
Fix attachp crash in tests (#2428)
1 year ago
Charles Fol 0a5e510fb6
plist: fixed a few bugs (#2426)
1 year ago
Charles Fol 5d95e98c78
Added support for --offset and --count for plist (#2423)
1 year ago
Charles Fol d65d5814c5
Fix deference-limit changes not being reflected due to an early cast to int() (#2422)
1 year ago
Matt. 0172a834ba
Unify config parameters between `aglib.nearpc` and `gdblib.nearpc` (#2407)
1 year ago
Matt. c2bf902ea7
Port Pwndbg to LLDB (#2382)
1 year ago
Disconnect3d 6209c5b362
Add tests for dt command (#2398)
1 year ago
OBarronCS c72b0b6c3d
Annotations Tests (#2374)
1 year ago
Will 9361759620
Test to ensure readline is not imported (#2375)
1 year ago
OBarronCS 1438fc0616
Qemu user test structure (#2275)
1 year ago
Jason An 94ee021f42
Go runtime value dumping (#2329)
1 year ago
Matt. 8b24e27152
Fix missing help strings for Pwndbg commands in GDB (#2351)
1 year ago
Matt. 12d8c3960f
Port the event system to the Debugger-agnostic API and move modules external to `gdblib` to it (#2345)
1 year ago
Jason An 1ea126a07c
Add Binary Ninja integration (#2282)
1 year ago
Costinteo 9924429638
Add test for prompt recolor on process state change (#2333)
1 year ago
Charles Fol 02fbd5c435
Hexdump: fixed computation of `hexdump.offset` (#2321)
1 year ago
Disconnect3d 1cba25bdd4
context: fix code-lines to disasm-lines and code-source-* to code-* (#2316)
1 year ago
k4lizen 0dfcf7c0fe
Improve unsorted,small,large bins corruption check (#2289)
1 year ago
OBarronCS e9b7f82cc9
Add bitwise math helper functions (#2278)
1 year ago
Jason An a076273a62
Fix race condition in test_loads.py (#2296)
1 year ago
OBarronCS b74fcdde97
use os._exit() (#2295)
1 year ago
Jason An 3bb28e9121
Underline WX memory instead of RWX memory (#2265)
1 year ago
Jason An 211b82a7a9
Move tests from lib/memory.py to separate unit test (#2258)
1 year ago
Jason An 28e25feaf8
Fix caching for pwndbg.gdblib.elf functions (#2240)
1 year ago
OBarronCS 8eacacfb68
Future syscalls (#2205)
1 year ago
Matt 2ecdce4ea8
Move main configuration object from `pwndbg.gdblib.config` to `pwndbg.config` (#2244)
1 year ago
Gulshan Singh bf091df527
Make sure the vermin linter runs on all files (#2231)
2 years ago
Matt d38e57639f
Move pwndbg/{heap,disasm} into gdblib (#2206)
2 years ago
Aaron Adams 6e6583f5ae
feat: Add a few new memory APIs and replace old APIs (#2155)
2 years ago
Gulshan Singh e847755316
Make output when downloading qemu images less verbose (#2217)
2 years ago
charif 84d5fda42b
improve kernel commands (#2208)
2 years ago
Aaron Adams 8154470ae9
add vmmap --gaps option (#2191)
2 years ago
Aaron Adams c85d16b246
fix trailing whitespace everywhere (#2188)
2 years ago
Gulshan Singh d6abb33e02
Fix and re-enable unit tests (#2182)
2 years ago
Aaron Adams 416ea74226
Refactor tests.py and small tweaks for running on nix (#2181)
2 years ago
Lennard Hofmann 2b9beef7af
Small fixes for RISC-V (#2172)
2 years ago
Aaron Adams 5d083d471c
Modify python test scripts to work from nix (#2168)
2 years ago
Aaron Adams 68c648bee0
Make shebangs and other bash usage portable (#2179)
2 years ago
Piotr Zarycki 92640c7131
Fix tests on Arch Linux (#2163)
2 years ago
Gulshan Singh 00adfbbb5e
Only look for readable address in retaddr command (#2143)
2 years ago
CptGibbon 5d744513bb
Fetch C struct as Python dictionary (#2082)
2 years ago
jetchirag da94871adb
Malloc chunk dump (#2085)
2 years ago
OBarronCS 50c47f4452
Annotate disasm (#2001)
2 years ago
charif 7df87c93c6
improve kbase (#2097)
2 years ago
Aryaman Sharma 3ef485a256
Added tests for --asm search (#2114)
2 years ago
jetchirag ebcff7cd59
WIP: Fix Flake8 warnings (#2101)
2 years ago
jetchirag e7548c7f14
Fix flake8 warnings (#2100)
2 years ago
Gulshan Singh 5be38a5bf3
Add test for setflags command (#2056)
2 years ago
Gulshan Singh 3d57de2eda
Enable more lint checks (#2048)
2 years ago
Gulshan Singh 5ab3ed0888
Update dev requirements (#2046)
2 years ago
Alan Li c8292e8f1d
Add a helper command for one_gadget (#2018)
2 years ago
Gulshan Singh 0948712555
Allow multibit register bitflags (#2029)
2 years ago
Gulshan Singh 8dad24d375
Allow customizing qemu image download URL from command line (#2031)
2 years ago
Matt 0cb1ce61d4
Add support for glibc heap UAF detection (#1841)
2 years ago
Alan Li 6a38ded24e
Fix the bug when showing the state of i386 GOT (#2017)
2 years ago
Albert Gierlach 6b58f90bd8
Fix the limit in the search command (#2012)
2 years ago
Hubert Jasudowicz ab90df12b4
Add $base function (#2005)
2 years ago
Disconnect3d 9d0621c4d7
Fetch stacks from vmmap if they exist (also stacks.update -> stacks.get) (#1959)
2 years ago
keymoon 03e97e9ea8
Implement a way to resolve multiple process in attachp (#1956)
2 years ago
Disconnect3d 0c61ed5d27
mmap command: update return value message (#1954)
2 years ago
Matt dfd5f95b56
Add mmap command that executes the mmap syscall in the inferior (#1952)
2 years ago
intrigus-lgtm 427bf8c96e
Port gdb-tests from bash to python (#1916)
2 years ago
disconnect3d 85eb6c8bf9 fix arch ci tests
2 years ago
disconnect3d ac306872a5 fix shlint
2 years ago
Aaron Adams ee0377d3bf Update tests to gracefully handle multiple qemu processess running
2 years ago
duckl1ng 32336487dd fix lint
2 years ago
Aaron Adams d008d14f4b -s/--step First skipping blocks of memory between results
2 years ago
smiley 7abeef6560 fix embedded null in cmdline string
2 years ago
smiley 41c5dc7a49 show cmdline and cwd in procinfo
2 years ago
ntsleep dbdce5d72d Fixed linters
2 years ago
ntsleep cd616cf28b Added tests for command `telescope --frame`
2 years ago
duckl1ng 16a0f3b57b
Enable thread context by default (#1844)
2 years ago
Disconnect3d 9e9f328ccc
Update code to Python >= 3.8 (#1840)
2 years ago
Disconnect3d 1cb2be2f35
get_one_instruction: clear "cont" cache on mem/reg changed (#1828)
2 years ago
Disconnect3d 13cd7d8d86
config: change 'Def' to 'Default' (#1827)
2 years ago
Disconnect3d 26f7c442bc
Rename chain command to plist (print list) (#1817)
2 years ago
Disconnect3d b2bd87939f
Remove support for Ubuntu 18.04 (#1812) (#1814)
2 years ago
Disconnect3d 2552f95e1f
Remove support for Debian 10 (#1812)
2 years ago
SlidyBat 1fb1b24a19
Fix glibc-fastbin-bug option of find_fake_fast (#1774)
2 years ago
Matheus Branco Borella 3e8b597929
Add a `chain` command to traverse liked lists (#1795)
2 years ago
Matheus Branco Borella cb053dda41
Adds `break-if-taken` and `break-if-not-taken` (#1799)
2 years ago
Matheus Branco Borella 29fea60b21
Add `stepuntilasm` command (#1798)
2 years ago