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 


MOV (Address Of Code) into EIP

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
xlcs
Grandmaster Cheater
Reputation: 0

Joined: 14 Nov 2006
Posts: 945

PostPosted: Sat Nov 25, 2006 6:27 am    Post subject: MOV (Address Of Code) into EIP Reply with quote

hi, im trying make a script that automatically puts in the eip address for u, but im not very sure what i should do...

Quote:

[ENABLE]
registersymbol(code)
alloc(code, 1024)

code:
CODE GOES HERE


Address EIP should be into
:
MOVING THE ADDY INTO EIP HERE

[DISABLE]
dealloc(code)
unregistersymbol(code)


1. do i need to register symbol for Address EIP should be into?

2. which one i the correct code for MOVING THE ADDY INTO EIP HERE

A. Mov Eip, Code (Move Address of Code into Adress of EIP?)
B. Mov EIP, [c0de] (Move value of code into address of EIP?)
C. Mov [EIP], Code (Move address of code into Value of EIP?)
Back to top
View user's profile Send private message
omgms
Grandmaster Cheater Supreme
Reputation: 0

Joined: 13 Jul 2006
Posts: 1254
Location: Hacking Island

PostPosted: Sat Nov 25, 2006 8:35 am    Post subject: Reply with quote

i try moving the address into eip too but can't
Back to top
View user's profile Send private message
dezuzi
Expert Cheater
Reputation: 0

Joined: 09 Aug 2006
Posts: 146
Location: In your washing machine

PostPosted: Sat Nov 25, 2006 9:20 am    Post subject: Reply with quote

you cant change the EIP... if you want to change the return address do it on the stack
the EIP points to the next instruction in a code segment its not to be used to store data, either make a jump, or change the return address in the stack

not sure why you want to change the EIP
or use a different register to store your data.. i assume you wont need the data stored in it for a very long time so you could just replace it with its old value if its static

_________________
Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime.
Dynamic memory is my playground..
Back to top
View user's profile Send private message
TehWaffle
Expert Cheater
Reputation: 0

Joined: 08 Jul 2006
Posts: 142

PostPosted: Sat Nov 25, 2006 9:23 am    Post subject: Reply with quote

Just use a JMP.
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 Gamehacking 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