* Implement bitwise math rotation operations on numbers of discrete width. Will be used in manually evaluating arm instruction offsets and shifts
* fixes
* Arm thumb mode in banner
* lint
* Use Walrus operator
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* changes
* remove unneeded line
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
This PR fixes a bug with stack exploration: we did not return it from `stack.get()`!
Additionally, it refactors the `is_executable` function to return early and do not cache the `nx` variable.
* Move syscall number evaluation into instruction.py. This allows us to determine and display future syscalls
* Move string manipulation to color.disasm.py
* lint
* fix padding
* Fix x86 syscall
* disable debug mode
* @override decorator added to methods
* comments
* lint
* Fix x86/x86_64 edge cases with syscall register reading, and add test for emulation off for syscalls
* Tests depend on width of context banner
* Fix strange rebasing error
* Add IRET to jump groups, and remove multiple places in codebase where jumps groups are defined (non uniformly)
* remove duplicate test (rebase stuff)
* Honor delay slots
* fix bug with linear use of nearpc
* Move some logic around to allow for x86 REP instruction to pass test cases
* lint + comment
* rebase
* restore wx changes
* rewrite small comment
* simply check and make call instructions work again
* Move syscall number evaluation into instruction.py. This allows us to determine and display future syscalls
* Move string manipulation to color.disasm.py
* lint
* fix padding
* Fix x86 syscall
* disable debug mode
* @override decorator added to methods
* comments
* lint
* Fix x86/x86_64 edge cases with syscall register reading, and add test for emulation off for syscalls
* Tests depend on width of context banner
* Fix strange rebasing error
* Call like instructions
* Add IRET to jump groups, and remove multiple places in codebase where jumps groups are defined (non uniformly)
* remove duplicate test (rebase stuff)
* lint
* Fix caching for pwndbg.gdblib.elf functions
* Add test for cache clear priority
* Fix formatting in files
* switch priority to an enum instead of boolean
* fix logging for start event
* decouple gdblib.events import from lib.cache
* Exit with non-zero code from gdbinit.py if an exception occurs
* Update gdbinit.py
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* Move syscall number evaluation into instruction.py. This allows us to determine and display future syscalls
* Move string manipulation to color.disasm.py
* lint
* fix padding
* Fix x86 syscall
* comment
* disable debug mode
* Fix a test - we now remember previous syscalls as well
* Move x86 specific syscall logic to the x86 subclass
* lint
* @override decorator added to methods
* comments
* lint
* add test with emulation disabled for syscall annotation
* Fix x86/x86_64 edge cases with syscall register reading, and add test for emulation off for syscalls
* Update an outdated comment
* Tests depend on width of context banner
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* Added a file to mark dev installation and also modified gdbinit.py to calculate and verify the hash of poetry.lock
---------
Co-authored-by: B1N4RY-P4R45173 <kopakaajay123@gmail.com>
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
* Switch to Poetry for dependency management in setup
* Added curl dependency and removed python-pip and python3-pip
---------
Co-authored-by: B1N4RY-P4R45173 <kopakaajay123@gmail.com>