Skip to content

cmd/compile: libFuzzer instrumentation fakePC overflow on 386 arch #56141

@cuonglm

Description

@cuonglm

What version of Go are you using (go version)?

$ go version
go version devel go1.20-4274ffd4b8 Tue Oct 11 04:04:13 2022 +0000 darwin/arm64

Does this issue reproduce with the latest release?

Yes.

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

What did you do?

Compile following program with -d=libfuzzer:

package p

func f(x, y int) {
	_ = x > y
	_ = y > x
}

What did you expect to see?

Compile ok.

What did you see instead?

$ GOOS=linux GOARCH=386 go tool compile -d=libfuzzer p.go
p.go:5:8: constant 3550266861 overflows int

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions