C++ Programming
04-23-2011, 05:00 AM
Hi guys(and girls http://www.barakasoft.com/script/Forums/Images/smiley_wink.gif ),
i want to copy the data of a function, with the whole data, i mean, the whole function and execute it on the target memory. How do i realize it?
Is there a possibility to determine when the function ends? Is it possible to copy the function into the heap and execute it there ? Or has it have to be the Stack ?
I tried to look into it with a Debugger and so on, but couldnt get any information regarding the matter.
thanks in advance for every answer =)
btw. i use C (gcc)
i want to copy the data of a function, with the whole data, i mean, the whole function and execute it on the target memory. How do i realize it?
Is there a possibility to determine when the function ends? Is it possible to copy the function into the heap and execute it there ? Or has it have to be the Stack ?
I tried to look into it with a Debugger and so on, but couldnt get any information regarding the matter.
thanks in advance for every answer =)
btw. i use C (gcc)