title: Loading into RAM & Executing machine code stored in an object file
body: <p>I have built a JIT , which reads c codes and converts them to an object file ( .o )  ; the object file stores a ````main(int argc, char **argv)'''' function . my question is how may I load this object into memory and execute the main function stored in it ?</p>
  
  <p>NOTE : I've seen many similar questions in SO but I could'nt find my answer so please do not mark this question as a duplicated question</p>