标签:小代码
#include<iostream>
using namespace std;
void fun()
{
int tmp;
*((int *)*(&tmp+1)-1) = 12;
/* _asm
{
mov eax,dword ptr [ebp]
sub eax,0x4
mov dword ptr[eax],0xC
}
*/
}
int main()
{
int a = 10;
fun();
cout<<a<<endl;
return 0;
}vc6.0可以运行
标签:小代码
原文地址:http://wzsts.blog.51cto.com/10251779/1790109