Skip to content

v2.0

Choose a tag to compare

@github-actions github-actions released this 31 Aug 16:17
· 109 commits to main since this release
9f32804

Added

  • Reimplemented taint propagation from the ground-up, fixing a large amount of bugs and unimplemented aspects particularly around coroutines.
  • Added C and Lua APIs for creating and testing C closures.
  • Added C and Lua APIs for profiling and memory measurement.
  • Added C and Lua APIs for high-precision timers.
  • Added C and Lua APIs for querying and manipulating taint.
  • Added C and Lua APIs for secure random number generation.
  • Added support for the __environment metatable key to getfenv.
  • Added a -p flag to the interpreter to enable performance accounting.
  • Added a -t flag to the interpreter to run inline scripts (-e) or load files insecurely.
    • When this flag is specified, any modules loaded via -l will still be loaded securely.

Changed

  • Build process now requires CMake 3.22 and makes use of CMake presets for common build targets. See README for more information.

Removed

  • Removed the taint field on the lua_Debug to fix potential binary incompatibilities.
  • Removed the "s" field from debug.getinfo. Use debug.getstacktaint() instead.
  • Removed debug.forcesecure(). Use debug.setstacktaint(nil) instead.