Posted: Tue Jul 28, 2009 2:24 pm Post subject: Relocation Help
For assembly, If I were to move a piece of code from one place to another, only 50% of the code might work. That is all the relative jumps. But the not relative values would not be the same. So I was wondering how dlls achieve this change (mapping the values to the correct places) when loading it.
So if I had mov eax,[00401000] and I pasted this somewhere else it would remain the same. But for a relative jump the jump would be relative to where it is.
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