摘要: 常见的函数调用方式有__cdecl、__stdcall、__fastcall(前面为双下划线)。1.__cdecl: 按从右至左的顺序压参数入栈,由调用者把参数弹出栈.int __cdecl func1(int a,int b,int c){ return a+b+c;}int main(){//函数调用 func1(1,2,3); return 0;}a.压栈顺序 //main.text:00401108 push 3 ; int.text:0040110A push 2 ... 阅读全文
posted @ 2013-10-20 21:32 sxcww 阅读(200) 评论(0) 推荐(0) 编辑