GSoC: Michael Madsen

Game script (bytecode) decompiler

Grouping completed!

Well, that didn't take long.

Vertices in the code flow graph are now grouped according to these rules:
Here are the scripts from the last post, but now with grouping:
Grouped code flow graph for samnmax/script-33.dmp

Grouped code flow graph for samnmax/room-17-209.dmp

And finally, as an example of a really big graph:
Grouped code flow graph for samnmax/room-9-202.dmp

This concludes the third milestone. The next step is to analyze the graph to detect loops and conditionals.

Posted in Decompiler, GSoC at 2010-06-14 21:55:01