Lot of heuristic antivirus detection with GOARCH=386 on Windows

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) : https://github.com/portapps/slack-portable/releases/tag/3.0.0-28 (slack-portable-ia32.exe and slack-portable-x64.exe])

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!

go version

go version go1.9.1 windows/amd64

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 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_CFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.