techage_modpack_ru_upd/safer_lua
2024-08-25 19:49:57 +02:00
..
COPYING.txt built on 31/05/2020 22:31:18 2020-05-31 22:31:18 +02:00
data_struct.lua built on 31/05/2020 22:31:18 2020-05-31 22:31:18 +02:00
demo.lua built on 31/05/2020 22:31:18 2020-05-31 22:31:18 +02:00
environ.lua built on 25/08/2024 19:49:57 2024-08-25 19:49:57 +02:00
init.lua built on 25/08/2024 19:49:57 2024-08-25 19:49:57 +02:00
LICENSE.txt built on 31/05/2020 22:31:18 2020-05-31 22:31:18 +02:00
mod.conf built on 06/08/2022 15:09:51 2022-08-06 16:11:31 +02:00
readme.md built on 25/08/2024 19:49:57 2024-08-25 19:49:57 +02:00
scanner.lua built on 31/12/2022 10:51:49 2022-12-31 10:51:49 +01:00

SaferLua [safer_lua]

A subset of the language Lua for safe and secure Lua sandboxes with:

  • limited code length
  • limited execution time
  • limited memory use
  • limited posibilities to call functions

License

Copyright (C) 2018-2022 Joachim Stolberg Code: Licensed under the GNU LGPL version 2.1 or later. See LICENSE.txt
Functions safe_string_rep and safe_string_find (from mesecons) LGPL version 3

Dependencies

none

History

  • 2018-06-24 v0.01 * first draft
  • 2020-03-14 v1.00 * extracted from TechPack and released
  • 2021-11-28 v1.01 * function string.split2 added, unpack removed
  • 2022-12-22 v1.02 * Limit code execution time for recursive function calls (#3 by Thomas--S)
  • 2024-06-19 V1.03 * Add safe variants for strin.rep() and string.find()