Ad
  • Default User Avatar

    its still pretty difficult to understand for me, but i think i got your point. thank you for the reply, and once again congrats for your code.

  • Custom User Avatar

    hehe that's not assembly/machine code... that is just a char replacement table for rot13, but instead of defining it with bytes/chars which would make it bigger/obvious... i defined them using 64bit unsigned integers... i.e. each pair of hex digits correspond to a byte... hence why when i access it i cast the pointer to char* to access it as a regular char table.

    either way it's possible to have machine code defined in an array and call it just like you would call a dynamic loaded function... i.e. with a function pointer pointing to the array. (normally this array have to be as local in the stack, because there's read/write/exec permissions for the stack, otherwise system specific functions would need to be called to set the exec privileges)

  • Default User Avatar

    please, can you explain to me how you manage to create a program in c using exadecimal and binary stuff from assembly language? im so amazed