-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change memory or register in tracepoint actions #16
Comments
我自己使用的是基于201309150版本做了1个丑陋的patch <
实现以下gdb命令:
tracepoint触发时候,修改内存的内容的如下:
用tracepoint var的方式不是很好用,最好是能在tracepint actions中支持set指令,用类似如下的方式修改寄存器或内存的内容:set $pc = 0xxxxx,set v_inpointer->id = 0x485; 貌似早期版本的kgtp有个patch支持tracepoint 使用printf,这个功能挺方便的,不知道这个功能能否添加到最新版本中? |
厉害!很大的一个功能啊!难道不能用github 的pull request来作么?这样也能更清晰你的贡献啊 关于printf的问题是这样 GDB那边我一直在作PATCH 后来STAN说他也在弄 我就没弄 弄完以后发现他作的一个单独的功能 dprintf |
由于在公司网络管制,git用不了,附件也没法上传。之前贴出来的patch由于特殊字符被转义了没法使用,现在尝试将patch使用base64编码后贴上来 gtp.c.patch:MTM1LDEzOGMxMzUKPCAjaW5jbHVkZSA8YXNtL2NhY2hlZmx1c2guaD4KPCAjaW5jbHVkZSA8YXNt gtp.h.patchMTM4LDE0MGQxMzcKPCAgICAgLypGb3Igc2V0ICRyZXZpc2VfYWRkciAmICRyZXZpc2Vfc2l6ZSov |
如果你确实不能用pull request来弄 能否向我提供一个你的名字和邮件?这样如果需要的话我提交代码可以使用你的信息 另外有什么方式可以和你进行沟通么?邮件或者IM工具之类的? |
不好意思最近比较忙,现在才看到。我的邮件jinsdb@gmail.com. |
http://bbs.chinaunix.net/thread-3750800-1-1.html
The text was updated successfully, but these errors were encountered: