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 


[C /ASM] Program fails to run if CE is open.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Mateon1
How do I cheat?
Reputation: 0

Joined: 19 Mar 2014
Posts: 1

PostPosted: Wed Mar 19, 2014 3:32 pm    Post subject: [C /ASM] Program fails to run if CE is open. Reply with quote

I was testing inline assembly in gcc, and I noticed it was significantly (8x!) faster if I added a few NOPs before the test loop. I decided to look into that with CE's disassembler.
I still don't know what was causing that, BUT if CE was attached to the .exe file, the program failed to load, returning
1963259017 (0x7504F489)

Any idea why that is happening? Both the magical NOP speedup and why CE attaching to the file made the program fail to load.

The NOP speedup certainly isn't aligning code for the jump address to be %0x10 or %0x8, the program finished the fastest when the jmp pointed to 0x00000771 in the .exe file.

EDIT: Typos.
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Wed Mar 19, 2014 5:13 pm    Post subject: Reply with quote

Try using a profiler. As for why it's crashing, no clue. You haven't really given us a lot of background information.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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