为什么一个空函数 void fun(void) {} 编译后是下面的代码
这些代码是做什么用的?
.text:10001F60 push ebp
.text:10001F61 mov ebp, esp
.text:10001F63 sub esp, 40h
.text:10001F66 push ebx
.text:10001F67 push esi
.text:10001F68 push edi
.text:10001F69 lea edi, [ebp+var_40]
.text:10001F6C mov ecx, 10h
.text:10001F71 mov eax, 0CCCCCCCCh
.text:10001F76 rep stosd
.text:10001F78 pop edi
.text:10001F79 pop esi
.text:10001F7A pop ebx
.text:10001F7B mov esp, ebp
.text:10001F7D pop ebp
.text:10001F7E retn
这些代码是做什么用的?
.text:10001F60 push ebp
.text:10001F61 mov ebp, esp
.text:10001F63 sub esp, 40h
.text:10001F66 push ebx
.text:10001F67 push esi
.text:10001F68 push edi
.text:10001F69 lea edi, [ebp+var_40]
.text:10001F6C mov ecx, 10h
.text:10001F71 mov eax, 0CCCCCCCCh
.text:10001F76 rep stosd
.text:10001F78 pop edi
.text:10001F79 pop esi
.text:10001F7A pop ebx
.text:10001F7B mov esp, ebp
.text:10001F7D pop ebp
.text:10001F7E retn
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货