Proof of concept example: executing machine code from different memory areas: stack, heap, shared memory