[Q] Executing ELF File From RAM.
Posted: Sat Nov 17, 2012 11:00 pm
Hello, I was able to get the JamesM kernel tutorial completely, and I've a full Initrd which is loaded to memory.
now I've the executable file at 0x116834, and I parsed the ELF header to find the entry address which is at 0x100000.
I know I should jump to that address and I did use Fork and so on... but I don't know how can I get the real code address in this file as it's different to the memory.
thanks, and sorry if it's a noob question, I'm trying to learn about all these stuff using tutorials and so on.. )))
now I've the executable file at 0x116834, and I parsed the ELF header to find the entry address which is at 0x100000.
I know I should jump to that address and I did use Fork and so on... but I don't know how can I get the real code address in this file as it's different to the memory.
thanks, and sorry if it's a noob question, I'm trying to learn about all these stuff using tutorials and so on.. )))