Qiling emulates PE, ELF, Mach-O, and other binaries across OS personalities on x86, ARM, MIPS, and more. Python hooks support malware analysis, patching, and RE workflows.
Overview
Built on Unicorn, Qiling adds loaders, syscall handlers, and OS context so binaries run without native guests. It supports Windows, macOS, Linux, Android, BSD, UEFI, DOS, and MBR scenarios with configurable sandboxes.
Fine-grained hooks cover instructions, basic blocks, memory access, syscalls, and IO. Developers can save and restore VM state, hot-patch code at runtime, and debug cross-architecture targets including router firmware on different hosts.
The qltool CLI runs shellcode or files with optional GDB and coverage collection. An IDA Pro plugin bridges the emulator into interactive disassembly sessions. Qiling positions itself as a Python framework for building custom analyzers rather than a single-purpose sandbox binary.
Compared to QEMU user mode, Qiling emphasizes dynamic instrumentation, cross-OS emulation, and embeddability in analysis pipelines.
Key features
- Multi-OS binary emulation
- PE, ELF, and Mach-O loaders
- Python instrumentation hooks
- Hot-patching running code
- Configurable sandbox profiles
- qltool command-line runner
- IDA Pro integration plugin
- State save and restore API
Use cases
- Malware dynamic analysis
- CTF crackme patching demos
- Firmware emulation on x86 hosts
- Custom reverse-engineering tools