Skip to content

sapir/sonare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonare

A Qt-based disassembly viewer based on radare2.

Currently also uses capstone directly (rather than through radare2) for syntax highlighting.

a screenshot

Running

First install the dependencies described below under Dependencies.

To run Sonare to view the path/to/my/binary file:

python sonare/main.py path/to/my/binary

Dependencies

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.)

  • radare2

    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)
    
  • radare2-r2pipe

    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/python and 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
    

About

A Qt-based disassembly viewer based on radare2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published