title: VS2015 executable become virus (with potential solution but don't know why)
body: <p>This is one of the weirdest things ever happen to me in my programmer career.</p>
  
  <p>I am working on a MFC project, and recently my antivirus software BitDefender sees my executable as virus " <code>Gen:Variant.Razy.47148</code>"</p>
  
  <p>Here is the scan result from <code>virustotal.com</code></p>
  
  <pre><code>Antivirus   Result  Update
  ALYac       Gen:Variant.Razy.47148  
  Ad-Aware    Gen:Variant.Razy.47148  
  Arcabit     Trojan.Razy.DB82C   
  BitDefender Gen:Variant.Razy.47148  
  Emsisoft    Gen:Variant.Razy.47148 
  F-Secure    Gen:Variant.Razy.47148  
  GData       Gen:Variant.Razy.47148  
  eScan       Gen:Variant.Razy.47148
  </code></pre>
  
  <p>*the rest are clear result</p>
  
  <p>I have a few configurations, this happens to only one of them. So I then compare the setting difference, turns out <code>Linker--Debugging--Generate Debug Info</code> is the problem. When it is "No", not virus, when it is Yes, virus.<br>
  Then I look at what exactly it does, it says "This option enables creation of debugging information ofr the .exe file or the DLL." 
  Detailed description from MS <a href="https://msdn.microsoft.com/en-us/library/xe4t6fc1.aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/xe4t6fc1.aspx</a>
  I don't see any possible way this make my executable become virus. </p>
  
  <p>More you might want to ask:</p>
  
  <ol>
  <li><p>Hard drive scanned clear by multiple well-known antivirus program.</p></li>
  <li><p>Executable is clear if I turn that to "No" without doing any other changes. Which means that all those .c and .h I included are clear.</p></li>
  <li><p>I know this is kind of like a false positive virus since only some "unnamed" antivirus software report this. BUT unfortunately, I have to use BitDefender, and some of those computer that my program will be running at are using it as well.(my program is just a debugging tool for internal use only) </p></li>
  </ol>