https://github.com/shivasurya/cody-lldb-gdb
Cody GDB and LLDB Assistant
https://github.com/shivasurya/cody-lldb-gdb
Last synced: 2 months ago
JSON representation
Cody GDB and LLDB Assistant
- Host: GitHub
- URL: https://github.com/shivasurya/cody-lldb-gdb
- Owner: shivasurya
- Created: 2023-08-06T16:21:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-06T22:18:33.000Z (over 1 year ago)
- Last Synced: 2025-01-05T12:42:12.682Z (4 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LLDB Cody Assistant
Bringing Contextual Cody Assistant to your LLDB & GDB Debugger. Execute commands by typing `cody` followed by asking for help.

### Installation
```shell
pip install -r requirements.txt
```### Cody LLDB Assistant
```shell
(lldb) command script import /PATH/TO/main.py
(lldb) command script add -f main.codylldb cody
(lldb) cody get the command to the run the program
run
Process 21342 stopped
...
...
(lldb) cody get the command to print all registers
register read
General purpose register
x0 = 0x0000000000001000895 "Hello world! \n"
...
...
```