A script to produce graphs from MSP430 assembly files using pydot. This script is intended for use in microcorruption ctf, which is based on the MSP430.
usage: msp2dot [-h] CODE SUBROUTINE
positional arguments: CODE Path to assembly file. SUBROUTINE Name of subroutine to graph. Graph is written to SUBROUTINE.png
Besides Python 2.7 the only dependency is pydot
, which can be installed using your package manager or pip:
pip2 install pydot
&
is replaced byamp
, since there's an issue with pydot.- 'br' instruction is not currently supported.
Feel free to issue pull request.
This project is inspired by Nelson Elhage's reverse-android. His formating of code labels is also employed here.