首页
社区
课程
招聘
[求助]IDA 64 这些注释说明什么
发表于: 2015-9-30 09:04 3745

[求助]IDA 64 这些注释说明什么

2015-9-30 09:04
3745
.text:00000000009A501D                 mov     rdi, [rbp-20h]
.text:00000000009A5021                 add     rdi, 18h        ; this
.text:00000000009A5025                 call    __ZNSsC1Ev      ; std::string::string(void)
.text:00000000009A502A                 mov     rdi, [rbp-20h]
.text:00000000009A502E                 add     rdi, 20h        ; this
.text:00000000009A5032                 call    __ZNSsC1Ev      ; std::string::string(void)
.text:00000000009A5037                 mov     rdi, [rbp-20h]
.text:00000000009A503B                 add     rdi, 28h        ; this
.text:00000000009A503F                 call    __ZNSsC1Ev      ; std::string::string(void)
.text:00000000009A5044                 mov     rdi, [rbp-20h]
.text:00000000009A5048                 add     rdi, 30h        ; this
.text:00000000009A504C                 call    __ZNSsC1Ev      ; std::string::string(void)

如上汇编代码,;this是什么意思,是只rdi寄存器存放的是this指针指向的地址吗?
call函数对应C++中的什么代码呢?
初学者,求前辈指导!
收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 274
活跃值: (30)
能力值: ( LV3,RANK:30 )
在线值:
发帖
回帖
粉丝
2
[rbp-0xxxh]一般是临时变量 rdi作为this指针保存初始化的string的类指针,c++代码应该是
string a1;
string a2;
string a3;
string a4;
2015-9-30 11:20
0
游客
登录 | 注册 方可回帖
返回
//