您的位置:首页 > 编程语言

代码第一个call调用是什么意思

2014-02-24 17:33 337 查看
代码:

push    AAA.00BB222A; [00BB222A]==00000000
lea     ecx, dword ptr ss:[esp+0x35]             ;  [esp+35]=0012f900 [0012f900]=7C832B6E kernel32.GetPrivateProfileStringA

//下面这个调用是什么意思
call    dword ptr ds:[<&MSVCP80.std::basic_strin>;  msvcp80.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >
//此时 eax=0012f900

mov     eax, dword ptr ds:[<&MSVCP80.std::basic_>
mov     ecx, dword ptr ds:[eax]
push    ecx                                      ;  npos, index of search
push    0x20                                     ;  寻找空格
lea     ecx, dword ptr ss:[esp+0x39]             ;    kernel32.GetPrivateProfileStringA
mov     dword ptr ss:[esp+0x80], 0x0
xor     edi, edi
call    dword ptr ds:[<&MSVCP80.std::basic_strin>;  msvcp80.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::rfind
上面这个代码第一个call调用是什么意思,我的理解,调用了basic_string构造函数:basic_string::basic_string("")

可是传入的对象地址不是空,而是一个现存api kernel32.GetPrivateProfileStringA

的首地址,调用后返回也是这个首地址,不明白这个是什么意思?
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: