lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Sun, Aug 23, 2020 at 6:27 PM Viacheslav Usov wrote:
In a Lua function, there is always enough stack for two
the invocation of a Lua hook function leaves an
artifact on the hooked function's stack frame

Thanks for the explanation.

Given that this technique already requires the debug library, I'd say
there is a far more regular and simpler way to achieve the goal.

The approach discussed here was found inside an obfuscated code.
Simplicity was not the goal, just the opposite.