首页 文章

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

提问于
浏览
5

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

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

Here is a virus total scan (5 / 45)

Jotti's malware scan (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;
}

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

1 回答

  • 1

    我相信你编译的代码被病毒破坏了,复制就像它本身一样 . 这与您的代码无关 . 如果再次编译代码并重新扫描,恶意软件警告将会消失 .

相关问题