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

Lot of heuristic antivirus detection with GOARCH=386 on Windows #23070

Closed
crazy-max opened this issue Dec 9, 2017 · 1 comment
Closed

Lot of heuristic antivirus detection with GOARCH=386 on Windows #23070

crazy-max opened this issue Dec 9, 2017 · 1 comment

Comments

@crazy-max
Copy link

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

go version go1.9.1 windows/amd64

Does this issue reproduce with the latest release?

Yes

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

set GOARCH=386
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\dev\go;C:\dev\neard\go
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set GO386=sse2
set CC=gcc
set GOGCCFLAGS=-m32 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\username\AppData\Local\Temp\go-build
520536943=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config

My issue

Hi, i have made a small wrapper written in Go to make some apps portable on Windows system. For example slack-portable.

And i have an issue when the same code is compiled for 386 goarch. There are lot of heuristic antivirus detections (13 / 67), whereas if it's compiled in x64, there are far fewer (2 / 66).

Here is an example with slack-portable :

Can you tell me the difference between compiling in 386 versus compiling in x64 and how antivirus scans this type of detection?

Thanks a lot!

@randall77
Copy link
Contributor

An interesting observation. However, this sounds like more of an issue with the antivirus than an issue with Go, directly at least. We only use our bug tracker for tracking actionable bugs and tracking proposals going through the Proposal Process.

Please see https://golang.org/wiki/Questions for good places to ask questions like this.

You can come back and reopen or refile this bug if there is something actionable that needs to be done in the compiler/linker/whatever.

@golang golang locked and limited conversation to collaborators Dec 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants