Filipe Azevedo
4a51f16874
handle debug info ( #16 )
2022-06-06 15:42:52 +01:00
dependabot[bot]
4713aa760f
Update wasmparser requirement from 0.82 to 0.84 ( #10 )
...
* Update wasmparser requirement from 0.82 to 0.84
Updates the requirements on [wasmparser](https://github.com/bytecodealliance/wasm-tools ) to permit the latest version.
- [Release notes](https://github.com/bytecodealliance/wasm-tools/releases )
- [Commits](https://github.com/bytecodealliance/wasm-tools/compare/wasmparser-0.82.0...wasmparser-0.84.0 )
---
updated-dependencies:
- dependency-name: wasmparser
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Adapt tests to new wasmparser
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
2022-04-07 15:50:15 +02:00
Alexander Theißen
374afe5700
Replace wabt with rust tools ( #5 )
2022-01-30 13:05:07 +01:00
Alexander Theißen
57da96fb50
Consider activation frame for stack height metering ( #2 )
...
* Charge a base cost for calling a function
* Added regression test for empty functions
* Satisfy clippy
2022-01-18 18:04:17 +01:00
Sergey Shulepov
19760b5835
Fix counting of the local variables
...
The code assumed that the number of `Local` and number of locals is the
same thing. In reality though it is not. `Local` actually represents a
group of locals with the same type. The group can declare more than one
variable and the number of them is returned by `Local::count`.
In this PR we acknowledge this fact. Along the way we add a checked
arithmetic for locals_count and max_stack_height summation.
2021-06-09 19:22:40 +02:00