什么样的非致命代码通常会触发防病毒?(误报)

Joe*_* DF 5 c antivirus ansi false-positive

我不知道为什么,但我以前没有任何问题,现在突然间,我很久以前写的这个非常古老,可怕的新手程序触发了Malwarebytes ... :(

这个问题不重复,因为有问题的程序是(ANSI)C而不是Delphi ......

这是病毒总扫描(5/45)

Jotti的恶意软件扫描(1/22)

这是我糟糕的旧源代码:P

#include <stdio.h>
#include <string.h>
/* This script is by Joe DF*/
main()
{
    char input[999];
    int charcount = 100;
    gets(input);
    printf("%d\n", strlen(input));
    printf("%d", numlen(charcount));
}

numlen(int num)
{
    char temp[999];
    sprintf(temp, "%d", num);
    int count = strlen(temp);
    return count;
}
Run Code Online (Sandbox Code Playgroud)

这可能只是一个简单的错误......但为什么呢?对我来说,这似乎无害!即使这只是一个错误,通常会引发误报?它只是文件的签名吗?时间戳?

Pra*_*ati 0

我相信您编译的代码已被病毒损坏,并自行复制。这与你的代码无关。如果您再次编译代码并重新扫描,恶意软件警告将会消失。