1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Asan: Support parse asan symbol backtrace log. v5.0.113 (#3324)

* asan: support parse asan symbol log

* asan: refine srs_parse_asan_backtrace_symbols error code

* asan: Refine code, extract asan log to error file.

Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
ChenGH 2022-12-18 21:14:11 +08:00 committed by GitHub
parent e6f40bd0c7
commit 7eaee46f1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 56 additions and 5 deletions

View file

@ -42,6 +42,7 @@ using namespace std;
#include <srs_kernel_file.hpp>
#include <srs_app_hybrid.hpp>
#include <srs_app_threads.hpp>
#include <srs_kernel_error.hpp>
#ifdef SRS_RTC
#include <srs_app_rtc_conn.hpp>
@ -82,10 +83,7 @@ const char* _srs_binary = NULL;
extern void srs_free_global_system_ips();
#ifdef SRS_SANITIZER_LOG
void asan_report_callback(const char* str)
{
srs_trace("%s", str);
}
extern void asan_report_callback(const char* str);
#endif
/**