4 ms·
> Is it's actually tricking the JIT itself into allowing OOB access, or is it actually OOB'ing the JIT? What's the difference between the two? Many JavaScript
by saagarjha 7y ago
> Is it's actually tricking the JIT itself into allowing OOB access, or is it actually OOB'ing the JIT?
What's the difference between the two? Many JavaScript exploits abuse the interaction between strange features of the language to get around bounds checks (often, because a length was checked but invalidated by later JavaScript executing in an unexpected way, or a bound not forseen as needing a check) leading to an out-of-bounds. And I'm assuming many of these are heap corruptions where someone messes with a length that lets them get out-of-bounds.
- deleted 7y ago[deleted]
- Quekid5 7y agoIt's not much of a difference in terms of consequences, but always-on bounds checking could alleviate OOB'ing the JIT at least.