Virus in Delphi 7

半世苍凉 提交于 2019-12-18 04:35:07

问题


When i compile a new project in Delphi 7 IDE , the MCafee identifies it as Virus and deletes it .

The virus identified as Generic.dx!gmk and is deleted by the antivirus so no new Exe is created .

How do we resolve this issue ?

Is this a false positive ?


回答1:


Two possibilities:

  1. False positive. You could submit your app to VirusTotal to check it against other AV tools.
  2. You're infected with this virus which targets D7. This would cause Delphi to produce infected EXEs.



回答2:


Follow these steps to fix the problem:

  • go to /source/rtl Delphi7. There is a 'makefile' file.
  • please make a new dir called 'Lib' on it
  • enter command-line (cmd.exe); enter the keyword MAKE and ENTER key
  • it'll be recompiled the dcu files on the Lib diretory created.
  • back-up delphi7's original Lib dir
  • copy override the dcu created
  • please test application (http://www.virustotal.com/)



回答3:


It might a false positive.

One of our new developers (who is also new to Delphi) was experiencing the same thing. He renamed his "test" project and forms from the default and it stopped being picked up.

I'm guessing somebody did write a virus/trojan in Delphi using the default project and form name and the "pattern" they created made it into the AV databases.




回答4:


Or just update - Delphi 2010 is 100 times better :-)



来源:https://stackoverflow.com/questions/2006534/virus-in-delphi-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!