https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96774
Bug ID: 96774 Summary: UBSan: please provide __ubsan_set_error_report_callback() to capture error messages Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: diane2332 at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- I am using UBSan (UndefinedBehaviorSanitizer) on a huge application and the method of redirecting errors to a log file really doesn't work well for developers. They want to use their own error handling functions that produce alerts and memory dumps, etc. Please provide a similar function to __asan_set_error_report_callback(). Please see the GitHub issue I filed: https://github.com/google/sanitizers/issues/1298