Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-02-2003, 16:50
ArC ArC is offline
VIP
 
Join Date: Jan 2003
Location: NTOSKRNL.EXE
Posts: 172
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 5
Thanks Rcvd at 17 Times in 12 Posts
ArC Reputation: 1
Question Problem with Return Address

I got an application which calls a MFC function.
That MFC function calls another MFC function.
Now my problem:
As you know, when a call is executed, the return
address is pushed on the stack.
But not in this case:
When that MFC function calls the other MFC function,
0 is pushed on the stack as return address instead of
the real return address.
The result of this is that when that call
returns, the app crashes.

So how can this happen?

Notice:
That application is protected.
In the protected version of the app
that problem does not seem to occur.
However, I've unpacked that app by hand
and now I got this problem.

Thx
Reply With Quote
 


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
How do I know what information return this address? byvs General Discussion 5 11-20-2015 20:57
Can we hook some func in another process then change return address? Teerayoot General Discussion 5 09-21-2004 11:12
Softice - how do I return to calling code? sync General Discussion 16 08-22-2002 20:02


All times are GMT +8. The time now is 07:12.


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