Unicorn is a lightweight, thread-safe, multi-platform, multi-architecture CPU emulator framework written in pure C, and based on QEMU.