Author Topic: Code Blocks 12.11 compiler generated .exes detected as virus.  (Read 4045 times)

Offline david_19

  • Single posting newcomer
  • *
  • Posts: 2
Hi. I'm using Code Blocks 12.11 to compile C code using built in GNU GCC Compiler in release mode for the following code as example:

Code
#include <stdio.h>

int main()
{
    int x;
}

The extension file which was directly generated by Code blocks is detected as a virus on https://www.virustotal.com/en/ by 13 other anti-virus software. I have attached the .exe file in .rar file with a password. Can someone confirm what's going on?

The password for attached .rar file is: 123456
« Last Edit: July 02, 2013, 05:46:18 am by david_19 »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Code Blocks 12.11 compiler generated .exes detected as virus.
« Reply #1 on: July 02, 2013, 06:56:09 am »
You mean your have a bad exe file?
This is what I have: https://www.virustotal.com/en/file/5a7fe03f8ef1b342376d090d4a65cdca10b8b342a9971ddea1d05df360613e06/analysis/1372740805/

But I think C::B should not have virus, you should check your computer to see whether it is infected. Also, a lot of AV software has false alarm. :)
« Last Edit: July 02, 2013, 07:33:24 am by ollydbg »
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline david_19

  • Single posting newcomer
  • *
  • Posts: 2
Re: Code Blocks 12.11 compiler generated .exes detected as virus.
« Reply #2 on: July 02, 2013, 08:11:02 am »
Well, The system is clean. So, I think it's the AV software.