开发者

How to check bytes toward the other direction in gdb?

开发者 https://www.devze.com 2023-02-20 12:41 出处:网络
x/4x xxx will c开发者_运维问答heck bytes at higher address than xxx. How to check bytes at lower address ?Just subtract the number of preceding bytes you want from xxx:

x/4x xxx will c开发者_运维问答heck bytes at higher address than xxx.

How to check bytes at lower address ?


Just subtract the number of preceding bytes you want from xxx:

(gdb) x/4x 0x13b3da00
0x13b3da00: 0x004cc630  0x00000000  0x13af3ba0  0x00000000
(gdb) x/4x 0x13b3da00-4
0x13b3d9fc: 0x00000000  0x004cc630  0x00000000  0x13af3ba0
(gdb) x/4x 0x13b3da00-8
0x13b3d9f8: 0x00000000  0x00000000  0x004cc630  0x00000000
0

精彩评论

暂无评论...
验证码 换一张
取 消