diff options
| -rw-r--r-- | pkg/report/linux.go | 6 | ||||
| -rw-r--r-- | pkg/report/report.go | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 1f14f6c20..fc2494adf 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -370,6 +370,12 @@ func (ctx *linux) Symbolize(rep *Report) error { rep.Report = ctx.decompileOpcodes(rep.Report, rep) + // Skip getting maintainers for Android fuzzing since the kernel source + // directory structure is different. + if ctx.config.vmType == "cuttlefish" || ctx.config.vmType == "proxyapp" { + return nil + } + // We still do this even if we did not symbolize, // because tests pass in already symbolized input. rep.guiltyFile = ctx.extractGuiltyFile(rep) diff --git a/pkg/report/report.go b/pkg/report/report.go index 951478d8d..037d03562 100644 --- a/pkg/report/report.go +++ b/pkg/report/report.go @@ -118,6 +118,7 @@ func NewReporter(cfg *mgrconfig.Config) (*Reporter, error) { } config := &config{ target: cfg.SysTarget, + vmType: cfg.Type, kernelSrc: cfg.KernelSrc, kernelBuildSrc: cfg.KernelBuildSrc, kernelObj: cfg.KernelObj, @@ -161,6 +162,7 @@ var ctors = map[string]fn{ type config struct { target *targets.Target + vmType string kernelSrc string kernelBuildSrc string kernelObj string |
