Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows support #4359

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add basic support for reporting
  • Loading branch information
kost committed Nov 29, 2023
commit ec7a4ad6b9e5066c478d8c28e6cabfb10b710f16
2 changes: 1 addition & 1 deletion pkg/report/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ var ctors = map[string]fn{
targets.NetBSD: ctorNetbsd,
targets.OpenBSD: ctorOpenbsd,
targets.Fuchsia: ctorFuchsia,
targets.Windows: ctorStub,
targets.Windows: ctorWindows,
}

type config struct {
Expand Down
30 changes: 30 additions & 0 deletions pkg/report/windows.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Copyright 2017 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

package report

type windows struct {
*config
}

func ctorWindows(cfg *config) (reporterImpl, []string, error) {
ctx := &windows{
config: cfg,
}
return ctx, nil, nil
}

func (ctx *windows) ContainsCrash(output []byte) bool {
// panic("not implemented")
return false
}

func (ctx *windows) Parse(output []byte) *Report {
// panic("not implemented")
return nil
}

func (ctx *windows) Symbolize(rep *Report) error {
// panic("not implemented")
return nil
}
Loading