<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/nanowasm/src/routines/set_local.c, branch master</title>
<subtitle>The tiny WebAssembly interpreter that does not block you.
</subtitle>
<id>https://gitea.privatedns.org/xavi/nanowasm/atom?h=master</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/nanowasm/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/nanowasm/'/>
<updated>2025-11-07T11:18:21+00:00</updated>
<entry>
<title>set_local.c: Fix set_param to valid next</title>
<updated>2025-11-07T11:18:21+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2025-11-07T11:18:21+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/nanowasm/commit/?id=5d633bf6e21af1a6c093433547da65e1d810aa14'/>
<id>urn:sha1:5d633bf6e21af1a6c093433547da65e1d810aa14</id>
<content type='text'>
set_local is meant to write a local variable, while allowing the use of
a caller-defined callback when finished. While this was already
correctly implemented by set_local, set_param was incorrectly calling
nwp_interp_resume instead of the caller-defined callback.

This had the side effect of tee_local not being able to push the value
into the stack when the local index referred to a parameter, thus
causing undefined behaviour.
</content>
</entry>
<entry>
<title>First commit</title>
<updated>2025-11-06T13:38:40+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2024-09-06T22:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/nanowasm/commit/?id=6d9d80362f9932bbc87e162b8ef7df06c73e27e1'/>
<id>urn:sha1:6d9d80362f9932bbc87e162b8ef7df06c73e27e1</id>
<content type='text'>
</content>
</entry>
</feed>
