代码第一个call调用是什么意思
2014-02-24 17:33
337 查看
代码:
可是传入的对象地址不是空,而是一个现存api kernel32.GetPrivateProfileStringA
的首地址,调用后返回也是这个首地址,不明白这个是什么意思?
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
的首地址,调用后返回也是这个首地址,不明白这个是什么意思?
相关文章推荐
- spring-tool-suite启动时指定使用jre
- 从myeclipse导入eclipse,不能识别为web项目(java项目转为web项目) 转
- 结构体和函数
- 编程之美 set 5 寻找数组中最大值和最小值
- Struts2防止表单重复提交(源代码)
- Spring aop 基于schema的AOP支持及JoinPoint的使用、如何使用CGLIB代理
- java并行执行多个任务
- springMVC3 mybatis 教程链接
- C#:新邮件监听及搜索
- java equals next nextLine 学习笔记
- Qt 处理html 提取链接
- springMVC系列源码之请求处理过程——12
- c# 数据类型占用的字节数
- Java 交替打印A,B,C问题
- java日期处理类总结:Date/Calendar/GregorianCalendar/DateFormat/SimpleDateFormat类
- lua程序设计(1) - 数据类型和操作符
- 【整理】nongodb基础认识
- Yii框架操作数据库的几种方式与mysql_escape_string
- 《C++ Primer第五版》读书笔记(7)--SEQUENTIAL CONTAINERS
- PHP autoload机制详解 自动加载函数