def backtracer(frame):
    """
    Gets the full stack backtrace
    """
    backtrace = []
    curr_frame = frame

    while curr_frame is not None:
        backtrace.append(
            {
                'address': '0x%8x' % curr_frame.pc(),
                'function': '%s' % curr_frame.name()
            }
        )

        curr_frame = curr_frame.older()

    return backtrace