meir
11b602fbf8
Protect any table which is reachable from globals and added globals allow list.
...
The allow list is done by setting a metatable on the global table before initializing
any library. The metatable set the `__newindex` field to a function that check
the allow list before adding the field to the table. Fields which is not on the
allow list are simply ignored.
After initialization phase is done we protect the global table and each table
that might be reachable from the global table. For each table we also protect
the table metatable if exists.
2022-04-27 16:31:52 +03:00
..
2014-11-14 17:08:33 +01:00
2014-11-14 17:08:44 +01:00
2022-04-27 16:31:52 +03:00
2011-05-25 12:32:43 +02:00
2020-09-29 17:10:54 +03:00
2011-05-25 12:32:43 +02:00
2013-04-29 12:00:54 +02:00
2013-04-29 12:00:54 +02:00
2011-05-25 12:32:43 +02:00
2013-04-29 12:00:54 +02:00
2022-04-27 16:31:52 +03:00
2011-05-25 12:32:43 +02:00
2020-09-29 17:10:54 +03:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2013-04-29 12:00:54 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2013-04-29 12:00:54 +02:00
2013-04-29 12:00:54 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2013-04-29 12:00:54 +02:00
2011-05-25 12:32:43 +02:00
2022-04-27 16:31:52 +03:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2013-04-29 12:00:54 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2013-04-29 12:00:54 +02:00
2022-04-27 16:31:52 +03:00
2011-05-25 12:32:43 +02:00
2020-09-29 17:10:54 +03:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2014-10-09 11:51:30 -04:00
2014-11-14 17:16:23 +01:00
2018-06-13 12:40:33 +02:00
2020-02-10 16:32:46 +09:00
2011-05-25 12:32:43 +02:00
2022-04-27 16:31:52 +03:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2022-04-27 16:31:52 +03:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2011-05-25 12:32:43 +02:00
2014-11-14 17:10:48 +01:00
2011-05-25 12:32:43 +02:00
2014-11-14 17:08:33 +01:00
2014-11-14 17:08:33 +01:00