<commit_before># Mythril

<img height="120px" align="right" src="/static/mythril.png"/>

Mythril is a security analysis tool for Ethereum smart contracts. It uses concolic analysis to detect various types of issues. Use it to analyze source code or as a nmap-style black-box blockchain scanner (an "ethermap" if you will).

  * [Installation and setup](#installation-and-setup)
  * [Security analysis (EXPERIMENTAL)](#security-analysis-experimental)
  * [Control flow graph](#control-flow-graph)
  * [Input formats](#input-formats)
    + [Working with Solidity files](#working-with-solidity-files)
    + [Working with on-chain contracts](#working-with-on-chain-contracts)
  * [Contract search](#contract-search)
    + [Searching from the command line](#searching-from-the-command-line)
  * [Utilities](#utilities)
    + [Disassembler](#disassembler)
    + [Finding cross-references](#finding-cross-references)
    + [Calculating function hashes](#calculating-function-hashes)
  * [Credit](#credit)

## Installation and setup

Install from Pypi:

```bash
$ pip install mythril
```

Or, clone the GitHub repo to install the newest master branch:

```bash<commit_msg>Update ToC<commit_after># Mythril

<img height="120px" align="right" src="/static/mythril.png"/>

Mythril is a security analysis tool for Ethereum smart contracts. It uses concolic analysis to detect various types of issues. Use it to analyze source code or as a nmap-style black-box blockchain scanner (an "ethermap" if you will).

  * [Installation and setup](#installation-and-setup)
  * [Security analysis (EXPERIMENTAL)](#security-analysis--experimental-)
  * [Control flow graph](#control-flow-graph)
  * [Input formats](#input-formats)
    + [Working with Solidity files](#working-with-solidity-files)
    + [Working with on-chain contracts](#working-with-on-chain-contracts)
  * [Blockchain exploration](#blockchain-exploration)
    + [Searching from the command line](#searching-from-the-command-line)
  * [Utilities](#utilities)
    + [Disassembler](#disassembler)
    + [Finding cross-references](#finding-cross-references)
    + [Calculating function hashes](#calculating-function-hashes)
  * [Credit](#credit)

## Installation and setup

Install from Pypi:

```bash
$ pip install mythril
```

Or, clone the GitHub repo to install the newest master branch:

```bash
{'fraction_non_alphanumeric': 0.12729602733874412, 'fraction_numerical': 0.0025630072618539087, 'mean_word_length': 4.944162436548224, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1934156', 'n_tokens_mistral': 750, 'n_tokens_neox': 679, 'n_words': 200}