Tags: engineering reverse 

Rating:

Use a GDB script to extract instructions executed by the vm. Then reverse them to get the flag.

Original writeup (http://daniao.ws/codegate-quals-20/simple-machine).