It is a build without the original msvcrt.lib who his identify as a virus.
ToutEnMasm, there are basically two options for you :
a) You are neglecting all what I am posting here.
b) You don't understand what I tell.
I know that you are an intelligent person, so please pay attention to what I am telling. I sent the report of Jotti, I repeat :
https://virusscan.jotti.org/en-US/filescanjob/x7nmyskhu6Do you see any virus indication in the report?
Another question : what is the original version of msvcrt.lib? Is it the one shipped with VS5, VS6 or the latest Visual Studio 2015? What is it supposed to do?
There is some proc added by the linker who aren't in the masm32 package and aren't use in the asm source code.
Now, could you clarify us about the procedure added by a specific version of msvcrt.lib? Why should I need it?
To prevent false positive with avast,link your project with the vc++ msvcrt.lib,not the masm32 one. ( result of tests on further machine).
There is no need to use the msvcrt functions,result is the same.
That will be enough.Lib from sdk are also welcome.
I use msvcrt.lib because the DLL exports some useful functions. I can even create that library with my def2lib tool. Never had a false positive problem with that import library. Better to stay away from crappy AV products.
( result of tests on further machine). This one isn't only based on one sample,try to find a c++ sample (who use all the original msvcrt.lib) who generate a false positive.
I wait,the rule must be apply to all not to an exception,allways possible.
This is a subforum dedicated to assembly programming so why should I bother with the C++ example? Your comment fits rather the Compiler based Assembler section :
http://masm32.com/board/index.php?board=17.0To make it clear, I am sending you a quick example built with msvcrt.lib supplied with the Masm32 package. No any false positive reported by Jotti :
.386
.model flat,stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
include \masm32\include\msvcrt.inc
includelib \masm32\lib\kernel32.lib
includelib \masm32\lib\msvcrt.lib
.data
string db 'Hello world!',0
.code
start:
invoke crt_printf,ADDR string
invoke ExitProcess,0
END start
https://virusscan.jotti.org/en-US/filescanjob/asrnuopyy2