Skip to content

Instantly share code, notes, and snippets.

@Stean
Stean / assemble_and_emulate.py
Created March 23, 2018 01:11
script for assembly execution via keystone, capstone and unicorn engine
#!/usr/bin/env python
# allows print() behavior as in python3
from __future__ import print_function
# required for assembly
from keystone import *
# required for emulation
from unicorn import *
from unicorn.x86_const import *