summaryrefslogtreecommitdiff
path: root/documentation/design.md
diff options
context:
space:
mode:
authorErnesto Lanchares <elancha98@proton.me>2025-03-13 22:51:56 +0000
committerLorenzo Torres <torres@sideros.org>2025-03-14 16:50:59 +0100
commit2818fd14c5f9fcce57e410cd9a03dead5a6e2fe7 (patch)
tree6fd1cd91c4627f1f3dd93b227c01dc1bd4214b40 /documentation/design.md
parent1c3f9702afa0638c386c6217fa57873823567887 (diff)
Fixed wrong calculation of locals size when parsing a wasm binary
The fix involves moving the function leb128Decode over to parser. To me it makes more sense for the function to belong in that module so I think of it as a positive change. However I do not think that returning two values is really necessary. I think a proper solution would be either to parse the code or wrap the stream so we can count how many bytes are readed. Therefore we could use std.leb.readUleb128 which should be less error-prone.
Diffstat (limited to 'documentation/design.md')
0 files changed, 0 insertions, 0 deletions