[Scummvm-cvs-logs] SF.net SVN: scummvm: [28777] tools/branches/gsoc2007-decompiler
brixxie at users.sourceforge.net
brixxie at users.sourceforge.net
Sat Sep 1 04:05:48 CEST 2007
Revision: 28777
http://scummvm.svn.sourceforge.net/scummvm/?rev=28777&view=rev
Author: brixxie
Date: 2007-08-31 19:05:48 -0700 (Fri, 31 Aug 2007)
Log Message:
-----------
updated
Modified Paths:
--------------
tools/branches/gsoc2007-decompiler/finalD/README
Property Changed:
----------------
tools/branches/gsoc2007-decompiler/
Property changes on: tools/branches/gsoc2007-decompiler
___________________________________________________________________
Name: svk:merge
- 489ca303-0d3d-4dc1-a57d-017c7912a06a:/local/gsoc2007-decompiler:73
+ 489ca303-0d3d-4dc1-a57d-017c7912a06a:/local/gsoc2007-decompiler:90
Modified: tools/branches/gsoc2007-decompiler/finalD/README
===================================================================
--- tools/branches/gsoc2007-decompiler/finalD/README 2007-08-31 20:18:07 UTC (rev 28776)
+++ tools/branches/gsoc2007-decompiler/finalD/README 2007-09-01 02:05:48 UTC (rev 28777)
@@ -1,14 +1,14 @@
- <>
- ==
+ decomPy
+ =======
-<> is a bytecode decompiler written in Python. Its code
+'decomPy' is a bytecode decompiler written in Python. Its code
structuring algorithms work on an intermediary representation
of a script's instructions and hence are bytecode variant independent.
Thus, adding support for a new bytecode variant only involves
writing a new frontend containing code to translate bytecode
instructions to the intermediary format.
-<> does not yet analyze data flow and hence there is no true
+'decomPy' does not yet analyze data flow and hence there is no true
(as in viable/sensible) support for stack-based bytecode variants
as of now.
@@ -22,22 +22,14 @@
------------------------------------------------------------------------
Usage:
-The SCUMM version is currently hardcoded in decompiler.py.
-(set to version 3)
+$ python decomPy.py [options] <1|2|3|4|5> <script>
-$ <> [options] <script>
-
Current options are:
- -d: Generate a simple disassembly of the program.
- -g: Display a control flow graph using 'dotty'
- from the graphviz package.
-
-------------------------------------------------------------------------
-Todo:
-
- - Implement basic data flow analysis for the parameter stack of
- stack-based bytecode variants.
- - Implement support for SCUMM versions >=6
-
-------------------------------------------------------------------------
+ -h, --help show this help message and exit
+ -d, --disassemble disassemble only
+ -g, --graphviz launch dotty showing the control flow graph
+ -i, --indy use Indy3-256 specific hacks
+ -z, --zak use Zak256 specific hacks
+ -u, --unblocked script has no header
+ -x, --halt-on-error halt on error
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list