It doesn’t take much to call an x86_64 function by its address and an array of arguments.  The technique is useful for implementing interpreters or responding to remote procedure calls.  Supports 4 args, but can be completed by adding rcx, r8, r9.  Extend using XMM floating point registers.

 

call functions on the run – x86_64
Tagged on:                 

One thought on “call functions on the run – x86_64

Leave a Reply

Your email address will not be published.