Skip to main content

Cemu is a simple assembly/dissembly/emulation IDE that provides an easy Plug-n-Play environment to start playing with many architectures (currently supports x86-{32,64}, ARM, AARCH64, MIPS, SPARC).

Project description

MIT IRC Python-Version PyPi-Version




Writing assembly is fun. Assembly is the lowest language (humanly understandable) available to communicate with computers, and is crucial to understand the internal mechanisms of any machine. Unfortunately, setting up an environment to write, compile and run assembly for various architectures (x86, ARM, MIPS, SPARC) has always been painful. CEmu is an attempt to fix this by providing a bundled GUI application that empowers users to write assembly and test it by compiling it to bytecode and executing it in an QEMU-based emulator.

CEmu combines all the advantages of a basic assembly IDE, compilation and execution environment, by relying on the great libraries Keystone, Unicorn and Capstone engines in a Qt powered GUI.

It allows to test binary samples, check your shellcodes or even simply learn how to write assembly code, all of this for the following architectures:

  • x86-32 / x86-64
  • Arm / AArch64
  • MIPS / MIPS64
  • (more to come)

CEmu was tested and works on Linux, Windows and MacOSX.


Since version 0.2.2, cemu is now Python3 only for simplicity (and also due to the fact that Python2 will soon cease to exist).

If your current installation of cemu is <= 0.2.1 and on Python2, please uninstall it and install it using Python3.

Quick install with PIP

Last stable from PyPI:

pip3 install cemu

Last stable from Github:

git clone && cd cemu
pip3 install --upgrade .

For 99% of cases, that’s all you need to do. cemu will be installed in your ${LOCALPATH}/bin directory (by default, /usr/local/bin/cemu if installed as root, ~/.local/bin/cemu for non-root).

Installation notes

Kali Linux

If you are using Kali Linux, there is a known problem with the installation of the keystone-engine package using PIP. A quick’n dirty fix for that would be (as root):

$ sudo updatedb
$ sudo locate
$ sudo ln -sf /path/to/ /usr/local/lib/


If you are using OSX, I would highly recommand installing Capstone engine directly using command instead of pip, as its version seems more up-to-date than the one on PyPI. Doing so, the installation should work out of the box:

$ brew install capstone
$ pip3 install -U cemu


The fastest way for Windows is to install the packaged binaries for:

Then spawn cmd.exe and install the missing Python packages using pip:

# From PyPI
C:\> pip.exe install -U cemu
# From Github
## Download ZIP and extract it
C:\> cd path\to\cemu
C:\path\to\cemu> pip.exe install . -U

CEmu launcher (cemu.exe) will be in the C:\Python3\Scripts directory.


cemu was created and maintained by myself, `@_hugsy_ <>`__, but kept fresh thanks to all the contributors.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cemu, version 0.5
Filename, size File type Python version Upload date Hashes
Filename, size cemu-0.5-py3-none-any.whl (81.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cemu-0.5.tar.gz (64.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page