Dynamic binary from file

Posted by Aurel300 on Stack Overflow See other posts from Stack Overflow or by Aurel300
Published on 2011-01-06T12:50:42Z Indexed on 2011/01/06 12:53 UTC
Read the original article Hit count: 190

Filed under:
|
|
|

This is a little bit of weird problem here.

Say I have a C++ code, running on a specific platform. The only purpose of this code is to run files containing binary, NATIVE to that platform.

Now - my question is - HOW would I get the data from these files (could even be by bits, like 1024 bits a cycle) to the memory of machine running my code so that this data would be in the execution part?

In other words, can I get the data to somewhere where I can point the instruction pointer?

If yes, how?

I don't mind if I have to use assembler for this - just so it would work.

© Stack Overflow or respective owner

Related posts about c++

Related posts about dynamic