aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/pkg/triage/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'syz-cluster/pkg/triage/git.go')
-rw-r--r--syz-cluster/pkg/triage/git.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/syz-cluster/pkg/triage/git.go b/syz-cluster/pkg/triage/git.go
index 390bd11b1..58437c913 100644
--- a/syz-cluster/pkg/triage/git.go
+++ b/syz-cluster/pkg/triage/git.go
@@ -7,6 +7,7 @@ import (
"fmt"
"os"
+ "github.com/google/syzkaller/pkg/debugtracer"
"github.com/google/syzkaller/pkg/vcs"
"github.com/google/syzkaller/syz-cluster/pkg/api"
)
@@ -55,3 +56,7 @@ func (ops *GitTreeOps) ApplySeries(commit string, patches [][]byte) error {
}
return nil
}
+
+func (ops *GitTreeOps) BaseForDiff(patch []byte, tracer debugtracer.DebugTracer) (*vcs.BaseCommit, error) {
+ return ops.Git.BaseForDiff(patch, tracer)
+}