drago 发表于 2021-8-3 20:18:02

lldb foff命令 脚本报错

    print >>result, ("FileOffset: 0x%.8x"%offset)
TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and 'SBCommandReturnObject'. Did you mean "print(<message>, file=<output_stream>)"?

飘云 发表于 2021-8-4 00:16:13

现在Python3了,改改那个print的语法就可以了

drago 发表于 2021-8-4 10:28:48

明白了,感谢
页: [1]
查看完整版本: lldb foff命令 脚本报错