-
-
[旧帖]
用winasm写代码,均被ESET NOD32报毒,RadASM没事
0.00雪花
-
2012-11-20 07:53
3950
-
[旧帖] 用winasm写代码,均被ESET NOD32报毒,RadASM没事
0.00雪花
.386
.model flat, stdcall
option casemap:none
;=================data================
.data
;=================data?===============
.data?
;=================code================
.code
start:
mov eax, 1
end start
其实是啥都没有做的一个mov汇编测试,结果就报毒。像什么push eax pop ebx 之类的都报毒,用RadASM编写就完全没事,这是什么情况,有达人知道吗,感谢
但是正儿八经的的一个messagebox是不会报毒的
.386
.model flat, stdcall
option casemap:none
include g:\masm32\include\windows.inc
;Kernel32.dll contains API functions that deal with memory and process management, ExitProcess need it
include g:\masm32\include\kernel32.inc
;User32.dll controls the user interface aspects of your program, MessageBox need it
include g:\masm32\include\user32.inc
include g:\masm32\m32lib\masm32.inc
includelib g:\masm32\lib\kernel32.lib
includelib g:\masm32\lib\user32.lib
includelib g:\masm32\m32lib\masm32.lib
;================== data =====================
.data
text db "Win32 Assembly is cool !", 0
caption db "Compile by WinAsm", 0
.data?
;================== code =====================
.code
start:
invoke GetModuleHandle,0
invoke MessageBox, NULL, addr text, addr caption, MB_OK
invoke ExitProcess, 0
end start
[培训]内核驱动高级班,冲击BAT一流互联网大厂工
作,每周日13:00-18:00直播授课