Writing a program in C to open a PE format executable, dump the different sections of content(Headers, .idata,.text, etc...) into a bunch of .bin files.
Whenever I compile the program On-Access protection tells me program 'contains a sample of Win32:Agent-DFS[trj]!'. Re-scanning it after it's compiled or trying to run it does the same.
Pretty sure it's not an infected compiler, since my entire computer computer scans clean, no other program I compile causes warning, and program only scans bad if I add certain lines I've made sure are safe to the program.
So my question is, what could be causing this? Program doesn't alter memory space of another program, alter registry or system files, etc...Will padding the program executable to increase its size stop problem?