Posted By: Talemon
Request: Getting the stack trace - 12/05/12 09:49
I would like a function that returns the stack trace to make debugging easier.
struct stack_frame_s { struct stack_frame_s *next; void *ret; };
#define FramePointerIsAligned(a1) ((((uintptr_t)a1) & 0x1) == 0)
movl %eax, %ebx ret // --- 0x89 0xc3 0xc3