-
Notifications
You must be signed in to change notification settings - Fork 323
WIP: add Wasmi translation invariants checker #1233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
939ee56 to
880f917
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1233 +/- ##
==========================================
- Coverage 81.58% 81.07% -0.51%
==========================================
Files 306 307 +1
Lines 25270 25506 +236
==========================================
+ Hits 20616 20680 +64
- Misses 4654 4826 +172 ☔ View full report in Codecov by Sentry. |
|
The idea of a separate invariants checker pass did not really shape to what was hoped for. |
Closes #1209.
Post-Conditions
ModuleHeaderandEngine.consume_fuelis enabled, noBranchOffset[16]s may be 0.consume_fuelis enabled, allBranchOffset[16]s that jump backwards must target aConsumeFuelinstruction.ConsumeFuelinstructions must consume at least 1 fuel.BranchOffset[16]s must have valid jump destinations within the same function.