This commit is contained in:
Matthew Knight 2026-03-02 18:39:51 -08:00
parent 03df6a4c93
commit fe4c293adb
No known key found for this signature in database
10 changed files with 51 additions and 47 deletions

View File

@ -7,6 +7,7 @@ import (
)
// ASan/MSan/TSan/UBSan frame patterns:
//
// #0 0x55a3b4 in function_name /path/to/file.c:42:13
// #0 0x55a3b4 in function_name (/path/to/binary+0x1234)
// #1 0x55a3b4 (/path/to/binary+0x1234)
@ -15,6 +16,7 @@ var asanFrameRe = regexp.MustCompile(
)
// ASan error header line, e.g.:
//
// ==12345==ERROR: AddressSanitizer: heap-buffer-overflow
var asanHeaderRe = regexp.MustCompile(
`==\d+==ERROR:\s+(Address|Memory|Thread|Undefined)Sanitizer`,

View File

@ -7,6 +7,7 @@ import (
)
// GDB backtrace frame patterns:
//
// #0 function_name (args) at /path/to/file.c:42
// #0 0x00007fff in function_name () from /lib/libfoo.so
// #0 0x00007fff in ?? ()

View File

@ -7,6 +7,7 @@ import (
)
// Zig panic/stack trace patterns:
//
// /path/to/file.zig:42:13: 0x1234 in function_name (module)
// ???:?:?: 0x1234 in ??? (???)
var zigFrameRe = regexp.MustCompile(