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:
parent
e6f40bd0c7
commit
7eaee46f1f
5 changed files with 56 additions and 5 deletions
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue