GDB以错误的格式打印字符串,有点像八进制字符串

时间:2017-05-26 07:41:40

标签: assembly encryption gdb decoding

我在我的gdb中显示字符集:

The host character set is "UTF-8".
The target character set is "UTF-8".
The target wide character set is "auto; currently UTF-32".

但是当我尝试在寄存器中输出一个字符串时

  

p(char *)$ register

我有一个非常奇怪的字符串,很难识别:

  

$ 16 = 0x100001040" A \ 020 \ 021 \ 021 \ 033 \ ndgjhbhnghkb = ejj = h \ 004 \ 005 \ b \ 003 ...

我确信如果字符串纯粹是ascii,那么一切正常。

那么我该怎么做才能得到我想看到的字符串?

0 个答案:

没有答案