title: Corrupted memory segment when writing into it int by int
body: <p>For having a standalone binary purpose I want to mount a payload in the RAM declaring its content int by int with something like this</p>
  
  <pre><code>int *payloadptr = malloc(10*sizeof(int));
  payloadptr[0] = 0x11223344;
  payloadptr[1] = 0x55667788;
  </code></pre>
  
  <p>This data setter script is generated automatically, I chose to do it int by int to take less space than char by char in my .c file
  however when I dump the memory I can see that the bytes are totally mixed
  But it is not the case with the char by char approach
  What would possible cause this?</p>