/objdump2stats

Compute statistics from objdump disassembly output.

Primary LanguagePythonMIT LicenseMIT

objdump2stats


Author:Elie ROUDNINSKI

objdump2stats is a pure Python package that compute statistics from objdump disassembly output.

1   Installation

1.1   Requirements

objdump2stats requires Python 3. It has been tested on Python 3.8 on Linux.

1.2   From github

You can clone this repository and install it with setuptools directly:

$ python3 setup.py install --user

1.3   From pip

As every pip available package, you can install it easily with the pip package:

$ python3 -m pip install --user objdump2stats

2   Usage

Just pipe the standard output of objdump to objdump2stats's standard input:

$ objdump -d /bin/false |  objdump2stats

This should print a JSON document with various information gathered from objdump.