龙乎 这个你打个断点看下堆栈不就知道了吗,不一定是loadbuffer的啊,loadfile也会最终调用到lua_load,建议你看下对应版本的lua源码吧
感谢,找到其他方法了
龙乎 这个应该是没办法做到的,因为lua_load只是加载运行时所需要用到的脚本,不需要的并不会主动加载,你可以自己注入脚本手动进行加载试试