An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# stack-inspector

A `gdb` command to inspect the size of objects on the stack.

![](https://i.imgur.com/uiDEJab.png)

## 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
```