Commit Graph

404 Commits (33002925f87332f8bec16733e215af1f9a40c5d1)

Author SHA1 Message Date
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
NT Sleep e37591b25d
Print real size in heap command #1748 (#1781)
2 years ago
intrigus-lgtm f7cb2f9cb9
Bringt back Archlinux CI. Fixes #1772, closes #1783 (#1800)
2 years ago
intrigus-lgtm 7d9d2dc1de
Fix codecov (#1792)
2 years ago
Disconnect3d cc13296abe
Fix #1785: remove unused PWNDBG_GITHUB_ACTIONS_TEST_RUN (#1786)
2 years ago
Alan Li d7d54cb895
Enhance got command (#1771)
2 years ago
NT Sleep 89b1f437fb
` telescope -r` should always display the input address #1240 (#1779)
2 years ago
peace-maker a6cc19aa5c
Improve RISCV support (#1770)
2 years ago
Disconnect3d 44d75e3bd6
Fix #1728: racing test (#1764)
3 years ago
Gulshan Singh 91f3081e4b
Add more type hints (#1743)
3 years ago
Gulshan Singh a3b66dae5b
Convert format strings to f-strings (#1738)
3 years ago
Gulshan Singh 37376c8ac7
Covert printf format strings to f-strings (#1735)
3 years ago
Gulshan Singh b5a1219e2f
Update QEMU image download URL (#1731)
3 years ago
theguy147 e830dcb500
Support slab command for all available cpus (#1725)
3 years ago
dan "smiley" murray 56d3e8509d
Add a test binary that has very long symbols (#1719)
3 years ago
theguy147 c40f143edd
address translation only works with debug symbols (#1723)
3 years ago
dan "smiley" murray cd4217fa03
By default remove the context backtrace f prefix #1288 (#1727)
3 years ago
theguy147 f9731bb04b
refactor: move slab business logic to gdblib (#1711)
3 years ago
theguy147 608fa83b04
Add `slab contains` command (#1707)
3 years ago
Unknown Sentinel 14bb546efe
Fix test command procinfo (#1706)
3 years ago
theguy147 6ffc3de08f
Repair slab info command (#1699)
3 years ago
Disconnect3d fec8418b58
Increase killthreads timeout to 10s to fix CI issues (#1701)
3 years ago
theguy147 6ff05bbcc8
Test more kernels (#1684)
3 years ago
theguy147 a9ec60c727
Fix and Improvements for ArchOps (#1676)
3 years ago
Disconnect3d 9bb0d91bec
Add pwndbg.lib.cache test (#1691)
3 years ago
Disconnect3d 0e0a293be6
New lib/cache.py: make caching great again (#1671)
3 years ago
Gulshan Singh 89b22f4cf0
Add unit tests for which.py (#1686)
3 years ago
Gulshan Singh 7720b81cc7
Fix unit tests (#1685)
3 years ago
theguy147 e1dad2e8c7
feat: make qemu-system tests more flexible (#1682)
3 years ago
theguy147 91c72a001e
feat: use pytest for qemu-system tests (#1679)
3 years ago
theguy147 d80e55c4e3
add `krelease()` function (#1673)
3 years ago
Albert Koczy 6f2f5279c6
feature: Add `killthreads` command (closes #1580) (#1581)
3 years ago
CptGibbon e744ebf3fb
Add smallbins size tests for x64 & i386_big (#1669)
3 years ago
CptGibbon 9d3ee52ea6
Largebins size range tests for x64 & i386_big (#1658)
3 years ago
neryaz bdbd4ed7db
Add print all chunks in vis_heap_chunks (#1604)
3 years ago
Disconnect3d 86b512979c
Fix #1610: symbol.get with duplicated symbols (#1611)
3 years ago
Disconnect3d 6d7d06710e
Fixes #1600, #752: invalid symbol.get results (#1605)
3 years ago
Alan Li 5ecd5d000f
Hopefully fix the bug when using LD_PRELOAD to load libc (#1602)
3 years ago
Disconnect3d 9d22acc1d7
Hopefully fix vmmap recursion issues (#1585)
3 years ago
Alan Li 449070557d
Rewrite some unreliable methods for the heap heuristics (#1579)
3 years ago
Disconnect3d ee832c80d2
Fix plt and gotplt commands (#1576)
3 years ago
Alan Li ca33d16dac
Enhance the checks before accessing the memory for the heap heuristics (#1558)
3 years ago
Alan Li 0f67d08acb
Bug fix for error handling of the heap commands (#1543)
3 years ago
lebr0nli d7ef76ae3a Rename config
3 years ago
lebr0nli 6f696cc82b Bug fix for `gdb.PARAM_ZUINTEGER*` with GDB < 9
3 years ago
lebr0nli dbfd8d88d7 Add tests for opcode
3 years ago
Gulshan Singh b9c9f12efc Add qemu tests to CI
3 years ago
Alan Li 2a5f563444
TLS related enhancements (#1536)
3 years ago
Gulshan Singh 52a479211c Update QEMU test scripts
3 years ago
Gulshan Singh 0757878b80 Update qemu image download script
3 years ago
Gulshan Singh d4562ea462
Update qemu test scripts and images (#1529)
3 years ago
Disconnect3d 2462468f89
Improve hexdump collapse display (#1526)
3 years ago