summaryrefslogtreecommitdiff
path: root/extras/pretty_text.py
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2013-09-10 20:04:54 -0700
committerdannye <corrnondacqb@yahoo.com>2013-09-10 20:04:54 -0700
commitd256be1b09179f375e0515871970a90349242955 (patch)
tree544a8ff6bbd7a4b707be48e855c645d0e39a3138 /extras/pretty_text.py
parent5fd2c9b7d4d94d0b2370fec1bc1308989f0abddc (diff)
parente47308a1f88f19dfc0ee5cb42dc643a520d9175b (diff)
Merge pull request #1 from kanzure/dannye-incbins
Merge so that iimarckus does less work
Diffstat (limited to 'extras/pretty_text.py')
m---------extras0
-rw-r--r--extras/pretty_text.py21
2 files changed, 0 insertions, 21 deletions
diff --git a/extras b/extras
new file mode 160000
+Subproject 7aa016fb528bcc8dcb30c6a887957851623eccc
diff --git a/extras/pretty_text.py b/extras/pretty_text.py
deleted file mode 100644
index 4933dca2..00000000
--- a/extras/pretty_text.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#author: Bryan Bishop <kanzure@gmail.com>
-#date: 2012-01-16
-from optparse import OptionParser
-from analyze_texts import text_pretty_printer_at
-
-def main():
- usage = "usage: %prog address label"
- parser = OptionParser(usage)
- (options, args) = parser.parse_args()
- if len(args) == 1:
- print "usage: python pretty_text.py address label"
- args.append("UnnamedText_" + (args[0].replace("0x", "")))
- elif len(args) != 2:
- parser.error("we need both an address and a label")
- address = int(args[0], 16)
- label = args[1]
-
- text_pretty_printer_at(address, label)
-
-if __name__ == "__main__":
- main()