Commit Graph

183 Commits (f795d5d6b6d171310734f062129429ec7f9eb663)

Author SHA1 Message Date
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
Aaron Adams 8154470ae9
add vmmap --gaps option (#2191)
2 years ago
Aaron Adams c85d16b246
fix trailing whitespace everywhere (#2188)
2 years ago
Aaron Adams 416ea74226
Refactor tests.py and small tweaks for running on nix (#2181)
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
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
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
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
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
dan "smiley" murray 56d3e8509d
Add a test binary that has very long symbols (#1719)
3 years ago
dan "smiley" murray cd4217fa03
By default remove the context backtrace f prefix #1288 (#1727)
3 years ago
Unknown Sentinel 14bb546efe
Fix test command procinfo (#1706)
3 years ago
Disconnect3d fec8418b58
Increase killthreads timeout to 10s to fix CI issues (#1701)
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
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
Alan Li 2a5f563444
TLS related enhancements (#1536)
3 years ago
Disconnect3d 2462468f89
Improve hexdump collapse display (#1526)
3 years ago
Disconnect3d 825efda796
cyclic command: improve UX (#1522)
3 years ago
Gulshan Singh 6aa66095d9
Fix some type and pylint errors (#1515)
3 years ago
Gulshan Singh 65462f63dd
Refactor nearpc (#1498)
3 years ago
Disconnect3d 6847a6a77f
gdb-tests/tests.sh: don't do make clean on each run (#1497)
3 years ago
Gulshan Singh ebc915483d
Add commands to categories (#1478)
3 years ago
Gulshan Singh a58e08e899
Add support for command categories (#1477)
3 years ago
Gulshan Singh 768cb04257
Better error handling in bugreport command when no command history (#1464)
3 years ago
Gulshan Singh 513dcdf870
Don't print aliases as commands in pwndbg output (#1460)
3 years ago
Gulshan Singh 0467886258
Cleanup command docstrings (#1461)
3 years ago
Gulshan Singh d08c6af337
Start a env_parallel session to avoid argument too long errors (#1446)
3 years ago
Gulshan Singh fa8a033749
Fail tests if an error occurs (#1445)
3 years ago
lebr0nli 2b1b6d567a Improve the docs of some configs
3 years ago
lebr0nli 0b394a440d Some improvements to configuration
3 years ago
Gulshan Singh 1bd4e4a482
Move some env_parallel code into the else branch (#1432)
3 years ago
Disconnect3d f78e3250c7
Fix archlinux ci tests (#1411)
3 years ago
Disconnect3d 1c609eba15
Fix #1399: cymbol command on old GDB (#1409)
3 years ago
Disconnect3d 275b9c9786
tests.sh: fix --pdb (set SERIAL when --pdb is set) (#1410)
3 years ago
Disconnect3d c5d880020e
fix #1188: incorrect 32-bit syscall display on x64 (#1407)
3 years ago
CptGibbon 2d537b5751
Fix find_fake_fast command test (#1397)
3 years ago
Alan Li 39ebd66539
Add `default-visualize-chunk-number` config and refactor some code related to config (#1388)
3 years ago
Disconnect3d c6ab8dc671
Fix vmmap coredump test (#1391)
3 years ago