问题描述
我使用 python 和 gdb ,例如
(gdb) info frame 0
Stack level 0,frame at 0xb75f7390:
eip = 0x804877f in base::func() (testing.cpp:16); saved eip 0x804869a
called by frame at 0xb75f73b0
source language c++.
Arglist at 0xb75f7388,args: this=0x0
Locals at 0xb75f7388,PrevIoUs frame's sp is 0xb75f7390
Saved registers:
ebp at 0xb75f7388,eip at 0xb75f738c
我想从这个输出中拆分一些值,例如 PrevIoUs frame's sp
,id 可以用聪明的方式做到这一点,但使用正则表达式或拆分吗?
我可以得到像字典一样的输出,以便我可以很容易地用 python 解析它吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)