ECMAscript arrays

This wrapper aims on prevention of microarchitectural attacks like Meltdown and Spectre. This code was originally a part of ChromeZero.

Known bug: The subarray() method always ruturns the full array.

The wrappers support the following behaviour:

  • Offset: The content of the buffer is shifted by a fix offset. This is a faster method but can be removed.
  • Random mapping: All items are mapped randomly. This is a slower method but more reliable.

\see, especially Sect. 5.1