Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Small bug

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Redouane
Master Cheater
Reputation: 3

Joined: 05 Sep 2013
Posts: 363
Location: Algeria

PostPosted: Wed Jul 02, 2014 4:14 pm    Post subject: Small bug Reply with quote

In the auto assembler,sometimes,when you specify a symbol but not its module,it may not inject code successfully:
example code:
Code:
msvcrt.exit:
ret
db 90


After this,go to the memory viewer,rightclick,choose goto,and type in msvcrt.exit,now,after reclicking 'goto',try typing in the word exit,the bytes are different,in the first one you will see a ret followed by a nop,everything is fine,but in the second one,you'll notice a 'mov edi,edi',this because the symbol handler does not make a difference between msvcrt.exit and msvcrt._exit,it spells both of them as exit.
More details in attachments.



sym.png
 Description:
 Filesize:  9.02 KB
 Viewed:  6045 Time(s)

sym.png



to_post.png
 Description:
 Filesize:  39.85 KB
 Viewed:  6045 Time(s)

to_post.png


Back to top
View user's profile Send private message
Redouane
Master Cheater
Reputation: 3

Joined: 05 Sep 2013
Posts: 363
Location: Algeria

PostPosted: Fri Jul 04, 2014 1:56 pm    Post subject: Reply with quote

[UPDATE]
The bug is in the symbol-handler,it does not differenciate between exit and _exit,here's what I have from olly dbg.



exit.png
 Description:
 Filesize:  7.05 KB
 Viewed:  5980 Time(s)

exit.png


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites