问题描述
我正在练习反转一个剥离的二进制程序(我写的),发现当我在断言0x010451
上设置一个断点并运行程序时,gdb会一直旋转直到我按下ctrl + c为止。当我这样做时,当前PC位于该地址,但是我无法继续执行该程序。
当我将断点设置为0x010450
时,gdb可以很好地达到断点,但是指令将被解码为非拇指指令。
这是预期的吗?有毛病吗我将在今天晚些时候尝试上传示例。
版本信息(在qemu用户模式仿真下):
debian@debian-arm:~/lab$ gdb --version
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
copyright (C) 2018 Free Software Foundation,Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY,to the extent permitted by law.
debian@debian-arm:~/lab$ uname -a
Linux debian-arm 4.19.0-10-armmp-lpae #1 SMP Debian 4.19.132-1 (2020-07-24) armv7l GNU/Linux
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)