Talk:GSoC Tools status

From ScummVM :: Wiki
Revision as of 13:30, 23 February 2010 by Jestar jokin (talk | contribs) (Notes on defects in descumm)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Not sure if this is relevant, but I'm aware of two defects in descumm:

  • V0-5: Incorrect parsing of escape sequences in strings, such as in print and printEgo instructions. Sometimes interprets a valid value of '\x00' as the null-terminating character. (Monkey Island 2, global script 12)
  • V0-5, maybe 6+: if/else generation sometimes incorrect with complex control flows. Output is correct when if/else statements are disabled. (Monkey Island 2, global script 22)

However, since these weren't introduced in the GSoC update (and have probably been around for many years), I don't know if they should be mentioned. First issue should be easy to fix, just copy the escape sequence handling from the v6+ part of descumm. The second part would probably need to implement some control flow graph analysis (could try and copy code from the GSoC generic bytecode decompilers, if it's useable). --Jestar jokin 13:30, 23 February 2010 (UTC)