Skip to content

cranelift: Prevent overflow errors in interpreter for add,sub,mul - #3043

Merged
abrown merged 1 commit into
bytecodealliance:mainfrom
afonso360:interpreter-no-overflow
Jun 30, 2021
Merged

cranelift: Prevent overflow errors in interpreter for add,sub,mul#3043
abrown merged 1 commit into
bytecodealliance:mainfrom
afonso360:interpreter-no-overflow

Conversation

@afonso360

Copy link
Copy Markdown
Contributor

Hey,

In #3038 we had to disable all overflow checks in order for the fuzzer to work.
This PR performs the correct operations (which don't cause overflows) in the interpreter so that we can keep working on the fuzzer without special settings.

I expect us to keep improving the implementation of the interpreter as we move the fuzzer along, and this is a first step of that.

@github-actions github-actions Bot added the cranelift Issues related to the Cranelift code generator label Jun 30, 2021

@abrown abrown left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@abrown
abrown merged commit a4770a7 into bytecodealliance:main Jun 30, 2021
@afonso360
afonso360 deleted the interpreter-no-overflow branch September 2, 2021 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants