https://github.com/sharkdp/stack-inspector
A gdb command to inspect the size of objects on the stack
https://github.com/sharkdp/stack-inspector
backtrace debugging gdb gdb-commands stack-overflow
Last synced: about 2 months ago
JSON representation
A gdb command to inspect the size of objects on the stack
- Host: GitHub
- URL: https://github.com/sharkdp/stack-inspector
- Owner: sharkdp
- Created: 2019-11-04T22:26:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-25T13:16:16.000Z (about 2 years ago)
- Last Synced: 2025-03-24T15:47:27.629Z (2 months ago)
- Topics: backtrace, debugging, gdb, gdb-commands, stack-overflow
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 68
- Watchers: 8
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stack-inspector
A `gdb` command to inspect the size of objects on the stack.

## how to
Use `gdb` to navigate to a certain stack frame (run until your stack overflows or set a breakpoint somewhere). Then, simply run:
```gdb
source stack-inspector.py
stack-inspector
```