aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorkalder <61064868+kalder@users.noreply.github.com>2022-11-09 10:16:44 -0800
committerGitHub <noreply@github.com>2022-11-09 18:16:44 +0000
commit9afc301b0902504af56d48a53c60cd55090ced15 (patch)
treee79ad71b707abadbc5b5ab66ff49d30aa51a40f1 /pkg/report/linux.go
parent65e71451e0794d15f559e9131a3ac23866701e0d (diff)
pkg/report: don't call get_maintainer.pl for cuttlefish
* pkg/report: check for get_maintainer.pl before calling it For Android kernels, this tool will be in a different location (common/scripts/get_maintainer.pl). Currently this causes the Symbolize() call to fail, which stops reproduction. * pkg/report: check for get_maintainer.pl before calling it For Android kernels, this tool will be in a different location (common/scripts/get_maintainer.pl). Currently this causes the Symbolize() call to fail, which stops reproduction.
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go6
1 files changed, 6 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)