https://wiki.scummvm.org/index.php?title=Talk:GSoC_Tools_status&feed=atom&action=historyTalk:GSoC Tools status - Revision history2024-03-28T11:04:39ZRevision history for this page on the wikiMediaWiki 1.36.0https://wiki.scummvm.org/index.php?title=Talk:GSoC_Tools_status&diff=13038&oldid=prevJestar jokin: Notes on defects in descumm2010-02-23T13:30:40Z<p>Notes on defects in descumm</p>
<p><b>New page</b></p><div>Not sure if this is relevant, but I'm aware of two defects in descumm:<br />
<br />
* 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)<br />
* 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)<br />
<br />
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).<br />
--[[User:Jestar jokin|Jestar jokin]] 13:30, 23 February 2010 (UTC)</div>Jestar jokin