<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in fuel_stack_alignment.wat</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>b5627a86 - winch: Sync registers and locals before fuel check (#9554)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/tests/misc_testsuite/winch/fuel_stack_alignment.wat#b5627a86</link>
        <description>winch: Sync registers and locals before fuel check (#9554)* winch: Sync registers and locals before fuel checkThis commit fixes a fuzz bug in which the stack was misaligned whencalling the out-of-fuel builtin function.The misalignment was introduced by a erroneous handling of the thecontrol flow merge introduced by the fuel check conditional. In general,prior to every branch emission, a spill to memory is needed to avoidissues at the control flow merge.Note that we don&apos;t have many cases like this one in Winch&apos;s codebase (3in total), however as a follow-up, it&apos;s probably worth consideringintroducing a stronger abstraction around branching to ensure that thiscase is handled whenever an arbitrary branch needs to be introduced.This change solely focuses on the fix and does not introduce anyrefactoring. I plan to follow-up with investigating a better branchingstrategy, since we would need to introduce a similar pattern for epochhandling.I used `wasm-tools shink` to shrink the original program, whichI decided to add as part of an integration test.* Move the test fixture

            List of files:
            /wasmtime-44.0.1/tests/misc_testsuite/winch/fuel_stack_alignment.wat</description>
        <pubDate>Tue, 05 Nov 2024 18:03:32 +0000</pubDate>
        <dc:creator>Sa&#250;l Cabrera &lt;saulecabrera@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
