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
🏗️ Move wasm-smith's non-trapping mode logic to CodeBuilder #769
🏗️ Move wasm-smith's non-trapping mode logic to CodeBuilder #769
Commits on Oct 27, 2022
-
Change CodeBuilder functions to emit multiple instructions
Co-authored-by: Nick Fitzgerald <fitzgen@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1fd44cf - Browse repository at this point
Copy the full SHA 1fd44cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9fc52e - Browse repository at this point
Copy the full SHA a9fc52eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0123e51 - Browse repository at this point
Copy the full SHA 0123e51View commit details -
Don't generate trapping instructions that haven't been handled yet
in non-trapping mode
Configuration menu - View commit details
-
Copy full SHA for 77bc09f - Browse repository at this point
Copy the full SHA 77bc09fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e21bd93 - Browse repository at this point
Copy the full SHA e21bd93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fcf98e - Browse repository at this point
Copy the full SHA 2fcf98eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ec356a - Browse repository at this point
Copy the full SHA 9ec356aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b24907 - Browse repository at this point
Copy the full SHA 2b24907View commit details -
Configuration menu - View commit details
-
Copy full SHA for df12a02 - Browse repository at this point
Copy the full SHA df12a02View commit details -
Handle table and element segments in no-trapping mode
Co-authored-by: Nick Fitzgerald <fitzgen@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1bd49f4 - Browse repository at this point
Copy the full SHA 1bd49f4View commit details -
Fix smoke test for non-trapping mode
It was occasionally running into an 'attempt to multiply with overflow' for 32-bit memories, so we check the value before casting to avoid that.
Configuration menu - View commit details
-
Copy full SHA for c21d147 - Browse repository at this point
Copy the full SHA c21d147View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb29731 - Browse repository at this point
Copy the full SHA bb29731View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f82680 - Browse repository at this point
Copy the full SHA 1f82680View commit details -
Configuration menu - View commit details
-
Copy full SHA for da9a663 - Browse repository at this point
Copy the full SHA da9a663View commit details -
Use ne rather than eq to check for NaN values. NaN can't be checked
for using eq, but it is the only value that is not equal to itself, so ne will work.
Configuration menu - View commit details
-
Copy full SHA for b2a21dd - Browse repository at this point
Copy the full SHA b2a21ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for e90582e - Browse repository at this point
Copy the full SHA e90582eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62c27b3 - Browse repository at this point
Copy the full SHA 62c27b3View commit details -
Explicitly specify the largest/smallest i64 that can be represented as
an f64. This is necessary because `i64::MAX as f64` will result in an f64 value that is not representable by an i64.
Configuration menu - View commit details
-
Copy full SHA for 4fda694 - Browse repository at this point
Copy the full SHA 4fda694View commit details -
As part of our non-trapping logic for load operations, we emit instru…
…ctions that must check if the memory offset plus the size of the type is within the bounds of our memory. In order for us to emit this code, that value must fit in a u64. In the case where the memory offset is u64::MAX, then our rust code panics in trying to generate the wasm due to an attempt to add with overflow. To solve this, I've added an upper bound on our memory offsets for load operations while running in non-trapping mode.
Configuration menu - View commit details
-
Copy full SHA for d091301 - Browse repository at this point
Copy the full SHA d091301View commit details -
Configuration menu - View commit details
-
Copy full SHA for a42cabf - Browse repository at this point
Copy the full SHA a42cabfView commit details
Commits on Nov 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1b35fdb - Browse repository at this point
Copy the full SHA 1b35fdbView commit details
Commits on Nov 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9c9f68b - Browse repository at this point
Copy the full SHA 9c9f68bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dde658 - Browse repository at this point
Copy the full SHA 9dde658View commit details -
Configuration menu - View commit details
-
Copy full SHA for eed452c - Browse repository at this point
Copy the full SHA eed452cView commit details
Commits on Nov 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d2df2f8 - Browse repository at this point
Copy the full SHA d2df2f8View commit details -
Use a ResourceLimiter to prevent libfuzzer from running out of memory.
This was happening with modules that had a large number of memory.grow or table.grow instructions.
Configuration menu - View commit details
-
Copy full SHA for 7ef8bac - Browse repository at this point
Copy the full SHA 7ef8bacView commit details
Commits on Nov 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3a761e6 - Browse repository at this point
Copy the full SHA 3a761e6View commit details
Commits on Nov 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9a1a86f - Browse repository at this point
Copy the full SHA 9a1a86fView commit details