Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-22-2022, 13:54
arthur plank arthur plank is offline
Friend
 
Join Date: Jan 2005
Posts: 126
Rept. Given: 28
Rept. Rcvd 22 Times in 14 Posts
Thanks Given: 22
Thanks Rcvd at 82 Times in 33 Posts
arthur plank Reputation: 22
Quote:
Originally Posted by zhgong007 View Post

so "_DWORD *this"

this particular argument ( or this pointer) should be regarded as a real funtion argument, or not?
Yes, the 'this' is a pointer to the instance data for the object and is normal for OOP. Without it the best the code could do is access static data for the class.
Reply With Quote
The Following User Says Thank You to arthur plank For This Useful Post:
tonyweb (10-12-2022)
  #2  
Old 09-22-2022, 14:29
zhgong007 zhgong007 is offline
Family
 
Join Date: May 2011
Posts: 239
Rept. Given: 17
Rept. Rcvd 300 Times in 46 Posts
Thanks Given: 26
Thanks Rcvd at 371 Times in 101 Posts
zhgong007 Reputation: 300-399 zhgong007 Reputation: 300-399 zhgong007 Reputation: 300-399 zhgong007 Reputation: 300-399
but based on IDA, we notice another instance of the same function is called with only one argument (i.e., the last argument). I guess the F5 analysis is not reliable and not consistent.


Quote:
Originally Posted by arthur plank View Post
Yes, the 'this' is a pointer to the instance data for the object and is normal for OOP. Without it the best the code could do is access static data for the class.
Reply With Quote
The Following User Says Thank You to zhgong007 For This Useful Post:
niculaita (09-23-2022)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[NOOB QUESTION] how can i edit a function to return 1 in IDA pro? Mendax47 General Discussion 6 08-22-2021 09:38
Resolving Stack Pointer problem java3ever General Discussion 1 06-20-2017 13:57
how can i check bad pointer on asm? DMichael General Discussion 5 03-22-2014 03:03


All times are GMT +8. The time now is 20:14.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )