format
This commit is contained in:
parent
03df6a4c93
commit
fe4c293adb
|
|
@ -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`,
|
||||
|
|
|
|||
|
|
@ -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 ?? ()
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue