# Metasm

> Metasm is a Ruby suite for assembling, disassembling, debugging, and modifying executable binaries. It supports formats including PE, ELF, Mach-O, and shellcode.

- Type: Tool
- Targets: Binary
- Category: Binary analysis libraries
- Relationship: Foundation tool
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-06
- Original resource: <https://github.com/jjyg/metasm>
- Primary source: <https://github.com/jjyg/metasm/blob/a70271c239ba15a496975ce23018eb263167ad2c/README>
- Catalog page: <https://awesomerea.org/resources/metasm/>
- Record JSON: <https://awesomerea.org/resources/metasm/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/metasm/index.md)

## Requirements & limits

- Ruby is required to use the suite and its sample scripts.
- LGPL per the README; the LICENCE file carries LGPL-2.1.

## Primary sources

1. <https://github.com/jjyg/metasm/blob/a70271c239ba15a496975ce23018eb263167ad2c/README>

## More in Native binaries

- [DownUnderCTF: masked-squares flag checker](https://awesomerea.org/resources/rea-ctf-case/index.md) · Case study
- [Show Your Work: a measured dissection of REA's evidence architecture](https://awesomerea.org/resources/noflag-rea-evidence-architecture-study/index.md) · Case study
- [Windows loader: static malware analysis with REA and Codex](https://awesomerea.org/resources/windows-loader-static-analysis-case/index.md) · Case study
- [OpenBSD netcat: static REA and Ghidra investigation](https://awesomerea.org/resources/netcat-openbsd-rea-static-case/index.md) · Case study
- [m0rph: tracing an obfuscated ELF flag checker](https://awesomerea.org/resources/m0rph-ctf-analysis-case/index.md) · Case study
- [CPQ IO Scheduler: reconstructing Xiaomi's block scheduler](https://awesomerea.org/resources/cpq-iosched-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
