You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a really really clever design to integrate LuaJIT. If I'm reading this correctly, essentially you're finding the function addresses for the lua API functions (even if these aren't exported) and you're hot patching these with trampoline jumps to redirect them into your own runtime.
I think it may be helpful for interested readers and potential contributors to elaborate on the larger design/architecture of how you accomplish this, and the types of tradeoffs you have encountered.
For example, how do you find the offsets of these API functions?
The text was updated successfully, but these errors were encountered:
This is a really really clever design to integrate LuaJIT. If I'm reading this correctly, essentially you're finding the function addresses for the lua API functions (even if these aren't exported) and you're hot patching these with trampoline jumps to redirect them into your own runtime.
I think it may be helpful for interested readers and potential contributors to elaborate on the larger design/architecture of how you accomplish this, and the types of tradeoffs you have encountered.
For example, how do you find the offsets of these API functions?
The text was updated successfully, but these errors were encountered: