20 #ifndef SATYR_CORE_STACKTRACE_H 21 #define SATYR_CORE_STACKTRACE_H 32 #include "../report_type.h" 45 enum sr_report_type type;
120 char **error_message);
123 sr_core_stacktrace_from_json_text(
const char *text,
124 char **error_message);
143 sr_core_stacktrace_create(
const char *gdb_stacktrace_text,
144 const char *unstrip_text,
145 const char *executable_path);
struct sr_core_stacktrace * sr_core_stacktrace_from_json(struct sr_json_value *root, char **error_message)
struct sr_core_thread * crash_thread
Thread responsible for the crash.
A stack trace of a core dump.
int sr_core_stacktrace_get_thread_count(struct sr_core_stacktrace *stacktrace)
struct sr_core_stacktrace * sr_core_stacktrace_new(void)
void sr_core_stacktrace_free(struct sr_core_stacktrace *stacktrace)
A thread of execution on call stack of a core dump.
struct sr_core_stacktrace * sr_core_stacktrace_dup(struct sr_core_stacktrace *stacktrace)
char * sr_core_stacktrace_to_json(struct sr_core_stacktrace *stacktrace)
char * sr_core_stacktrace_get_reason(struct sr_core_stacktrace *stacktrace)
A location of a parser in the input stream.
void sr_core_stacktrace_init(struct sr_core_stacktrace *stacktrace)