PyEmu Overview

PyEmu is split into three main systems: PyCPU, PyMemory, and PyEmu. For the most part you will be interacting only with the parent PyEmu class, which then interacts with the PyCPU and PyMemory classes in order to perform all of the low-level emulation tasks. When you are asking PyEmu to execute instructions, it calls down into PyCPU to perform the actual execution. PyCPU then calls back to PyEmu to request the necessary memory from PyMemory to fulfill the execution task. When the instruction is finished executing and the memory is returned, the reverse operation occurs.

We will briefly explore each of the subsystems and their various methods to better understand how PyEmu does its dirty work. From there we'll take PyEmu for a spin ...

Get Gray Hat Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.