Open mgreisen opened 1 year ago
What we call crash_site
is really (in most cases) currently the SUMMARY
line given to us by ASan.
This generally has the format "AddressSanitizer: {fault_type} ({top_frame})"
.
If we want to point to a relevant stack frame instead of the one that ASan reports, we could instead generate our own in a very similar format: "{crash_finder}: {fault_type} ({top_frame_of_minimized_stack})"
. This should reduce the amount of churn during changeover between the old and new formats.
When returning the
crash_site
we should do some analysis and walk the frame down to what's relevant removingasan
code.AB#162904