Skip to content
A gdb command to inspect the size of objects on the stack
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.flake8
README.md
stack-inspector.py

README.md

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:

source stack-inspector.py
stack-inspector
You can’t perform that action at this time.