Introduction
Manticore is a prototyping tool for dynamic binary analysis, with support for symbolic execution, taint analysis, and binary instrumentation. It comes with easy-to-use CLI (Command Line Tool) which allows you to quickly generate new program test cases with symbolic execution.
Manticore: Symbolic Execution Tool for Binary Analysis and Smart Contracts
Mac Os Catalina
Manticore is a symbolic execution tool with command line interface which can be used to easily symbolically execute a supported program/smart contract. It's capable of input generation, crash discovery, execution tracing and has a programmatic interface (via a Python API). In addition, it can also analyse Ethereum smart contracts (EVM bytecode) and Linux ELF binaries (x86
, x86_64
and ARMv7
).
Features:
Apple has decided that the latest release of their OS, Mac OS X Lion (10.7), is no longer available as an install media. New systems have a recovery partition (called a Recovery HD) with the installation files, and those with earlier versions of the OS (Leopard and Snow. The manticore or mantichore (Early Middle Persian: merthykhuwar; Persian: مردخوار mardykhor) is a Persian legendary creature similar to the Egyptian sphinx that proliferated in western European medieval art as well. It has the head of a human, the body of a lion and a tail of venomous spines similar to porcupine quills, while other depictions have it with the tail of a scorpion.
- Automatically generates inputs that trigger unique code paths
- Discovers inputs that crash programs via memory safety violations
- Records an instruction-level trace of execution for each generated input
- Exposes programmatic access to its analysis engine via a Python API
Requirements:
- Python 3.6+
- Ubuntu 18.04 (recommended)
solc
program in your$PATH
(for Ethereum smart contract analysis)
Manticore Install
Linux
First you'll need to install dependencies:
Then grab the Manticore and install its dependencies:
Viridian mac os. To build the examples run:
Installation via Docker
Run container with a shared examples/directory:
--rm
will make the container be deleted if you exit it (if you want to persa from the container, use docker volumes).Change the example directory, run:
To build the examples:
Mac OS X
Mac Os Download
Mac OS X users need to install dependencies manually (preferably in a manticore's python virtual environment):
Mac Os Mojave
1. User install:
Requires ~/.local/bin
in your PATH:
World of m.a.r.t.i. mac os.
Manticore Mac Os Update
2. System install:
3. Docker install:
Usage
mcore_
. Use the CLI to explore possible states in Ethereum smart contracts. This solidity analyzing tool includes detectors that flag potentially vulnerable code in discovered states. Solidity smart contracts must have a .sol
extension for Manticore analysis.To use the Manticore CLI, run:
To use the Manticore API, run: