Skip to content
Example code for a blog post.
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.
Makefile
README.md
test_prog.c
unwind_rdi.c

README.md

This is example code for Retrieving function arguments while unwinding the stack.

test_prog.c is the primary program, which the Makefile compiles under various debug/release and optimization levels.

unwind_rdi.c is a program that requires libunwind installed to build, and simply unwinds the stack, printing the instruction pointer and rdi at each frame.

This code is public domain.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.