21#ifndef SATYR_GDB_STACKTRACE_H
22#define SATYR_GDB_STACKTRACE_H
33#include "../report_type.h"
52 enum sr_report_type type;
char * sr_gdb_stacktrace_to_short_text(struct sr_gdb_stacktrace *stacktrace, int max_frames)
struct sr_gdb_stacktrace * sr_gdb_stacktrace_parse(const char **input, struct sr_location *location)
struct sr_gdb_stacktrace * sr_gdb_stacktrace_new(void)
void sr_gdb_stacktrace_remove_threads_except_one(struct sr_gdb_stacktrace *stacktrace, struct sr_gdb_thread *thread)
void sr_gdb_stacktrace_set_libnames(struct sr_gdb_stacktrace *stacktrace)
void sr_gdb_stacktrace_set_crash_tid(struct sr_gdb_stacktrace *stacktrace, uint32_t tid)
float sr_gdb_stacktrace_quality_simple(struct sr_gdb_stacktrace *stacktrace)
float sr_gdb_stacktrace_quality_complex(struct sr_gdb_stacktrace *stacktrace)
bool sr_gdb_stacktrace_parse_header(const char **input, struct sr_gdb_frame **frame, struct sr_location *location)
void sr_gdb_stacktrace_init(struct sr_gdb_stacktrace *stacktrace)
void sr_gdb_stacktrace_limit_frame_depth(struct sr_gdb_stacktrace *stacktrace, int depth)
struct sr_gdb_thread * sr_gdb_stacktrace_find_crash_thread(struct sr_gdb_stacktrace *stacktrace)
struct sr_gdb_frame * sr_gdb_stacktrace_get_crash_frame(struct sr_gdb_stacktrace *stacktrace)
char * sr_gdb_stacktrace_to_text(struct sr_gdb_stacktrace *stacktrace, bool verbose)
void sr_gdb_stacktrace_free(struct sr_gdb_stacktrace *stacktrace)
int sr_gdb_stacktrace_get_thread_count(struct sr_gdb_stacktrace *stacktrace)
struct sr_gdb_stacktrace * sr_gdb_stacktrace_dup(struct sr_gdb_stacktrace *stacktrace)
A function call of a GDB-produced stack trace.
A shared library memory location as reported by GDB.
A stack trace produced by GDB.
struct sr_gdb_sharedlib * libs
struct sr_gdb_frame * crash
A thread of execution of a GDB-produced stack trace.
A location of a parser in the input stream.