dump_sections - tool to dump a skeleton asm file

This commit is contained in:
Bryan Bishop
2013-01-27 19:10:42 -06:00
parent 9a29def250
commit eb6cb9812d
3 changed files with 218 additions and 0 deletions

14
extras/dump_sections Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# This wraps dump_sections.py so that other python scripts can import the
# functions. If dump_sections.py was instead called dump_sections, then other
# python source code would be unable to use the functions via import
# statements.
# figure out the path to this script
cwd="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# construct the path to dump_sections.py
secpath=$cwd/dump_sections.py
# run dump_sections.py
$secpath $1