- 论坛徽章:
- 9
|
amarant 发表于 2014-09-10 11:16 ![]()
qemu有命令直接看物理地址
先按alt+ctrl+2 进入qemu的调试界面,好像是xp指令可以直接看物理地址的内容
正解!
详情请见:
http://en.wikibooks.org/wiki/QEMU/Monitor
http://www.ibm.com/developerworks/cn/linux/l-cn-qemu-monitor/
xp[edit]
x /format address
Displays memory at the specified physical address using the specified format.
format: Used to specify the output format the displayed memory. The format is broken down as /[count][data_format][size]
count: number of item to display (base 10)
data_format: 'x' for hex, 'd' for decimal, 'u' for unsigned decimal, 'o' for octal, 'c' for char and 'i' for (disassembled) processor instructions
size: 'b' for 8 bits, 'h' for 16 bits, 'w' for 32 bits or 'g' for 64 bits. On x86 'h' and 'w' can select instruction disassembly code formats.
address:
Direct address, for example: 0x20000
Register, for example: $eip |
|