2024-03-29 09:59:06 发布
网友
是否可以将指令的结果检索为Python字符串?例如:我可以在python中使用gdb.execute执行“x/I$eip”。我能否获取与Python字符串相同的结果?你知道吗
gdb.execute
是的,请参阅gdb.execute的“to\u string”参数:
str = gdb.execute('some command', to_string = True)
是的,请参阅
gdb.execute
的“to\u string”参数:相关问题 更多 >
编程相关推荐