我完成了对C++的用户态追踪,这是因为C++生成的可执行文件包含调试信息。但是lua和php我都没做到,有大佬知道该怎么做吗?
Lua 本身就是动态语言,你还需要什么调试信息啊?
可以用 debug库的 sethook 试试
发件人:
"open...@googlegroups.com" <open...@googlegroups.com>
代表 "op1125...@gmail.com" <op1125...@gmail.com>
答复:
"open...@googlegroups.com" <open...@googlegroups.com>
日期:
2018年12月14日
星期五
下午6:41
收件人:
openresty <open...@googlegroups.com>
主题:
[openresty] Re: Systemtap
如何对lua、php进行用户态追踪
在 2018年12月3日星期一 UTC+8上午10:19:01,op1125...@gmail.com写道:
我完成了对C++的用户态追踪,这是因为C++生成的可执行文件包含调试信息。但是lua和php我都没做到,有大佬知道该怎么做吗?
--
--
邮件来自列表“openresty”,专用于技术讨论!
订阅: 请发空白邮件到 openresty...@googlegroups.com
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+...@googlegroups.com
归档:
http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库:
https://github.com/agentzh/ngx_openresty
教程:
http://openresty.org/download/agentzh-nginx-tutorials-zhcn.html
function max(num1, num2) if (num1 > num2) then result = num1; else result = num2; end return result; end print("两值比较最大值为 ",max(1,2))