/* See LICENSE file for copyright and license details. */ #include #include #include #include #include #include #include #include struct liberror_error { struct liberror_backtrace *backtrace; }; struct liberror_backtrace { size_t refcount; size_t n; uintptr_t rips[]; }; void liberror_print_backtrace(struct liberror_error *, FILE *, const char *); int liberror_save_backtrace(struct liberror_error *);