libst86 is the simplest single header stacktrace library for x86 and x86_64 that uses symbols for the dynamic linker to display function names.
In fact, this library was written to study the basic understanding of how a stack trace works and does not provide any particularly useful functionality.
- OS: GNU/Linux;
- Arch: x86, x86_64.
Run:
ninjaFor non-GCC compilation you can change the c, cflags and lfags variables in the build.ninja file.
Run:
ninja testsPlease see exampe.c.