#14 Problems in Callback.cpp

open
nobody
Native side (6)
5
2009-04-29
2009-04-29
No

I have 2 questions on Callback.h, from CVS:

Line-31 (char)0x83, (char)0xc4, (char)0x10, // sub esp, 0x0c (restore the stack)

byte code "0x83, 0xc4, 0x10" is correct, means "add esp, 0x10" but not "sub esp, 0x0c".

Line-34 (char)0xc3, // ret

According to the stack cleanup rule of "CALLBACK", it should be "ret ??" (?? filled in "CreateCallBack"), but "ret" really works?

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks