Repository navigation
fix: shared-global machinery and wrapper names under observation - #436
Merged
Merged
Conversation
…bservation Shared globals from other inputs now stop stamping, decoding, legacy array lifting, dead alias and protection removal in both lanes. A root wrapper function is kept when the program tests or lists global names, judged again at the stage end. Observation is recorded past a reach, a reach at removal counts as an observation, and dropping a later speculation keeps an earlier obligation. README: Annex B item in the --unsafe premise.
…es with the shared-global and observation checks
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes from review r3-a35r5 and r3-a42r2.
is_shared_global, using the original names.in,hasOwnProperty,Object.hasOwn,Reflect.has,Object.keys, ...). The default lane judges this with observation. Inside a stage the observation is deferred and judged again at the stage end, so encoded keys do not block decoding.drop_layereddrops only the latest speculation of a token. Unit test added.--unsafepremise now has the Annex B item, and the multi-input premise says machinery is kept in both lanes.Gates: the obfuscator-io, obfuscator-versions and relayer BASELINEs are byte-equal. The game and Krunker samples give identical output in default,
--unsafeand--rename smart; instructions are within ±0.1%, except Krunker 0.20 (+1.1%) and 2.6.9 (+0.9%) in default and smart. The wasm baseline moves to 14,365,000 for 15,797,167 bytes (+4.3 KB). Local untwist-ci is green.