7 ms·
This is fascinating. I wonder if this issue exists in Lua5.2+, where there is no jit and `load` is able to restrict used environment.
by girvel 2y ago
This is fascinating. I wonder if this issue exists in Lua5.2+, where there is no jit and `load` is able to restrict used environment.
- deleted 2y ago[deleted]
- myrmidon 2y agoYes, exists. Here is an example for 5.2: https://ia903205.us.archive.org/15/items/ARMArchitectureReferenceManual/EscapingTheLua5.2SandboxWithUntrustedBytecode.pdf https://ia903205.us.archive.org/15/items/ARMArchitectureRefe...