You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds three new FuzzIL operations:
v3 <- LoadNamedVariable 'foo'
StoreNamedVariable 'bar' <- v1
DefineNamedVariable 'baz' <- v2
These are lifted, respectively, to:
const v3 = foo;
bar = v1;
var baz = v2;
This now makes a few things possible:
- The use of the 'var' keyword
- Triggerring variable hoisting (if a LoadNamedVariable happens before a
DefineNamedVariable)
- Use of global variables (if a named variable is loaded/stored but
never defined)
- Access to object properties inside a `with` statement (this previously
required LoadFromScope/StoreToScope, which are now gone)
0 commit comments