Thread overview
Avast virus warning?
Jun 05, 2017
Anonymouse
Jun 05, 2017
rikki cattermole
Jun 05, 2017
Anonymouse
Jun 06, 2017
Laeeth Isharc
June 05, 2017
I just sent a pre-compiled .exe of my project to a friend, and his Avast anti-virus promptly quarantined it and sent it off for analysis. I tried sending him a Hello World[1] with the same results.

Is this something common for d programs? Anything I can do to work around it from my end?

[1]: http://www.mediafire.com/file/fc51qz141r3ns6r/helloworld.exe
June 05, 2017
On 05/06/2017 5:31 PM, Anonymouse wrote:
> I just sent a pre-compiled .exe of my project to a friend, and his Avast anti-virus promptly quarantined it and sent it off for analysis. I tried sending him a Hello World[1] with the same results.
> 
> Is this something common for d programs? Anything I can do to work around it from my end?
> 
> [1]: http://www.mediafire.com/file/fc51qz141r3ns6r/helloworld.exe

Yeah Avast is fairly hit happy for D programs, I've tried to get in touch with them but they don't make it too easy.

I have posited on IRC that maybe either somebody is doing something very bad with D (things like _Dmain as a symbol name are pretty obvious to look for!) or they have trained their neural network wrong.

It would be nice to get in touch with their engineers to find out what is really going on.
June 05, 2017
On Monday, 5 June 2017 at 16:40:25 UTC, rikki cattermole wrote:
> It would be nice to get in touch with their engineers to find out what is really going on.

Tried an email and hit a paywall. :c

> "We’re sorry, but we can’t seem to find a record of your license in our system."
June 06, 2017
On Monday, 5 June 2017 at 16:31:04 UTC, Anonymouse wrote:
> I just sent a pre-compiled .exe of my project to a friend, and his Avast anti-virus promptly quarantined it and sent it off for analysis. I tried sending him a Hello World[1] with the same results.
>
> Is this something common for d programs? Anything I can do to work around it from my end?
>
> [1]: http://www.mediafire.com/file/fc51qz141r3ns6r/helloworld.exe

https://forum.avast.com/index.php?topic=203573.0

It's not that people do bad things with D.  It's that dmd generates code that doesn't look like anything it has seen before.