【发布时间】:2015-02-26 06:45:58
【问题描述】:
我正在尝试从我的 iPhone 5s 内存(x64 位)中获取解密的二进制文件,我看到了一些关于 GDB 的教程,但不幸的是我无法使用它,因为我在 arm7 设备上,我尝试过 this solution 但我得到了这个错误:
(lldb) memory read --outfile /tmp/mem.bin --binary 0x1000 0x2000
error: Normally, 'memory read' will not read over 1024 bytes of data.
error: Please use --force to override this restriction just once.
error: or set target.max-memory-read-size if you will often need a larger limit.
当尝试使用 --force 命令时,我收到此错误:
(lldb) memory read --outfile /tmp/mem.bin --binary 0x1000 0x2000 --force
error: memory read failed for 0x1000
然后我尝试更改最大读取大小,但又遇到另一个错误:
(lldb) set set max-memory-read-size 1000000
error: invalid value path 'max-memory-read-size'
(lldb) set append max-memory-read-size 1000000
error: invalid value path 'max-memory-read-size'
还有其他方法可以做到吗,或者我做错了什么?
【问题讨论】: