diff options
Diffstat (limited to 'manager')
| -rw-r--r-- | manager/cover.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manager/cover.go b/manager/cover.go index accc230f9..190fb6038 100644 --- a/manager/cover.go +++ b/manager/cover.go @@ -15,6 +15,8 @@ import ( "strconv" "strings" "sync" + + "github.com/google/syzkaller/cover" ) type LineInfo struct { @@ -171,7 +173,7 @@ func symbolize(vmlinux string, cov []uint32) error { defer cmd.Wait() go func() { for _, pc := range cov { - fmt.Fprintf(stdin, "0xffffffff%x\n", pc-1) + fmt.Fprintf(stdin, "0x%x\n", cover.RestorePC(pc)-1) } stdin.Close() }() |
