I wouldn't really want this to be malloc'd per se, you could make a byte array on the stack then pass it into the VM?