A Qt-based disassembly viewer based on radare2.
Currently also uses capstone directly (rather than through radare2) for syntax highlighting.
First install the dependencies described below under Dependencies.
To run Sonare to view the
python sonare/main.py path/to/my/binary
Sonare currently has the following dependencies, which you'll need to install first:
Python 2.7 (2.6 may be ok, too. 2.5 probably won't be.)
git clone https://github.com/radare/radare2 cd radare2 # then, to install system-wide: sys/install.sh # or, to install in user's home directory instead: sys/user.sh # (for more details, see README.md)
git clone https://github.com/radare/radare2-r2pipe cd radare2-r2pipe/python python setup.py build sudo python setup.py install
capstone's python bindings
radare2 pulls in capstone while compiling. after compiling radare2, you can find capstone's python bindings in the radare2 tree under
shlr/capstone/bindings/pythonand install them from there:
python setup.py build sudo python setup.py install
Various python modules: networkx, PyQt5, mako, sortedcontainers
sudo apt install python-networkx python-pyqt5 \ python-pyqt5.qtwebkit python-mako python-sortedcontainers \ graphviz libgraphviz-dev sudo -H pip install pygraphviz