【发布时间】:2023-02-26 04:37:28
【问题描述】:
当我使用 GDB 调试时,我可以打印字符串:
x/s $r0
输出是
IDog123456
我想更改值,所以当我打印 x/s $r0 时,我会看到
ICat45555
我试过:
set $r0+1 ={int} 0x43617434 #Cat4
set $r0+5 ={int} 0x35353535 #5555
但它不起作用,没有 malloc 我怎么能做到这一点?请仅使用十六进制字符串?
【问题讨论】:
标签: debugging arm gdb remote-debugging cpu-registers