On Thu, Dec 16, 2021 at 3:18 PM Robert Solomon <drrob...@gmail.com> wrote:
>
> Since this is Windows Defender, the bug report would have to go to Microsoft.
> I've heard that they largely ignore such reports.
> So it goes.

Microsoft is a pretty big user of Go, so they might not ignore this
particular report.

Ian



> On Wednesday, December 15, 2021 at 9:13:12 PM UTC-5 Ian Lance Taylor wrote:
>>
>> On Wed, Dec 15, 2021 at 4:55 PM rob <drro...@gmail.com> wrote:
>> >
>> > I am compiling my own code using Go 1.17.5 (also happens w/ other versions)
>> >
>> > When I compile this code on my computer running win 10 21H1 64-bit
>> > system using "go install", the resulting exe file bothers windows
>> > anti-virus a lot. This is what I see
>> >
>> > Behavior:Win32/Execution.A!ml Severe
>> >
>> > And Windows deletes the file.
>> >
>> >
>> > I have discovered that if I compile using
>> >
>> > go install -ldflags="-s -w"
>> >
>> > Windows does not flag the exe file as dirty and delete it.
>> >
>> >
>> > Some of my code causes this when compiled, but most does not.
>> >
>> >
>> > Why is this happening? I don't think my Win 10 setup is so unusual.
>> > This has been happening for months; I saw this behavior also when
>> > compiling using earlier versions of Go 1.17, and also Go 1.16
>> >
>> > I don't remember it happening before Go 1.16
>>
>>
>> See https://go.dev/doc/faq#virus .
>>
>> Ian
>
> --
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/7520a65c-c341-43a7-ac5f-3172c7af6b30n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcUozbTfqsFM2EdPN-QfsK-KXTYbAhvjfqJPNrqj%2BPuK%3DA%40mail.gmail.com.

Reply via email to