[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Function to detect Lua state and heap corruption
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 17 Jun 2019 11:08:27 -0300
> Is there any function in Lua or library or any code modification to Lua
> itself, that can be called to verify the Lua state, internal pointers and
> state of the stack and heap at runtime?
You may have a look at 'lua_checkmemory', implemented in the file
'ltests.c' from the test suite [1].
[1] https://www.lua.org/tests/
-- Roberto