Write code that can be runs in any memory address?
I've been wrote a executable injector and the tested injected code can running perfectly by now.
I place code and data in one section. These part will be loaded to memory, depends on the exe configuration, so the code must can be run in any addresses of memory. But I have a problem when accessing data.
data1 db 1
data2 db 2
mov eax, [data1] ;???
Can I access data1 relative from instruction "mov eax, [data1]"? Or is there a way to access data in such problem?
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