Matt.
a5d5988020
Assorted enhancements and bug fixes to LLDB ( #3190 )
...
* Add offsets to symbol names in LLDB
* Disable context line reservations if colors are disabled
* LLDB: More aggresively verify memory writes
* LLDB: Add support for disabling ASLR
* Add `-a` flag to `plt` command to show all symbols
* Start shellcode execution at next aligned instruction address, instead of current PC
* Improve execution speed for the `nextproginstr` command
* When resolving address expressions in windgb commands, try resolving as symbol firt
* LLDB: Relay exceptions from commands
* LLDB: Capture stderr in addition to stdout when capturing command output
* Move disabling of line reservations to LLDB test host
* Update docs
4 months ago
Matt.
15524bcfaa
Port tests to debugger-agnostic test group: First Batch ( #3165 )
...
* Add supporting functionality
* Add initial ported test
* Fix 0
* Fix 1
* Add dbg/test_command_plist.py
* Fix 0
* Fix 1
* Fix 2
* Fix 3
* Add more tests
* Fix 0
* Add more tests
* Add even more tests
* Fix 0
* Adapt tests to module structure
* Remove coverage warning in LLDB test driver
* Remove `*_before_binary_start` tests, as they are flaky in LLDB
* Skip `test_command_break_if_x64` if not in GDB
* Update tests/host/lldb/launch_guest.py
Co-authored-by: patryk4815 <bux.patryk@gmail.com>
* Update tests/host/lldb/launch_guest.py
* Import `shlex` in `launch_guest`
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
Co-authored-by: patryk4815 <bux.patryk@gmail.com>
5 months ago
patryk4815
7e7c47f209
fix relative imports in tests ( #3163 )
...
* fix relative imports
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
Matt.
365af330ef
Add LLDB test driver and initial Debugger API tests ( #3120 )
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
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